BSD Ports

textproc/py-guess-language 0.2_1 FreeBSD

Guess the natural language of a text in Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21+
Categories
textproc, python
Package size
86.2 KiB, 287.7 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
FreeBSDtextproc/py-guess-language0.2_1
DragonFlytextproc/py-guess-language0.2_1

Install

Binary package:

pkg install py312-guess-language

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-guess-language>0:textproc/py-guess-language

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2_10.2_10.20.2_10.2_1
FreeBSD:14:quarterly0.2_10.2_1n/a0.2_10.2_1
FreeBSD:15:latest0.2_10.2_1n/a0.2_10.2_1
FreeBSD:15:quarterly0.2_10.2_1n/an/an/a
FreeBSD:16:latest0.2_10.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
guess-language-0.2.tar.gz98949b31ba2a279b8e6a19e9aa2f8e21c5fc4a56cd5557aea3f806cba73ecf38696e7
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.