improve conversion to hunspell