Install chasen by entering the following commands in the terminal:
sudo apt update sudo apt install chasen
Japanese Morphological Analysis System
ChaSen is a morphological analysis system. It can segment and tokenize Japanese text string, and can output with many additional information (pronunciation, semantic information, and others). . It will print the result of such an operation to the standard output, so that it can be either written to a file or further processed.