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'])