textproc/rubygem-rmmseg-cp: create port

rmmseg-cpp is a high performance Chinese word segmentation utility for
Ruby.

WWW: http://rmmseg-cpp.rubyforge.org
This commit is contained in:
Steve Wills 2014-10-06 21:42:58 +00:00
parent e976aed377
commit 70a7b10d36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370233
4 changed files with 37 additions and 0 deletions

View File

@ -1357,6 +1357,7 @@
SUBDIR += rubygem-redcarpet
SUBDIR += rubygem-ri_cal
SUBDIR += rubygem-rich
SUBDIR += rubygem-rmmseg-cpp
SUBDIR += rubygem-rouge
SUBDIR += rubygem-rttool
SUBDIR += rubygem-rubypants

View File

@ -0,0 +1,18 @@
# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
PORTNAME= rmmseg-cpp
PORTVERSION= 0.2.9
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= High performance Chinese word segmentation utility
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST=yes
PLIST_FILES= bin/rmmseg
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (rubygem/rmmseg-cpp-0.2.9.gem) = 9c94449163519d9c0c054ad2efa9d4f11914a3a5a0d086778c8a1659cbe060ea
SIZE (rubygem/rmmseg-cpp-0.2.9.gem) = 802304

View File

@ -0,0 +1,16 @@
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.
WWW: http://rmmseg-cpp.rubyforge.org