#NEWLINE# def parse_query( self , query ) : #NEWLINE# #INDENT# '\n        Given a ``query`` string, converts it into terms for searching in the\n        index.\n\n        Returns a list of terms.\n        ' #NEWLINE# tokens = self . make_tokens ( tokens ) #NEWLINE# return self . make_ngrams ( tokens )