def _create_sentence_objects(self):
sentence_objects = []<EOL>sentences = sent_tokenize(self.raw, tokenizer=self.tokenizer)<EOL>char_index = <NUM_LIT:0>  <EOL>for sent in sentences:<EOL><INDENT>try:<EOL><INDENT>start_index = self.raw.index(sent, char_index)<EOL>char_index += len(sent)<EOL>end_index = start_index + len(sent)<EOL><DEDENT>except ValueError:<EOL><INDENT>start_index = None<EOL>end_index = None<EOL><DEDENT>s = Sentence(<EOL>sent,<EOL>start_index=start_index,<EOL>end_index=end_index,<EOL>tokenizer=self.tokenizer,<EOL>np_extractor=self.np_extractor,<EOL>pos_tagger=self.pos_tagger,<EOL>analyzer=self.analyzer,<EOL>parser=self.parser,<EOL>classifier=self.classifier)<EOL>sentence_objects.append(s)<EOL><DEDENT>return sentence_objects<EOL>
Returns a list of Sentence objects from the raw text.