devel/cld2 20150505
Compact language detector library
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel
- Package size
- 5602.0 KiB, 8309.1 KiB installed
Description
A port from the CLD (Compact Language Detector) library embedded in Google's Chromium browser. The library detects the language from provided UTF8 text (plain text or HTML). It's implemented in C++, with very basic Python bindings.
Install
As a binary package — by origin, or by package name:
pkg install devel/cld2
pkg install cld2
From the ports tree:
cd /usr/ports/devel/cld2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cld2>0:devel/cld2
LIB_DEPENDS= libcld2.so:devel/cld2
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 | 20150505 | 20150505 | 20150505 | 20150505 | 20150505 |
| FreeBSD:14:quarterly | 20150505 | 20150505 | n/a | 20150505 | 20150505 |
| FreeBSD:15:latest | 20150505 | 20150505 | n/a | 20150505 | 20150505 |
| FreeBSD:15:quarterly | 20150505 | 20150505 | n/a | n/a | n/a |
| FreeBSD:16:latest | 20150505 | 20150505 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Required by 2
Configuration
No options to configure.
- USES
- compiler
- Service scripts
- none
Files
pkg-plist 8
- include/cld/internal/generated_language.h
- include/cld/internal/generated_ulscript.h
- include/cld/internal/integral_types.h
- include/cld/internal/lang_script.h
- include/cld/public/compact_lang_det.h
- include/cld/public/encodings.h
- lib/libcld2.so
- lib/libcld2_full.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cld-20150505.tar.gz | 7.1185464e+07 | 1671c31bc9ddb7b5ca6c765d4f8f388c43c4345c46551f12ed22e8cdc966fbf0 |
Master sites 1
- LOCAL/demon
Commit history 0
No commits in the history this site was built from.