支持外语支持
我的代码
library("lsa")
Loading required package: SnowballC
trm = textmatrix("s/")
错误
[lsa] - could not open file s/s.txt due to encoding problems of the file.
或我做错了什么
产生错误的文件是amazon
的源页面答案 0 :(得分:1)
您可以尝试在Notepad ++中加载文件,然后将其另存为不同的编码。还有一些实用程序可以转换它,我在Git-bash中使用一个有时称为iconv的实用程序。您必须安装Git才能访问它。