[graphspell][fx] lexicographer update: same code for Python and JavaScript (remove deprecated code)