Annotates corpuses for use in FastText over a Command Line Interface.
Raison D'être 💭
This allows a large corpus to be annotated easily using a command line interface for purposes of being used in a FastText supervised classifier.
Architecture 📐
fasttext-annotator has a very simple architecture that basically reads each line of the file fed to it, and asks the user for an annotation given the options provided to it via the command line.
Dependencies 🌐
Installation 📥
You can install this via the PyPi package manager, or manually.
Manually
- Run
python setup.py --install
Via Pypi
- Run
pip install fasttextannotator
Usage example 👀
In order to annotate a corpus of text, execute the following:
fasttextannotator [corpus-file] [output-file] [labels...]
You will then be presented with a line of text from the corpus, and a range of options based on the labels you provided.
License 📝
The project is available under the MIT license.
Acknowledgements
- Icon in README banner is text by Chameleon Design from the Noun Project.
Metadata
Release files for fasttextannotator 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fasttextannotator-1.0.0-py2.7.egg | Legacy Egg format | - | - | Details for fasttextannotator-1.0.0-py2.7.egg |
Release files / fasttextannotator-1.0.0-py2.7.egg
| Download URL | fasttextannotator-1.0.0-py2.7.egg |
|---|---|
| Size | 4.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
461ecfbdd918fd2164250a32e929c3fbb32c4f3eaca5dee6d093070f3c9d5404
|
|
BLAKE2b-256 checksum How to use checksums |
8ed586cb0face32cfa1096deab1612b866ef0360ae57f9a3f5dd1c03c30967f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
|
Security for fasttextannotator 1.0.0
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.