Exemplo n.º 1
0
 def both(txt):
     return combine_ors(tokenize(txt))
Exemplo n.º 2
0
 def both(txt): return combine_ors(tokenize(txt))
 self.assertEqual(both('this OR that AND jelly'), ['this OR that', 'AND', 'jelly'])
Exemplo n.º 3
0
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))
Exemplo n.º 4
0
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))