Skip to main content

Convert your NLP text data to arrays!

Project description

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!

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

Project details


Download files

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

Source Distribution

text2array-0.2.1.tar.gz (23.8 kB view hashes)

Uploaded source

Built Distribution

text2array-0.2.1-py3-none-any.whl (15.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page