if isinstance(raw_text, list):
raw_text = u" ".join(raw_text)
search_tokens = [x.translate(punct_tbl)
for x in tokenizer(unicode(raw_text))
if len(x) > 3]
search_string = u" ".join(filter(lambda y: y in
kQUERY_CHARS, unidecode(x))
for x in search_tokens)
// print(search_string)
query = self._text_parser.parse(search_string)
return query, len(search_tokens)
def full_search(self, query, time_limit=-1, search_limit=50,
edit_dist=0):
val = {}