Reworked WordArchive::load to use new wordlist format
commit87e1aa414222fe02899c14a7b7cb62f564eae7db
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 30 Nov 2006 14:11:12 +0000 (30 21:11 +0700)
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 30 Nov 2006 14:11:12 +0000 (30 21:11 +0700)
treee4bfe4e8ecfcb69e13e37eeb2dba358e4f511394
parent018cf1f7a8c2fe56c594b1f86c902b535206964b
Reworked WordArchive::load to use new wordlist format

The new format is as same as CMU SLM's vocab format. It should
be noted that words in wordlist are standardized ones.

If WordArchive::load() is called with NULL as argument, it'll
then use wordlist from struct lm_t inside class LM. So if you
already load an LM, call warch.load(NULL) to save I/O.
libvspell/dictionary.h
libvspell/warch.cpp
libvspell/wordnode.h