def contains_extractor(document):
tokens = _get_document_tokens(document)<EOL>features = dict((u'<STR_LIT>'.format(w), True) for w in tokens)<EOL>return features<EOL>
A basic document feature extractor that returns a dict of words that the
    document contains.