chinese/p5-Lingua-ZH-WordSegmenter 0.01_1 DragonFly
Simplified Chinese Word Segmentation
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- chinese, perl5
- Package size
- 889.3 KiB, 2351.2 KiB installed
Description
This is a perl version of simplified Chinese word segmentation.
The algorithm for this segmenter is to search the longest word at each point from both left and right directions, and choose the one with higher frequency product.
The original program is from the CPAN module Lingua::ZH::WordSegment (https://metacpan.org/author/CHENYR) I did the follwing changes: 1) make the interface object oriented; 2) make the internal string into utf8; 3) using sogou's dictionary (http://www.sogou.com/labs/dl/w.html) as the default dictionary.
In the other systems
The newest version among them is 0.01, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | chinese/p5-Lingua-ZH-WordSegmenter | 0.01_1 newest | none known | - | [email protected] | - |
| FreeBSD | chinese/p5-Lingua-ZH-WordSegmenter | 0.01_1 newest | none known | - | [email protected] | - |
| MidnightBSD | chinese/p5-Lingua-ZH-WordSegmenter | 0.01_1 newest | no data | - | [email protected] | - |
| HardenedBSD | chinese/p5-Lingua-ZH-WordSegmenter | 0.01_1 newest | no data | - | [email protected] | - |
| GhostBSD | chinese/p5-Lingua-ZH-WordSegmenter | 0.01_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Lingua-ZH-WordSegmenter
From DPorts:
cd /usr/dports/chinese/p5-Lingua-ZH-WordSegmenter && 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.