BSD Ports

chinese/p5-Lingua-ZH-HanDetect 0.04_1 DragonFly

Guess Chinese text's variant and encoding

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
chinese, perl5
Package size
7.3 KiB, 12.6 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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlychinese/p5-Lingua-ZH-HanDetect0.04_1 newestnone known-[email protected]-
FreeBSDchinese/p5-Lingua-ZH-HanDetect0.04_1 newestnone known-[email protected]-
MidnightBSDchinese/p5-Lingua-ZH-HanDetect0.04_1 newestno data-[email protected]-
HardenedBSDchinese/p5-Lingua-ZH-HanDetect0.04_1 newestno data-[email protected]-
GhostBSDchinese/p5-Lingua-ZH-HanDetect0.04_1 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Lingua-ZH-HanDetect

From DPorts:

cd /usr/dports/chinese/p5-Lingua-ZH-HanDetect && make install clean

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

Run dependencies 1

No port depends on this one.