def setUp(self):
     self.fname = 'data.dot'
     self.wl = [u'abelian',u'commutative',u'monoid',u'rings',u'groups']
     self.TMP,self.TMPVocabSize = DictionaryBuilder.createUsingWordList(self.wl)
     Trie.serializeToFile(self.TMP,self.fname)
Пример #2
0
 def setUp(self):
     self.fname = "data.dot"
     self.wl = [u"abelian", u"commutative", u"monoid", u"rings", u"groups"]
     self.TMP, self.TMPVocabSize = DictionaryBuilder.createUsingWordList(
         self.wl)
     Trie.serializeToFile(self.TMP, self.fname)
Пример #3
0
 def setUp(self):
     self.fname = 'data.dot'
     self.wl = [u'abelian', u'commutative', u'monoid', u'rings', u'groups']
     self.TMP, self.TMPVocabSize = DictionaryBuilder.createUsingWordList(
         self.wl)
     Trie.serializeToFile(self.TMP, self.fname)