* removed duprecated statement
* infer unseen documents