find most similar documents

fixed typo
bugfix imports.