FYI. word_info v0.2.0 has been published, changelogs:
-
some improvements on performance.
In the first released version, dictionary data is compiled directly into BEAM codes. This may cause freezing (~3s) on starting the application, which may be a problem for an application who needs to boot as fast as possible.In v0.2.0, the data is converted into an ETS table dump at compile-time. This allows the code to be tidy and provides a fast boot.
-
fix a typo on returning value
PS. I want to thank all the people and their valuable discussions involved in this thread, which leads me to a better approach: