def get_sentences(self, ner_dom):
lp_parser = LingPipeParser(self.config)<EOL>lp_parser.set(ner_dom)<EOL>sentences = list( lp_parser.sentences() )<EOL>return sentences, lp_parser.relations, lp_parser.attributes<EOL>
parse the sentences and tokens out of the XML