맥북 아나콘다 konlpy mecab 설정

mecab-ko 설치
curl -0 https://bitbucket.org/eunjeon/mecab-ko/downloads/
cd mecab-0.996-ko-0.9.2
tar xvfz mecab-0.996-ko-0.9.2
./configure
make
sudo make install

mecab-ko-dic 설치
https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/
cd mecab-ko-dic-2.1.1-20180720
tar xvfz mecab-ko-dic-2.1.1-20180720.tar.gz
autoreconf
./configure
make
sudo make install

mecab-python 설치
git clone https://bitbucket.org/eunjeon/mecab-python-0.996.git
cd mecab-python-0.996
python setup.py build
su

[NameError: name ‘Tagger’ is not defined 오류시]
python setup.py install
export CC=/usr/local/Cellar/gcc/8.2.0/bin/gcc
pip install mecab-python3

mecab test
from konlpy.tag import Mecab
tokenizer = Mecab()
print(tokenizer.morphs(‘아버지가방에들어가신다’))

사전 설정
https://mondayus.tistory.com/46
mecab,KONLPY
https://konlpy-ko.readthedocs.io/ko/v0.4.3/