Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbbic/khmerlbdict

Khmer wordlist for line and word breaking
https://github.com/sbbic/khmerlbdict

Last synced: 2 days ago
JSON representation

Khmer wordlist for line and word breaking

Awesome Lists containing this project

README

        

# Khmer LineBreaking Dictionary

The aim of this project is to produce a frequency based wordlist for line and word breaking
Khmer language. This will then be used in ICU (if they accept it).

Sources are:

* seafreq.txt. Taken from the SEALang Khmer frequency based wordlist [http://sealang.net/project/list/]
* villages.txt. A list of all village and region names
* places.txt. Language, script, territory and exemplar city names taken from CLDR.
* names.txt. Various first and last names.
* KHOV.txt. Word list of the Khmer Bible Old Version.
* KHSV.txt. Word List of the Khmer Bible Standard Version.

The files are edited to remove bad data, for example villages called 'number1' or zero-width-spaces, also removed terms like 'upper', 'lower', 'eastern' from village and place names as long as the remaining part of the name had a length of at least 3 clusters.

A program then calculates the log frequencies needed for CLDR and adds equivalences for bad spellings.
This will mean badly spelled data that is hard to spot will break correctly and it will be up to a
spelling checker to sort that mess out.