B
형태소 분석기 Khaiii를 colab에 설치해보자
f_s_t_k
2020. 12. 9. 20:25
kakao/khaiii
Kakao Hangul Analyzer III. Contribute to kakao/khaiii development by creating an account on GitHub.
github.com
카카오에서 개발한 세번째 형태소 분석기 Khaiii
"Kakao Hangul Analyzer III"의 첫 글자들만 모아 만든 이름으로
보통 okt나 mecab을 주로 쓰지만
형태소 분석기 세계관 체크할때 빼놓지 않고 거론되는 녀석중에 한명이다.
!git clone https://github.com/kakao/khaiii.git
!pip install cmake
코랩에서 위와 같이 깃클론을 해주고 pip install cmake
아래와 같이 디렉토리를 만든뒤 담아주면 잘 실행된다 !
!mkdir build
!cd build && cmake /content/khaiii
!cd /content/build/ && make all
!cd /content/build/ && make resource
!cd /content/build && make install
!cd /content/build && make package_python
!pip install /content/build/package_python