add import of Document to object Document.scala and EntityTopicModel.scala;
 bugs still exist.