Closed mrchypark closed 6 years ago
I don't know why function is work...
Hi @mrchypark ,
The problem is the location you provide for sys_dic
.
> pos(tar, sys_dic = "c:/mecab")
Exception:
list()
> pos(tar)
$`안녕하세요 저는 박찬엽 입니다.`
[1] "안녕/NNG" "하/XSV" "세요/EP+EF" "저/NP" "는/JX" "박찬엽/NNP" "입니다/VCP+EF" "./SF"
> pos(tar, sys_dic = "c:/mecab/mecab-ko-dic/")
$`안녕하세요 저는 박찬엽 입니다.`
[1] "안녕/NNG" "하/XSV" "세요/EP+EF" "저/NP" "는/JX" "박찬엽/NNP" "입니다/VCP+EF" "./SF"
You should put the location for the MeCab-dic
(or MeCab-ko-dic
, in this case).
Thanks!
Do you have any plan to manage sys_dic location with environmental variables?
but when format = "data.frame" return is ok.
my sessionInfo() below