So the question can be reformatted as "What can replace a database in an offline version?"
The initial idea is inspired from wordweb where you just type the word and then you get the meaning of it displayed in a fraction.
Of-course they are not saving all the words and there meanings in a database. What are they using? Are they storing all the values in a file and retrieving the corresponding meaning?
Is there any article which shows the above approach(Reading a particular section of a file ).
Are they using HashTables or similar?