#-*- coding: UTF-8 -*-
install.packages("devtools")
install.packages("stringi")
install.packages("pbapply")
install.packages("Rcpp")
install.packages("RcppProgress")
library(devtools)
install_github("qinwf/cidian")
library(stringi)
library(cidian)
library(rJava)
library(Rwordseg)
setwd('D:/rWork/example')
decode_scel(scel = "./网络流行新词【官方推荐】.scel",
output = "./网络流行新词.txt",
tag = "1",
cpp = TRUE,
progress = TRUE)
出现了图片中问题:In addition: Warning messages:
1: In stri_encode(temp_res, from = FILE_ENCODING, to = "UTF-8") :
input data \xffffff8f\xffffffd8 in current source encoding could not be converted to Unicode
2: In stri_encode(temp_res, from = FILE_ENCODING, to = "UTF-8") :
input data \x65\xffffffd8 in current source encoding could not be converted to Unicode
3: In stri_encode(temp_res, from = FILE_ENCODING, to = "UTF-8") :
input data \x65\xffffffd8 in current source encoding could not be converted to Unicode
4: In stri_encode(temp_res, from = FILE_ENCODING, to = "UTF-8") :
input data \xffffff82\xffffffdd in current source encoding could not be converted to Unicode
5: In stri_encode(temp_res, from = FILE_ENCODING, to = "UTF-8") :
input data \x66\xffffffd8 in current source encoding could not be converted to Unicode
现在不清楚是Rwordseg包安装问题还是什么问题。又没有人知道啊。谢谢了


雷达卡






京公网安备 11010802022788号







