Does anybody know how I could automatically extract all the kanji or individual words from a text? That would be without the particles and etc. It would be super cool for just learning how to read a certain texts before hand. Kind of what a language textbook does.
For example if we had the following text:
ジェシー
「まだよ、すぐ次の検知がはじまるわ。バレたらアウトよ!」
「でも、心配しないで。前の車両に順々にうつっていけば やりすごせるわ!」
Then the extracted kanji or words would be 次, 検知, 心配, 前, 車両, 順々.
Perhaps this could work both in Japanese and in Chinese?