1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/chinese/p5-Lingua-ZH-HanDetect/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

11 lines
483 B
Plaintext

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.
WWW: https://metacpan.org/release/Lingua-ZH-HanDetect