Skip to content

Khmer Viterbi Segmenter 0.1.1

Choose a tag to compare

@Sovichea Sovichea released this 15 Jul 02:52
· 42 commits to main since this release

First public release of khmer-viterbi-segmenter, a Python package for Khmer text processing.

Features

  • Khmer word segmentation using a Viterbi-based algorithm
  • Part-of-speech tagging
  • Experimental Khmer hyphenation
  • Command-line interface and Python API
  • Bundled Khmer dictionary, word-frequency, POS, and hyphenation data

Install

pip install khmer-viterbi-segmenter

Important note

Hyphenation is experimental. Some words may not yet be split correctly.

Data attribution and license

Bundled linguistic data is redistributed for non-commercial use with attribution to Seanghay. See DATA_LICENSE.md for the complete attribution and terms.