def sents(self): for sent in sentenize(self.text): objects = sent_spans(sent, self.objects) yield FactruMarkup( self.id, sent.text, list(objects) )
def sents(self): for sent in sentenize(self.text): spans = sent_spans(sent, self.spans) yield Ne5Markup( self.id, sent.text, list(spans) )
def sents(self): for sent in sentenize(self.text): spans = sent_spans(sent, self.spans) yield DeeppavlovMarkup(sent.text, list(spans))
def sents(self): for sent in sentenize(self.text): spans = sent_spans(sent, self.spans) yield self.__class__(sent.text, list(spans))
def sents(self): for sent in sentenize(self.text): matches = sent_spans(sent, self.matches) yield PullentiMarkup(sent.text, list(matches))
def sents(self): for sent in sentenize(self.text): facts = sent_spans(sent, self.facts) yield TomitaMarkup(sent.text, list(facts))