Skip to main content

Convert your NLP text data to arrays!

Project description


Convert your NLP text data to arrays!

Python versions PyPI project Build status Documentation status Code coverage License Built with Spacemacs

text2array helps you process your NLP text dataset into Numpy ndarray objects that are ready to use for e.g. neural network inputs. text2array handles data shuffling, batching, padding, and converting into arrays. Say goodbye to these tedious works!


Pull requests are welcome! To start contributing, first install flit.

pip install flit

Next, install this library and its dependencies in development mode.

flit install --symlink

Lastly, setup the pre-commit hook.

ln -s ../../ .git/hooks/pre-commit

Tests, the linter, and the type checker can be run with pytest, flake8, and mypy respectively.


Apache License, Version 2.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for text2array, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size text2array-0.2.0-py3-none-any.whl (15.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size text2array-0.2.0.tar.gz (23.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page