html_parser: added ngrams generation
similarity: let document_parser generate ngrams