Usage

Flair is:

  • A powerful NLP library. Flair allows you to apply our state-of-the-art natural language processing (NLP) models to your text, such as named entity recognition (NER), part-of-speech tagging (PoS), special support for biomedical data, sense disambiguation and classification, with support for a rapidly growing number of languages.

  • A text embedding library. Flair has simple interfaces that allow you to use and combine different word and document embeddings, including the proposed Flair embeddings, BERT embeddings and ELMo embeddings.

  • A PyTorch NLP framework. The framework builds directly on PyTorch, making it easy to train your own models and experiment with new approaches using Flair embeddings and classes.