LanguageFlow
Data loaders and abstractions for text and NLP
Requirements
Install dependencies
$ pip install future, tox
$ pip install python-crfsuite==0.9.5
$ pip install Cython
$ pip install -U fasttext --no-cache-dir --no-deps --force-reinstall
$ pip install xgboost==0.82
Installation
$ pip install languageflow
Components
Transformers: NumberRemover, CountVectorizer, TfidfVectorizer
Models: SGDClassifier, XGBoostClassifier, KimCNNClassifier, FastTextClassifier, CRF
Data
Download a dataset using download command
$ languageflow download DATASET
List all dataset
$ languageflow list
Datasets
The datasets module currently contains:
Tagged: VLSP2018-NER, VTB-CHUNK*, VLSP2016-NER*, VLSP2013-POS*, VLSP2013-WTK*
Categorized: AIVIVN2019_SA*, VLSP2018_SA*, UTS2017_BANK, VLSP2016_SA*, VNTC
Plaintext: VNESES, VNTQ_SMALL, VNTQ_BIG
Caution (*): With closed license dataset, you must provide URL to download
Example
Download UTS2017_BANK dataset
$ languageflow download UTS2017_BANK
Use UTS2017_BANK dataset
>>> from languageflow.data_fetcher import DataFetcher, NLPData
>>> corpus = DataFetcher.load_corpus(NLPData.UTS2017_BANK_SA)
>>> print(corpus)
CategorizedCorpus: 1780 train + 197 dev + 494 test sentences
History
1.1.7 (2018-04-12)
Automatic deploy with travis and pypi
Fix dependencies hell
1.1.6 (2017-12-26)
Add data module to handle data downloading and data preprocessing
Add many new models: SGDClassifier, XGBoostClassier, FastTextClassifier, CRF
Add new feature: LanguageBoard
Automatic continuous integration with travis-ci
Build docs with readthedocs.org
1.1.5 (2017-12-11)
Refactor project to integrate with underthesea experiment
0.1.0 (2017-09-18)
First release on PyPI.
Metadata
Release files for languageflow 1.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| languageflow-1.1.13.tar.gz | 481.3 kB | Without provenance | Details for languageflow-1.1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| languageflow-1.1.13-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for languageflow-1.1.13-py2.py3-none-any.whl |
Total release size: 938.9 kB
Release files / languageflow-1.1.13.tar.gz
| Download URL | languageflow-1.1.13.tar.gz |
|---|---|
| Size | 481.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8853231aead03fa4d548180589e37c64c6cf35ea1d299a6bf957e84855d7ab58
|
|
BLAKE2b-256 checksum How to use checksums |
440b4629af839dd9a2a6a2e55244269e27defdf3017dc880e2274751c3a3b681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / languageflow-1.1.13-py2.py3-none-any.whl
| Download URL | languageflow-1.1.13-py2.py3-none-any.whl |
|---|---|
| Size | 457.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fc7d978d1c9711a650f0df74bd20b7a50d86faa9e2c00ac938952917ee2041ad
|
|
BLAKE2b-256 checksum How to use checksums |
abc0905a59c133936f45684b8d3e76119ffbc92787bb320d3dba9e4d7da12d8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Security for languageflow 1.1.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.