def _extract_text_dict(self, raw_text):
delimiter = raw_text[<NUM_LIT:0>]<EOL>if raw_text[-<NUM_LIT:1>] != delimiter:<EOL><INDENT>raw_text = raw_text.strip()<EOL>if raw_text[-<NUM_LIT:1>] != delimiter:<EOL><INDENT>msg = (u'<STR_LIT>'<EOL>u'<STR_LIT>'<EOL>u'<STR_LIT>'.format(raw_text[:<NUM_LIT:2>], raw_text[-<NUM_LIT:2>:]))<EOL>raise ParserFeatureNotImplementedError(msg)<EOL><DEDENT><DEDENT>nested_split_list = [x.split(delimiter) for x in raw_text[<NUM_LIT:1>:-<NUM_LIT:1>].split(delimiter * <NUM_LIT:2>)]<EOL>raw_text_elements = nested_split_list[<NUM_LIT:0>]<EOL>for partial_element_list in nested_split_list[<NUM_LIT:1>:]:<EOL><INDENT>raw_text_elements[-<NUM_LIT:1>] += (delimiter + partial_element_list[<NUM_LIT:0>])<EOL>raw_text_elements.extend(partial_element_list[<NUM_LIT:1>:])<EOL><DEDENT>keys, values = raw_text_elements[<NUM_LIT:0>::<NUM_LIT:2>], raw_text_elements[<NUM_LIT:1>::<NUM_LIT:2>]<EOL>return dict(zip(keys, values))<EOL>
Parse the TEXT segment of the FCS file into a python dictionary.