for a string and a cursor pos, expands fn for word under cursor to also give pos relative to word
adds inline doc to code
adds fn to make str->letters more robust (ex: in case of languages where some letters require 3+ Unicode code points)
adds ability to use a trie to transform an input word while splitting it (transliterate / change format / etc.)
updates fn name and doc to be more accurate