skillfed

polyglot

Polyglot is a natural language pipeline that supports massive multilingual applications.

polyglot v16.7.4 91.2K downloads/30d#13,531 on PyPI2,362
Copyleft license GPLv3 DORMANT released

What it is and what it does

Polyglot is a multilingual natural language processing library that wraps language models and linguistic algorithms to perform common NLP tasks across many languages. It provides a unified interface for tokenization, language detection, named entity recognition, part-of-speech tagging, sentiment analysis, word embeddings, morphological analysis, and transliteration. The package supports between 16 and 196 languages depending on the task.

The library works by loading pre-trained models for each language and task, then exposing them through a simple Python API. You instantiate a Text object with a string, and then access properties like `.language`, `.words`, `.sentences`, `.pos_tags`, `.entities`, and `.polarity` to retrieve annotations. Individual words can be examined for embeddings, morphemes, and transliteration. However, the package has not been actively maintained since 2016-07-03, and installation requires downloading external model data, which may present compatibility or availability challenges.

Use it for:

  • Detect the language of user-submitted text to route it to language-specific processing pipelines.
  • Extract named entities (people, locations, organizations) from multilingual documents for information extraction.
  • Perform sentiment analysis on social media posts or reviews in languages other than English.
  • Tokenize and tag parts of speech in non-English text for downstream linguistic analysis or machine learning.
  • Transliterate text between writing systems (e.g., English to Cyrillic) for cross-script applications.
  • Generate word embeddings for multilingual semantic similarity or clustering tasks.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Polyglot is a multilingual natural language processing pipeline that performs tokenization, language detection, named entity recognition, part-of-speech tagging, sentiment analysis, word embeddings, morphological analysis, and transliteration across many languages.

No—not for new projects. The package is dormant (last release 2016-07-03), classified as Beta, and carries high install friction due to external model dependencies. Maintenance status is unclear, and compatibility with modern Python versions is unverified. For current multilingual NLP work, consider actively maintained alternatives.

Install

polyglot on PyPI

pip

pip install polyglot

uv

uv add polyglot

poetry

poetry add polyglot

Installing polyglot

Before you install

Installation friction is high; the package has been dormant since 2016-07-03 and carries no runtime dependencies, suggesting it may require manual model downloads or system-level setup to function. Beta status and age raise questions about compatibility with current Python versions.

License in practice

GPLv3 is a copyleft license; any derivative work or modification must also be licensed under GPLv3, and distribution of the package in a proprietary application may require source disclosure or licensing negotiation.

Quickstart

import polyglot
from polyglot.text import Text, Word

text = Text("Bonjour, Mesdames.")
print(text.language.code, text.language.name)
print(text.words)
print(text.pos_tags)

Model data must be downloaded separately; the package itself has no runtime dependencies but requires external language models to function.

Verify before relying

  • Whether model downloads work with current mirror or if Stony Brook DSL lab mirror is still active.
  • Python 3.4+ compatibility status; classifiers list Python 3.4 but package is dormant since 2016.
  • Whether high install friction is due to compiled dependencies or model data requirements.
  • Current maintenance status and whether the GitHub repository accepts issues or pull requests.

Package facts

License GPLv3 (copyleft)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance dormant — 3,694 days since the last release
Last repo commit
First released
Downloads 91,223/month — #13,531 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: polyglot-16.7.4.tar.gz

Keywords: polyglot

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Natural Language :: AfrikaansNatural Language :: ArabicNatural Language :: BengaliNatural Language :: BosnianNatural Language :: BulgarianNatural Language :: CatalanNatural Language :: Chinese (Simplified)Natural Language :: Chinese (Traditional)Natural Language :: CroatianNatural Language :: CzechNatural Language :: DanishNatural Language :: DutchNatural Language :: EnglishNatural Language :: EsperantoNatural Language :: FinnishNatural Language :: FrenchNatural Language :: GalicianNatural Language :: GermanNatural Language :: GreekNatural Language :: HebrewNatural Language :: HindiNatural Language :: HungarianNatural Language :: IcelandicNatural Language :: IndonesianNatural Language :: ItalianNatural Language :: JapaneseNatural Language :: JavaneseNatural Language :: KoreanNatural Language :: LatinNatural Language :: LatvianNatural Language :: MacedonianNatural Language :: MalayNatural Language :: MarathiNatural Language :: NorwegianNatural Language :: PanjabiNatural Language :: PersianNatural Language :: PolishNatural Language :: PortugueseNatural Language :: Portuguese (Brazilian)Natural Language :: RomanianNatural Language :: RussianNatural Language :: SerbianNatural Language :: SlovakNatural Language :: SlovenianNatural Language :: SpanishNatural Language :: SwedishNatural Language :: TamilNatural Language :: TeluguNatural Language :: ThaiNatural Language :: TurkishNatural Language :: UkranianNatural Language :: UrduNatural Language :: VietnameseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Text Processing :: Linguistic

Tags

multilingual NLP pipelinelanguage detection multiple languagesnamed entity recognition NLPpart of speech taggingsentiment analysis multilingualword embeddings translationmorphological analysis
multilingual-nlpdormant-unmaintained

More Artificial Intelligence packages