def learn(self, text):
        if type(text) != types.UnicodeType:
            # Assume that non-Unicode text is encoded as utf-8, which
            # should be somewhat safe in the modern world.
            text = text.decode("utf-8", "ignore")

        tokens = self.tokenizer.split(text)
        trace("Brain.learn_input_token_count", len(tokens))

        self._learn_tokens(tokens)
Learn a string of text. If the input is not already
dataset/ETHPy150Open pteichman/cobe/cobe/brain.py/Brain.learn