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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -