added language model interface
added naive sentence lm
fixed style