BSD Ports

textproc/py-guess-language 0.2_1 DragonFly

Guess the natural language of a text in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL21+
Categories
python, textproc
Package size
74.0 KiB, 292.8 KiB installed

Description

Attempts to determine the natural language of a selection of Unicode (utf-8) text. Based on guesslanguage.cpp by Jacob R Rideout for KDE which itself is based on Language::Guess by Maciej Ceglowski. Detects over 60 languages, all languages listed in the trigrams directory plus Japanese, Chinese, Korean and Greek.

In the other systems

SystemPortVersion
DragonFlytextproc/py-guess-language0.2_1
FreeBSDtextproc/py-guess-language0.2_1
HardenedBSDtextproc/py-guess-language0.2_1
GhostBSDtextproc/py-guess-language0.2_1

Install

Binary package:

pkg install py311-guess-language

From DPorts:

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

Dependencies

Run dependencies 1

No port depends on this one.