packages = ["Janome"]
分かち書き
from janome.tokenizer import Tokenizer t = Tokenizer() def wakati(): text = Element("text").value tokens = t.tokenize(text, wakati=True) display(" ".join(tokens), target="output")