Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 and the linter can be run with pytest and flake8 respectively. The latter also runs mypy for type checking.


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.1.0
Filename, size File type Python version Upload date Hashes
Filename, size text2array-0.1.0-py3-none-any.whl (35.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size text2array-0.1.0.tar.gz (22.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page