'Add any words passed in the \'text\' field of the observation to this
dictionary.'

def act(self):

    for source in ([self.observation.get('text')], self.observation.get('labels')):
        if source:
            for text in source:
                if text:
                    self.add_to_dict(self.tokenize(text))
    return {'id': 'Dictionary'}
