Convert your NLP text data to arrays!


Keywords
deep-learning, natural-language-processing, neural-networks, numpy
License
Apache-2.0
Install
pip install text2array==0.0.9

Documentation

text2array

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!

Documentation

https://text2array.readthedocs.io

Contributing

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 ../../pre-commit.sh .git/hooks/pre-commit

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

License

Apache License, Version 2.0