Ingest the given text for the topic

def ingest(topic, text, **kwargs):
    """ Ingest the given text for the topic """
    if not text:
        raise ValueError('No text given to ingest for topic: ' + topic)
    data = {'topic': topic, 'text': text.strip()}
    data.update(kwargs)
    db.markovify.insert(data)