← All projects
Developer building blocks

Flair

A Python library for finding names, places and sentiment in text, in many languages.

Research-backed

What it does

Flair is a toolkit for natural language processing, getting computers to understand text. It comes with ready-trained models that can spot names of people, places and organisations, judge whether text is positive or negative, and tag parts of speech, in many languages and with special support for biomedical text.

It also lets researchers combine different ways of turning words into numbers and train their own models. It was developed at Humboldt University of Berlin and others.

Who it's for

Developers and researchers working with text.

Can I use it without coding?

Developers only. A Python library. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Computer
An ordinary computer is fine
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • No standard license listed. Check the GitHub page before using it for business.
  • More on staying safe

Where people are talking about it