package wseg

Not available on OCaml 5.5
  1. Overview
  2. Docs
A word identification system

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
sha256=5b80072200df6f6a502ede38198415b1595ae3e117f52aa1e307437705d1b143
md5=e56244d34e92bda9c7a9fdea99734748

Description

The full technology page of the MMSEG system is available on http://technology.chtsai.org/wseg/

Added to opam-repository:

README

wseg

A word identification system

Usage

In the test directory, there are two plain text files that serve as dictionary files, one for characters and one for words. And there is a test.ml program that illustrates how to build dictionary and index with wseg and how to apply several rules to identify words from a sentence. Just invoke make runtest to play with the demo.

char.dic contains 12640 Chinese characters and word.dic contains 157202 words. So you can expand the dict or demo for common usage.

Dependencies (6)

  1. camomile >= "1.0" & < "2.0.0"
  2. trie >= "1.0"
  3. stdio >= "v0.9"
  4. base >= "v0.9"
  5. dune >= "1.4"
  6. ocaml >= "4.03.0"

Dev Dependencies

None

Optional Dependencies

None

Used by (1)

  1. mmseg

Conflicts

None

Build status

Results of building wseg with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.3.0 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure