streamcorpus_pipeline/_lingpipe.py
def get_sentences(self, ner_dom):
        '''parse the sentences and tokens out of the XML'''
        lp_parser = LingPipeParser(self.config)
        lp_parser.set(ner_dom)
        sentences = list( lp_parser.sentences() )
        return sentences, lp_parser.relations, lp_parser.attributes
def get_sentences(self, ner_dom):
        '''parse the sentences and tokens out of the XML'''
        lp_parser = LingPipeParser(self.config)
        lp_parser.set(ner_dom)
        sentences = list( lp_parser.sentences() )
        return sentences, lp_parser.relations, lp_parser.attributes
def get_sentences ( self , ner_dom ) : lp_parser = LingPipeParser ( self . config ) lp_parser . set ( ner_dom ) sentences = list ( lp_parser . sentences ( ) ) return sentences , lp_parser . relations , lp_parser . attributes
parse the sentences and tokens out of the XML
parse the sentences and tokens out of the XML