BSD Ports

textproc/py-langid 1.1.6.20170715_4 FreeBSD

Standalone Language Identification (LangID) tool

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
textproc, devel, python
Package size
1867.3 KiB, 7450.9 KiB installed

Description

langid.py is a standalone Language Identification (LangID) tool.

The design principles are as follows:

Fast
Pre-trained over a large number of languages (currently 97)
Not sensitive to domain-specific features (e.g. HTML/XML markup)
Single .py file with minimal dependencies
Deployable as a web service

Remark: the main script langid/langid.py is cross-compatible with both Python2 and Python3, but the accompanying training tools are still Python2-only, hence not installed by this port.

See also the port textproc/py-langdetect for a similar program.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-langid1.1.6.20170715_4
DragonFlytextproc/py-langid1.1.6.20170715_2

Install

Binary package:

pkg install py312-langid

From the ports tree:

cd /usr/ports/textproc/py-langid/ && make install clean

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

RUN_DEPENDS=	py312-langid>0:textproc/py-langid

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:latest1.1.6.20170715_41.1.6.20170715_4-1.1.6.20170715_21.1.6.20170715_4
FreeBSD:14:quarterly1.1.6.20170715_41.1.6.20170715_4n/a1.1.6.20170715_21.1.6.20170715_4
FreeBSD:15:latest1.1.6.20170715_41.1.6.20170715_4n/a1.1.6.20170715_21.1.6.20170715_2
FreeBSD:15:quarterly1.1.6.20170715_41.1.6.20170715_4n/an/an/a
FreeBSD:16:latest1.1.6.20170715_41.1.6.20170715_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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

Build dependencies 18
Run dependencies 16

Configuration

No options to configure.

USES
python shebangfix
Service scripts
none

Files

pkg-plist 23
  • bin/langid
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/PKG-INFO
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/SOURCES.txt
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/dependency_links.txt
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/entry_points.txt
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/not-zip-safe
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/requires.txt
  • %%PYTHON_SITELIBDIR%%/langid-1.1.6-py.egg-info/top_level.txt
  • %%PYTHON_SITELIBDIR%%/langid/__init__.py
  • %%PYTHON_SITELIBDIR%%/langid/__pycache__/__init__.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/langid/__pycache__/__init__.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/langid/__pycache__/langid.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/langid/__pycache__/langid.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/langid/langid.py
  • %%PYTHON_SITELIBDIR%%/langid/tools/__init__.py
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/__init__.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/__init__.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/featWeights.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/featWeights.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/printfeats.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/__pycache__/printfeats.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/langid/tools/featWeights.py
  • %%PYTHON_SITELIBDIR%%/langid/tools/printfeats.py
distinfo 1
FileSizeSHA256
saffsd-langid.py-1.1.6-20170715-4153583_GH0.tar.gz1.959856e+0604b005bd607fcf54f9b06b41a20f968fcb5bdd7d96ec5471177c88ef858ffc9d

Commit history 0

No commits in the history this site was built from.