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!

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

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file text2array-0.2.1.tar.gz.

File metadata

  • Download URL: text2array-0.2.1.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.23.0

File hashes

Hashes for text2array-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cbd276b5479ea046b751d273b5b21dfc1201ba9753894c72e70dafbc0e0cf6a4
MD5 8ad00435102b2a1bb8d40fcbed95af78
BLAKE2b-256 391f834f44603d590346d30746d2267fe39c5fbc0b1253da143b17fb01659a04

See more details on using hashes here.

File details

Details for the file text2array-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: text2array-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.23.0

File hashes

Hashes for text2array-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a285ac80cf861f7857a88abf58fe2a9ed900da0aa6c65e92bd51dc094b9ecfe1
MD5 dbbfde188a1d301ba8e428ab863927b1
BLAKE2b-256 f53450fc44ca5377b6708b91ec2267db09679f5165acb54719187be4c529e221

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page