textproc/py-lingua-language-detector 2.2.0_5 FreeBSD
Accurate natural language detection library for long and short text
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- APACHE20
- Categories
- textproc, python
- Package size
- 134473.6 KiB, 297302.3 KiB installed
Description
Lingua is an accurate natural language detection library for Python, suitable for both short snippets and long texts. It detects 75 languages and goes beyond simple rule-based or statistical approaches by using a rich set of language models.
Features:
- Supports 75 languages
- High accuracy for short and ambiguous texts
- Distinction between similar languages (e.g., Norwegian Bokmal and Nynorsk)
- Confidence values for each detected language
- Optional filtering to a subset of supported languages
- Fast detection performance
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-lingua-language-detector | 2.2.0_5 |
| HardenedBSD | textproc/py-lingua-language-detector | 2.2.0_4 |
| GhostBSD | textproc/py-lingua-language-detector | 2.2.0_4 |
Install
Binary package:
pkg install py312-lingua-language-detector
From the ports tree:
cd /usr/ports/textproc/py-lingua-language-detector/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lingua-language-detector>0:textproc/py-lingua-language-detector
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.2.0_4 | 2.2.0_5 | - | - | - |
| FreeBSD:14:quarterly | 2.2.0_4 | 2.2.0_4 | n/a | - | - |
| FreeBSD:15:latest | 2.2.0_5 | 2.2.0_5 | n/a | - | - |
| FreeBSD:15:quarterly | 2.2.0_4 | 2.2.0_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.0_4 | 2.2.0_5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.1: devel/py-maturin
The full lists below include those, and their dependencies in turn.
Build dependencies 24
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/pkgconf
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 422
| File | Size | SHA256 |
|---|---|---|
| rust/crates/addr2line-0.24.2.crate | 39015 | dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 |
| rust/crates/adler2-2.0.0.crate | 13529 | 512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627 |
| rust/crates/aho-corasick-0.5.3.crate | 252052 | ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66 |
| rust/crates/aho-corasick-1.1.3.crate | 183311 | 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 |
| rust/crates/alloca-0.4.0.crate | 4257 | e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4 |
| rust/crates/allocator-api2-0.2.21.crate | 63622 | 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 |
| rust/crates/android-tzdata-0.1.1.crate | 7674 | e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0 |
| rust/crates/android_system_properties-0.1.5.crate | 5243 | 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311 |
| rust/crates/anes-0.1.6.crate | 23857 | 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299 |
| rust/crates/anstream-0.6.18.crate | 29681 | 8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b |
| rust/crates/anstyle-1.0.10.crate | 15725 | 55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9 |
| rust/crates/anstyle-parse-0.2.6.crate | 22343 | 3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9 |
| rust/crates/anstyle-query-1.1.2.crate | 9969 | 79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c |
| rust/crates/anstyle-wincon-3.0.7.crate | 12400 | ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e |
| rust/crates/argminmax-0.6.3.crate | 67236 | 70f13d10a41ac8d2ec79ee34178d61e6f47a29c2edfe7ef1721c7383b0359e65 |
| rust/crates/array-init-cursor-0.2.0.crate | 2590 | bf7d0a018de4f6aa429b9d33d69edf69072b1c5b1cb8d3e4a5f7ef898fc3eb76 |
| rust/crates/arrayref-0.3.9.crate | 9186 | 76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb |
| rust/crates/arrayvec-0.7.6.crate | 31237 | 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 |
| rust/crates/async-channel-2.3.1.crate | 14576 | 89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a |
| rust/crates/async-stream-0.3.6.crate | 13823 | 0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476 |