from janome.tokenizer import Tokenizer t = Tokenizer() tokens = t.tokenize('pythonの本を読んだ',wakati=True) for token in tokens: print(token)