Biome-text is a light-weight open source Natural Language Processing toolbox built with AllenNLP
Project description
Natural Language Processing library built with AllenNLP
Quick Links
Features
-
State-of-the-art and not so state-of-the-art models trained with your own data with simple workflows.
-
Exploration UI for error analysis with interpretations.
-
Efficient data reading for (large) datasets in multiple formats and sources (CSV, Parquet, JSON, Elasticsearch, etc.).
-
Modular configuration and extensibility of models, datasets and training runs programmatically or via config files.
-
Use via
cli
or as plain Python (e.g., inside a Jupyter Notebook) -
Compatible with AllenNLP
Installation
You can install biome.text with pip or from source.
Pip
The recommended way for installing the library is using pip. You can install everything required for the library as follows:
pip install biome-text
Install from Source
To install biome-text from source, clone the repository from github:
git clone https://github.com/recognai/biome-text.git
cd biome-text
python -m pip install .[testing]
Then you must build static web resources for the explore UI to work:
cd ui
npm install
npm run build
Note: node>=12 is required in your machine. You can follow installation instructions here
If the make
command is enabled in your system, you can use make dev
directive:
make dev
And make ui
for building static web resources needed for the explore UI method to work:
make ui
You can see all defined directives as follow:
make help
Test
Test biome-text with pytest
cd biome-text
pytest
Licensing
The code in this project is licensed under Apache 2 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for biome_text-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa7663e9997a11f795d13103c7ac914e7f1a764e177c41be29287aa63091a31 |
|
MD5 | 460cf0e5f6efa2e10987b0b907374d69 |
|
BLAKE2b-256 | 4a1b1b09ce5bbae227f610f80627daadde77dc30d87762a7db8f495ad548a38b |