implemented unknown word model