BSD Ports

textproc/rubygem-rmmseg-cpp 0.2.9_1 DragonFly

High performance Chinese word segmentation utility

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
rubygems, textproc
Package size
642.8 KiB, 1541.3 KiB installed

Description

rmmseg-cpp is a high performance Chinese word segmentation utility for Ruby. It features full "Ferret":http://ferret.davebalmain.com/ integration as well as support for normal Ruby program usage.

rmmseg-cpp is a re-written of the original RMMSeg(http://rmmseg.rubyforge.org/) gem in C++. RMMSeg is written in pure Ruby. Though I tried hard to tweak RMMSeg, it just consumes lots of memory and the segmenting process is rather slow.

The interface is almost identical to RMMSeg but the performance is much better. This gem is always preferable in production use. However, if you want to understand how the MMSEG segmenting algorithm works, the source code of RMMSeg is a better choice than this.

In the other systems

SystemPortVersion
DragonFlytextproc/rubygem-rmmseg-cpp0.2.9_1
FreeBSDtextproc/rubygem-rmmseg-cpp0.2.9_1

Install

Binary package:

pkg install rubygem-rmmseg-cpp

From DPorts:

cd /usr/dports/textproc/rubygem-rmmseg-cpp && make install clean

Dependencies

Run dependencies 2

No port depends on this one.