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:
parent
e976aed377
commit
70a7b10d36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370233
@ -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
|
||||
|
18
textproc/rubygem-rmmseg-cpp/Makefile
Normal file
18
textproc/rubygem-rmmseg-cpp/Makefile
Normal 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>
|
2
textproc/rubygem-rmmseg-cpp/distinfo
Normal file
2
textproc/rubygem-rmmseg-cpp/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (rubygem/rmmseg-cpp-0.2.9.gem) = 9c94449163519d9c0c054ad2efa9d4f11914a3a5a0d086778c8a1659cbe060ea
|
||||
SIZE (rubygem/rmmseg-cpp-0.2.9.gem) = 802304
|
16
textproc/rubygem-rmmseg-cpp/pkg-descr
Normal file
16
textproc/rubygem-rmmseg-cpp/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user