BSD Ports

textproc/rubygem-rmmseg-cpp 0.2.9_1 FreeBSD

High performance Chinese word segmentation utility

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc, rubygems
Package size
654.5 KiB, 1494.0 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
FreeBSDtextproc/rubygem-rmmseg-cpp0.2.9_1
DragonFlytextproc/rubygem-rmmseg-cpp0.2.9_1

Install

Binary package:

pkg install rubygem-rmmseg-cpp

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-rmmseg-cpp>0:textproc/rubygem-rmmseg-cpp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.9_10.2.9_10.2.9_10.2.9_10.2.9_1
FreeBSD:14:quarterly0.2.9_10.2.9_1n/a0.2.9_10.2.9_1
FreeBSD:15:latest0.2.9_10.2.9_1n/a0.2.9_10.2.9_1
FreeBSD:15:quarterly0.2.9_10.2.9_1n/an/an/a
FreeBSD:16:latest0.2.9_10.2.9_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
gem shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/rmmseg-cpp-0.2.9.gem8023049c94449163519d9c0c054ad2efa9d4f11914a3a5a0d086778c8a1659cbe060ea
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.