๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

TIL/Linux

[Ubuntu] KoNLPy ์„ค์น˜

Supported: Xenial(16.04.3 LTS), Bionic(18.04.3 LTS), Disco(19.04), Eoan(19.10)
1. Install dependencies

# Install Java 1.8 or up
$ sudo apt-get install g++ openjdk-8-jdk python3-dev python3-pip curl

2. Install KoNLPy

$ python3 -m pip install --upgrade pip
$ python3 -m pip install konlpy # Python 3.x


3.MeCab ์„ค์น˜ํ•˜๊ธฐ (์„ ํƒ์‚ฌํ•ญ)

$ sudo apt-get install curl git
$ bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)

์ฐธ๊ณ ๋งํฌ

https://konlpy.org/ko/latest/install/#ubuntu