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