Date: Mon, 6 Oct 2014 21:42:59 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370233 - in head/textproc: . rubygem-rmmseg-cpp Message-ID: <201410062142.s96LgxQM028369@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Mon Oct 6 21:42:58 2014 New Revision: 370233 URL: https://svnweb.freebsd.org/changeset/ports/370233 QAT: https://qat.redports.org/buildarchive/r370233/ Log: textproc/rubygem-rmmseg-cp: create port rmmseg-cpp is a high performance Chinese word segmentation utility for Ruby. WWW: http://rmmseg-cpp.rubyforge.org Added: head/textproc/rubygem-rmmseg-cpp/ head/textproc/rubygem-rmmseg-cpp/Makefile (contents, props changed) head/textproc/rubygem-rmmseg-cpp/distinfo (contents, props changed) head/textproc/rubygem-rmmseg-cpp/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Oct 6 21:30:01 2014 (r370232) +++ head/textproc/Makefile Mon Oct 6 21:42:58 2014 (r370233) @@ -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 Added: head/textproc/rubygem-rmmseg-cpp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-rmmseg-cpp/Makefile Mon Oct 6 21:42:58 2014 (r370233) @@ -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> Added: head/textproc/rubygem-rmmseg-cpp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-rmmseg-cpp/distinfo Mon Oct 6 21:42:58 2014 (r370233) @@ -0,0 +1,2 @@ +SHA256 (rubygem/rmmseg-cpp-0.2.9.gem) = 9c94449163519d9c0c054ad2efa9d4f11914a3a5a0d086778c8a1659cbe060ea +SIZE (rubygem/rmmseg-cpp-0.2.9.gem) = 802304 Added: head/textproc/rubygem-rmmseg-cpp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-rmmseg-cpp/pkg-descr Mon Oct 6 21:42:58 2014 (r370233) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410062142.s96LgxQM028369>