➜ echo あの壁にかかっている絵はきれいですね | mecab -d /usr/local/lib/mecab/dic/unidic | jdepp 2> /dev/null | to_tree.py
# S-ID: 1; J.DepP
0: あの━━┓
1: 壁に━━┓ ┃
2: かかっている━━┓ ┃
3: 絵は━━┫
4: きれいですねEOS
➜ echo あの壁にかかっている絵はきれいですね | mecab -d /usr/local/lib/mecab/dic/unidic | jdepp 2> /dev/null | to_chunk.py
# S-ID: 1; J.DepP
あの │ 壁 に │ かかっ て いる │ 絵 は │ きれい です ね EOS
Download and install instructions on Naoki Yoshinaga's website: http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/jdepp/#dl
Glad it's working, what an ordeal 😭!
jdepp is also pretty interesting and unusual. I really like it but had to think about what exactly it was doing, what bunsetsu were, how to take advantage of bunsetsu and their inter-dependencies. Feel free to reach out if you want to check notes on it!