OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Anago

Anago is an open-source Python library implemented with Keras for training, evaluating and applying sequence-labeling models, including named-entity recognition, part-of-speech tagging and semantic role labeling.

Independent OpenViST project profile, based on linked sources.

Anago — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Anago when you want a Python library workflow for training or applying sequence-labeling models from labeled examples, or for loading pretrained weights to process text.

Who it is for

  • Python developers building NLP workflows that need sequence labels.
  • Researchers or practitioners preparing labeled text to train and evaluate tagging models.

Documented uses

  • Train a named-entity recognition model from labeled text.
  • Add part-of-speech tagging or semantic role labeling to a text-processing workflow.
  • Evaluate sequence-labeling results with the library's scoring method.
  • Apply loaded model weights to label new text.
Before you choose

Requirements & limits

The repository is public and identifies the project as MIT-licensed. The README documents installation through pip or from source and states official support for Python 3.4–3.6.

  • The documented language and framework are Python and Keras.
  • The README lists named-entity recognition, part-of-speech tagging and semantic role labeling.
  • The basic model exposes fit, score, analyze, save and load methods.
  • Pretrained-weight loading and optional ELMo processing are documented.
  • The README says further documentation is forthcoming.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train and evaluate a sequence-labeling model

Prepare labeled examples, fit Anago's basic Sequence model and score it on test data.

Before you start

  • Python; the README states official support for Python 3.4–3.6.
  • Anago installed with pip or from the repository.
  • Training and test files containing token sequences with corresponding labels.

Steps

  1. Load the training and test sequences and labels with load_data_and_labels.

  2. Create a model with anago.Sequence() and train it with fit(x_train, y_train, epochs=15).

  3. Evaluate it with model.score(x_test, y_test); the README identifies the reported measure as F1-micro.

Expected outcome

A trained sequence-labeling model and an F1-micro evaluation score.

Guide limitations

  • The README notes that pretrained word embeddings are needed for better performance.
  • The documented Python support is 3.4–3.6.
Source-based practical guide

Apply pretrained weights to label new text

Load a pretrained model and use it to score test examples or analyze new text.

Before you start

  • Anago installed in a Python environment.
  • A pretrained model archive at a usable URL; the README demonstrates a CoNLL-2003 English model.
  • Test examples if evaluating the loaded model.

Steps

  1. Use anago.utils.download with the pretrained archive URL to retrieve weights, parameters and a preprocessor.

  2. Load the model with anago.Sequence.load(weights, params, preprocessor).

  3. Call score with test data to evaluate, or analyze with new text to obtain word and entity labels.

Expected outcome

A loaded model that can score labeled test data or return sequence labels for supplied text.

Guide limitations

  • The example uses a particular English CoNLL-2003 archive; the README does not establish coverage for other pretrained models.
  • The README states Python 3.4–3.6 support.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
Hironsan/anago · Official homepage title · retained in its source language