如果我在马勒中运行cmd中没有空格的路径,这是可以的。
Mallet导入-dir--输入E:\Mallet\mallet-2.0.8RC3\sample-data\web\en -输出E:\Mallet\topicout\weben.mallet -保持顺序-删除-停止词
上面没问题。我将\n下面的文件复制到路径包含空格的另一个文件夹中。我在下面使用引号,但不起作用。Cmd提示错误数据\eco。您能帮我处理这个命令路径中的空格吗?
输入“F:\0经济学家数据\eco数据\最终经济学家1991-2016年从Abi Proquest\所有文章\cn article\cn_1991”-输出“F:\0经济学家数据\eco数据\最终经济学家1991-2016年从Abi Proquest\All article\cn_1991_lda\cn91.mallet\cn article\cn_1991_lda\cn91.mallet”-保持顺序-删除-停止词句
如何处理cmd行路径中的空格?
我在Windows 7上使用Mallet2.0.8。
发布于 2019-03-10 03:59:28
- Type `dir "F:\0economist data\eco data\final economist 1991-2016 8 country from Abi Proquest\All article\cn article\cn_1991"` and `dir "F:\0economist data\eco data\final economist 1991-2016 8 country from Abi Proquest\All article\cn article\cn_1991_lda\cn91.mallet"` to verify both paths
- Consider changing your path arguments to `F:/0economist data/eco data/final economist 1991-2016 8 country from Abi Proquest/All article/cn article/cn_1991"` and "F:/0economist data/eco data/final economist 1991-2016 8 country from Abi Proquest/All article/cn article/cn\_1991\_lda/cn91.mallet"`
- Consider using `dir/x` and use the 8.3 equivalent
https://stackoverflow.com/questions/55079208
复制相似问题