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

persisting trie file - c


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -