dictionary - C++ Most efficient way for storing, loading and looking up a lexicon -
i have dictionary consists of words , phonetic transcriptions. words lower case, there not case-sensitive search involved.
the lexicon huge, , need load when application starts. prefer reading without having read each entry separately.
i guess way stored , load affects how keep lexicon in memory
thank ideas.
you want store trie
this efficient way of storing dictionary. @ following answers more information
http://en.wikipedia.org/wiki/trie
https://stackoverflow.com/questions/296618/what-is-the-most-common-use-of-the-trie-data-structure
Comments
Post a Comment