Port details on branch 2022Q2 |
- py-langid Standalone Language Identification (LangID) tool
- 1.1.6.20170715_1 textproc =1 1.1.6.20170715_1Version of this port present on the latest quarterly branch.
- Maintainer: thierry@FreeBSD.org
- Port Added: 2020-12-01 13:24:32
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: SparseBitSet, py39-cysignals, R-cran-eRm, python
- Also Listed In: devel python
- License: BSD2CLAUSE
- WWW:
- https://github.com/saffsd/langid.py
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}langid>0:textproc/py-langid@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-langid/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-langid
- pkg install py39-langid
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-langid listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-langid
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1606746121
SHA256 (saffsd-langid.py-1.1.6-20170715-4153583_GH0.tar.gz) = 04b005bd607fcf54f9b06b41a20f968fcb5bdd7d96ec5471177c88ef858ffc9d
SIZE (saffsd-langid.py-1.1.6-20170715-4153583_GH0.tar.gz) = 1959856
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-numpy>=1.16,1<1.25,1 : math/py-numpy@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-numpy>=1.16,1<1.25,1 : math/py-numpy@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- math/py-mathics
Configuration Options:
- No options to configure
- Options name:
- textproc_py-langid
- USES:
- python shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|