BSD Ports

textproc/py-lingua-language-detector 2.2.0_4 DragonFly

Accurate natural language detection library for long and short text

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
python, textproc
Package size
132540.3 KiB, 297636.4 KiB installed

Description

Lingua is an accurate natural language detection library for Python, suitable for both short snippets and long texts. It detects 75 languages and goes beyond simple rule-based or statistical approaches by using a rich set of language models.

Features:

  • Supports 75 languages
  • High accuracy for short and ambiguous texts
  • Distinction between similar languages (e.g., Norwegian Bokmal and Nynorsk)
  • Confidence values for each detected language
  • Optional filtering to a subset of supported languages
  • Fast detection performance

In the other systems

The newest version among them is 2.2.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-lingua-language-detector2.2.0_4 newestnone known-[email protected]-
FreeBSDtextproc/py-lingua-language-detector2.2.0_5 newestnone known-[email protected]2026-10-14
HardenedBSDtextproc/py-lingua-language-detector2.2.0_5 newestno data-[email protected]-
GhostBSDtextproc/py-lingua-language-detector2.2.0_5 newestno data-[email protected]-

Version history 1

  1. 2.2.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-lingua-language-detector

From DPorts:

cd /usr/dports/textproc/py-lingua-language-detector && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.