https://github.com/kmkurn/text2array
Python library to convert text dataset into arrays.
https://github.com/kmkurn/text2array
deep-learning natural-language-processing neural-networks numpy
Last synced: about 1 month ago
JSON representation
Python library to convert text dataset into arrays.
- Host: GitHub
- URL: https://github.com/kmkurn/text2array
- Owner: kmkurn
- License: apache-2.0
- Created: 2019-01-27T13:55:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T19:44:22.000Z (about 2 years ago)
- Last Synced: 2025-02-19T09:32:23.210Z (over 1 year ago)
- Topics: deep-learning, natural-language-processing, neural-networks, numpy
- Language: Python
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
text2array
==========
*Convert your NLP text data to arrays!*
.. image:: https://img.shields.io/pypi/pyversions/text2array.svg?style=flat
:target: https://img.shields.io/pypi/pyversions/text2array.svg?style=flat
:alt: Python versions
.. image:: https://img.shields.io/pypi/v/text2array.svg?style=flat
:target: https://pypi.org/project/text2array
:alt: PyPI project
.. image:: https://github.com/kmkurn/text2array/actions/workflows/run_tests.yml/badge.svg
:target: https://github.com/kmkurn/text2array/actions/workflows/run_tests.yml
:alt: Build status
.. image:: https://img.shields.io/readthedocs/text2array.svg?style=flat
:target: https://text2array.readthedocs.io
:alt: Documentation status
.. image:: https://img.shields.io/coveralls/github/kmkurn/text2array.svg?style=flat
:target: https://coveralls.io/github/kmkurn/text2array
:alt: Code coverage
.. image:: https://img.shields.io/pypi/l/text2array.svg?style=flat
:target: https://www.apache.org/licenses/LICENSE-2.0
:alt: License
.. image:: https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg
:target: http://spacemacs.org
:alt: 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
.. _flit: https://pypi.org/project/flit/