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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/rubygem-rmmseg-cpp | 0.2.9_1 |
| DragonFly | textproc/rubygem-rmmseg-cpp | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.9_1 | 0.2.9_1 | 0.2.9_1 | 0.2.9_1 | 0.2.9_1 |
| FreeBSD:14:quarterly | 0.2.9_1 | 0.2.9_1 | n/a | 0.2.9_1 | 0.2.9_1 |
| FreeBSD:15:latest | 0.2.9_1 | 0.2.9_1 | n/a | 0.2.9_1 | 0.2.9_1 |
| FreeBSD:15:quarterly | 0.2.9_1 | 0.2.9_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.9_1 | 0.2.9_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rubygem/rmmseg-cpp-0.2.9.gem | 802304 | 9c94449163519d9c0c054ad2efa9d4f11914a3a5a0d086778c8a1659cbe060ea |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.