chinese/p5-Lingua-ZH-HanDetect 0.04_1 FreeBSD
Guess Chinese text's variant and encoding
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- chinese, perl5
- Package size
- 7.8 KiB, 12.3 KiB installed
Description
Lingua::ZH::HanDetect uses statistical measures to test a text string to see if it's in Traditional or Simplified Chinese, as well as which encoding it is in.
If the string does not contain Chinese characters, both the encoding and variant values will be set to the empty string.
This module is needed because the various encodings for Chinese text tend to occupy the similar byte ranges, rendering Encode::Guess ineffective.
In the other systems
The newest version among them is 0.04, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | chinese/p5-Lingua-ZH-HanDetect | 0.04_1 newest | none known | - | [email protected] | - |
| DragonFly | chinese/p5-Lingua-ZH-HanDetect | 0.04_1 newest | none known | - | [email protected] | - |
| MidnightBSD | chinese/p5-Lingua-ZH-HanDetect | 0.04_1 newest | no data | - | [email protected] | - |
| HardenedBSD | chinese/p5-Lingua-ZH-HanDetect | 0.04_1 newest | no data | - | [email protected] | - |
| GhostBSD | chinese/p5-Lingua-ZH-HanDetect | 0.04_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Lingua-ZH-HanDetect
From the ports tree:
cd /usr/ports/chinese/p5-Lingua-ZH-HanDetect/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Lingua-ZH-HanDetect>0:chinese/p5-Lingua-ZH-HanDetect
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 | 0.04_1 | 0.04_1 | 0.04_1 | 0.04_1 | 0.04_1 |
| FreeBSD:14:quarterly | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:latest | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:quarterly | 0.04_1 | 0.04_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.04_1 | 0.04_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Lingua/ZH/HanDetect.pm
- %%PERL5_MAN3%%/Lingua::ZH::HanDetect.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Lingua-ZH-HanDetect-0.04.tar.gz | 4874 | 92cff3451d13103afbdca1268c3dc51ab93343233a06b63d45f11d9a53d29aec |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.