Searched refs:to_words (Results 1 – 2 of 2) sorted by relevance
219 def to_words(node): function223 return [(node[0] + word) for child in node[1] for word in to_words(child)]295 suffixes = frozenset(to_words(node))
125 self.assertEqual(make_dafsa.to_words(node1), words)134 self.assertEqual(make_dafsa.to_words(node1), words)144 self.assertEqual(make_dafsa.to_words(node1), words)156 self.assertEqual(make_dafsa.to_words(node1), words)172 self.assertEqual(make_dafsa.to_words(node1), words)