'Takes a sentence and switches it to crfsuite format.'

def _from_text_to_crf(self, message, entities=None):

    crf_format = []
    for (i, token) in enumerate(message.get(u'spacy_doc')):
        pattern = self.__pattern_of_token(message, i)
        entity = (entities[i] if entities else u'N/A')
        crf_format.append((token.text, token.tag_, entity, pattern))
    return crf_format
