示例#1
0
 def __init__(self):
     super(CoQASplitSentenceReader, self).__init__()
     self.sentence_tokenizer = nltk.data.load(
         'tokenizers/punkt/english.pickle')
     self.yesno_cate = utils.CategoricalAccuracy(['yes', 'no'])
 def __init__(self):
     super(MSMARCOYesNoCBReaderTopK, self).__init__()
     self.sentence_tokenizer = nltk.data.load(
         'tokenizers/punkt/english.pickle')
     self.yesno_cate = utils.CategoricalAccuracy(['yes', 'no'])