BSD Ports

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

SystemPortVersion
FreeBSDtextproc/scws1.2.3
DragonFlytextproc/scws1.2.3
MidnightBSDtextproc/scws1.2.3
HardenedBSDtextproc/scws1.2.3
GhostBSDtextproc/scws1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.31.2.31.2.31.2.31.2.3
FreeBSD:14:quarterly1.2.31.2.3n/a1.2.31.2.3
FreeBSD:15:latest1.2.31.2.3n/a1.2.31.2.3
FreeBSD:15:quarterly1.2.31.2.3n/an/an/a
FreeBSD:16:latest1.2.31.2.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Configuration

No options to configure.

USES
gmake libtool:keepla tar:bzip2
Service scripts
none

Message after installing

===>   NOTICE:

The scws port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

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
FileSizeSHA256
scws-1.2.3.tar.bz248590360d50ac3dc42cff3c0b16cb1cfee47d8cb8c8baa142a58bc62854477b81f1af5
Master sites 1
  • http://www.xunsearch.com/scws/down/

Commit history 0

No commits in the history this site was built from.