def tokenize(self, string):
        tokens = string.split(' ')
        wrapper = self._fmt_wrapper()
        _tokens, count = '', len(tokens) - 1
        for k, token in enumerate(tokens):
            _tokens += self._fmt(token, k, count)
        return wrapper.format(_tokens)
dataset/ETHPy150Open christabor/MoAL/MOAL/software_engineering/problem_solving/design_patterns/grasp/pattern_cohesion.py/Lexer.tokenize/original