Closed Bug 1143633 Opened 7 years ago Closed 4 years ago

Deprecate xml2dict.py in favor of word_list_converter.js for generation of dictionary blob

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mnjul, Unassigned)

References

Details

Since bug 1102834, we have a javascript version of xml2dict.py, i.e. word_list_converter.js, that generates the dictionary blob from a list of words. 

word_list_converter.js is currently used during Gaia runtime for generating user dictionary blobs; the static (built-in) dictionary's blob generation is still taken care by xml2dict.py right now. Let's see if we can use word_list_converter.js for the static job, and eradicate xml2dict.py altogether.

This will at least require creating a more generalized interface of entry to word_list_converter.js, and creating a front-end for it such that the xml word list may be consumed.

Also, word_list_converter.js is written with ES6. Depending on our (future) JS environment during building, this might need to be take care of.
Depends on: 1143636
Depends on: 1146804
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.