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