textproc/scws 1.2.3 FreeBSD
Simple Chinese word segmentation program and lib
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- textproc
- Package size
- 37.7 KiB, 90.5 KiB installed
Description
SCWS (Simple Chinese Word Segmentation) is a frequency dictionary based Chinese word segmentation engine, it can cut a whole section of the Chinese text into words. Word is the smallest unit of morpheme in Chinese, but in Chinese words are not separated by spaces,so word segmentation is an important step for Chinese language process.SCWS is written in C without other dependencies and accept GBK and UTF-8 encoding for both the Simple Chinese (zh_CN) and the Traditional Chinese (such as zh_TW).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/scws | 1.2.3 |
| DragonFly | textproc/scws | 1.2.3 |
| MidnightBSD | textproc/scws | 1.2.3 |
| HardenedBSD | textproc/scws | 1.2.3 |
| GhostBSD | textproc/scws | 1.2.3 |
Install
Binary package:
pkg install scws
From the ports tree:
cd /usr/ports/textproc/scws/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= scws>0:textproc/scws
LIB_DEPENDS= libscws.so:textproc/scws
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 | 1.2.3 | 1.2.3 | 1.2.3 | 1.2.3 | 1.2.3 |
| FreeBSD:14:quarterly | 1.2.3 | 1.2.3 | n/a | 1.2.3 | 1.2.3 |
| FreeBSD:15:latest | 1.2.3 | 1.2.3 | n/a | 1.2.3 | 1.2.3 |
| FreeBSD:15:quarterly | 1.2.3 | 1.2.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.3 | 1.2.3 | 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 3
Required by 1
Configuration
No options to configure.
- USES
- gmake libtool:keepla tar:bzip2
- Service scripts
- none
Message after installing
Files
pkg-plist 19
- bin/scws
- bin/scws-gen-dict
- etc/scws/rules.ini
- etc/scws/rules.utf8.ini
- etc/scws/rules_cht.utf8.ini
- include/scws/charset.h
- include/scws/crc32.h
- include/scws/darray.h
- include/scws/pool.h
- include/scws/rule.h
- include/scws/scws.h
- include/scws/version.h
- include/scws/xdb.h
- include/scws/xdict.h
- include/scws/xtree.h
- lib/libscws.la
- lib/libscws.so
- lib/libscws.so.1
- lib/libscws.so.1.1.0
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| scws-1.2.3.tar.bz2 | 485903 | 60d50ac3dc42cff3c0b16cb1cfee47d8cb8c8baa142a58bc62854477b81f1af5 |
Master sites 1
- http://www.xunsearch.com/scws/down/
Commit history 0
No commits in the history this site was built from.