➜ 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
Hmm, pyenv does do a lot of path shenanigans so you might need to close your terminal and reopen it to ascertain that when you run
python
it loads Python 2 from pyenv (which you can confirm withwhich python
)? I'm sure I've always had Python available before installing jdepp so never encountered this issue before 😢 best of luck.