textproc/py-langid 1.1.6.20170715_2 DragonFly
Standalone Language Identification (LangID) tool
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- devel, python, textproc
- Package size
- 1884.8 KiB, 7461.1 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
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/py-langid | 1.1.6.20170715_2 |
| FreeBSD | textproc/py-langid | 1.1.6.20170715_4 |
Install
Binary package:
pkg install py311-langid
From DPorts:
cd /usr/dports/textproc/py-langid && make install clean