Example #1
0
 def setUp(self):
     TDATA = 'conll2003/train.txt'
     (trn, val, preproc) = txt.entities_from_txt(TDATA)
     self.trn = trn
     self.val = val
     self.preproc = preproc
Example #2
0
 def setUp(self):
     TDATA = "conll2003/train.txt"
     (trn, val, preproc) = txt.entities_from_txt(TDATA, use_char=True)
     self.trn = trn
     self.val = val
     self.preproc = preproc