무회blog

R KoNLP (한글)형태소분석 다운로드 본문

Python/R

R KoNLP (한글)형태소분석 다운로드

최무회 2020. 6. 3. 18:43

cmd : 

java -version ( "11.0.7" 2020-04-14 LTS) 기준으로 테스트 

환경변수 설정후 Rstudio 에서 아래 내용 순서대로 실행 ,, 하면 끝 ,, 

github 에서 받는 방식 

install.packages('devtools')
devtools::install_github('haven-jeon/KoNLP')
install.packages('RmecabKo') # C++ 기반으로 함,
install.packages("installr")
install.packages("rJava")
############################################################################
install.packages("ggplot2")
install.packages("readxl")
install.packages("dplyr")
install.packages("tm")
install.packages("RWeka")
############################################################################
library(RmecabKo)
library(KoNLP)
library(ggplot2)               # mpg ### testData is mpg
library(readxl)
library(dplyr)
library(tm)
library(RWeka)
############################################################################
library(stringr)
library(installr)
library(rJava)                 # Sys.getenv("JAVA_HOME")



Comments