Steps to reproduce:
1. Lookup "dom" and you will get the the pronunciation and pos tag for the function word:
http://localhost:10000/wikispeech/textprocessing/?lang=sv&input=dom
2. Set entryLook up the id for "dom" /d U m/ to preferred:
http://localhost:8787/lexicon/updateentry?entry={%22id%22:197150,%22lexRef%22:{%22DBRef%22:%22sv_se_nst_lex%22,%22LexName%22:%22sv-se.nst%22},%22strn%22:%22dom%22,%22language%22:%22sv-se%22,%22partOfSpeech%22:%22NN%22,%22morphology%22:%22SIN|IND|NOM|UTR%22,%22wordParts%22:%22dom%22,%22lemma%22:{%22id%22:22903,%22strn%22:%22dom%22,%22reading%22:%22%22,%22paradigm%22:%22s2l-sjukdom%22},%22transcriptions%22:[{%22id%22:202659,%22entryId%22:197150,%22strn%22:%22\%22%20d%20U%20m%22,%22language%22:%22sv-se%22,%22sources%22:[]}],%22status%22:{%22id%22:197150,%22name%22:%22imported%22,%22source%22:%22nst%22,%22timestamp%22:%222017-09-25T11:54:02Z%22,%22current%22:true},%22entryValidations%22:[],%22preferred%22:true}lookup?lexicons=sv_se_nst_lex:sv-se.nst&words=dom
3. Set entry "dom" /d U m/ to preferred (replace ID in the URL with the id found above.
http://localhost:8787/lexicon/updateentry?entry={%22id%22:ID,%22lexRef%22:{%22DBRef%22:%22sv_se_nst_lex%22,%22LexName%22:%22sv-se.nst%22},%22strn%22:%22dom%22,%22language%22:%22sv-se%22,%22partOfSpeech%22:%22NN%22,%22morphology%22:%22SIN|IND|NOM|UTR%22,%22wordParts%22:%22dom%22,%22lemma%22:{%22id%22:22903,%22strn%22:%22dom%22,%22reading%22:%22%22,%22paradigm%22:%22s2l-sjukdom%22},%22transcriptions%22:[{%22id%22:202659,%22entryId%22:197150,%22strn%22:%22\%22%20d%20U%20m%22,%22language%22:%22sv-se%22,%22sources%22:[]}],%22status%22:{%22id%22:197150,%22name%22:%22imported%22,%22source%22:%22nst%22,%22timestamp%22:%222017-09-25T11:54:02Z%22,%22current%22:true},%22entryValidations%22:[],%22preferred%22:true}
4. Lookup "dom" and you will get the correct transcription but still the function tag:
http://localhost:10000/wikispeech/textprocessing/?lang=sv&input=dom