'parse the content of the actual .md file'

def load(self):

    with io.open(self.file_name, u'rU', encoding=u'utf-8-sig') as f:
        for row in f:
            intent_match = re.search(intent_regex, row)
            if (intent_match is not None):
                self.set_current_state(u'intent', intent_match.group(1))
                continue
            synonym_match = re.search(synonym_regex, row)
            if (synonym_match is not None):
                self.set_current_state(u'synonym', synonym_match.group(1))
                continue
            example_match = re.finditer(example_regex, row)
            for (matchIndex, match) in enumerate(example_match):
                if (self.get_current_state() == u'intent'):
                    self.common_examples.append(self.get_example(match.group(1)))
                else:
                    self.entity_synonyms[(-1)][u'synonyms'].append(match.group(1))
    return {u'rasa_nlu_data': {u'common_examples': self.common_examples, u'entity_synonyms': self.entity_synonyms}}
