Add a note of documentation to the sample word list

Change-Id: I95f09da03457933a14b549e04575d566de97dd49
main
Jean Chalard 2011-12-14 15:25:31 +09:00
parent 8e3faff244
commit 4fc97c2c01
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,9 @@
for use by the Latin IME.
The format of the word list is a flat list of word entries.
Each entry has a frequency between 255 and 0.
Highest frequency words get more weight in the prediction algorithm.
Highest frequency words get more weight in the prediction algorithm. As a
special case, a weight of 0 is taken to mean profanity - words that should
not be considered a typo, but that should never be suggested explicitly.
You can capitalize words that must always be capitalized, such as "January".
You can have a capitalized and a non-capitalized word as separate entries,
such as "robin" and "Robin".
@ -13,4 +15,3 @@
<w f="128">sample</w>
<w f="1">wordlist</w>
</wordlist>