CWB编码语料库
根据 Corpus Work Bench,要对语料库进行编码,我需要使用 cwb-encode perl 脚本
“对语料库进行编码,即使用 cwb-encode 工具将垂直文本转换为 CWB 二进制格式。请注意,下面的命令必须是在一行中输入。” http://cogsci.uni-osnabrueck.de/~korpora /ws/CWBdoc/CWB_Encoding_Tutorial/node3.html
$ cwb-encode -d /corpora/data/example -f example.vrt -R /usr/local/share/cwb/registry/example -P pos -S s
当我尝试时,它说文件丢失,但我确定该文件位于 $HOME/corpora/data/example 中,错误是
$ cwb-encode -d /corpora/data/example -f example.vrt -R /usr/local/share/cwb/registry/example -P pos -S s
example.vrt: No such file or directory
Can't open input file example.vrt!
任何人都可以弄清楚为什么?
According to the Corpus Work Bench, to encode a corpus i need to use the cwb-encode perl script
"encode the corpus, i.e. convert the verticalized text to CWB binary format with the cwb-encode tool. Note that the command below has to be entered on a single line." http://cogsci.uni-osnabrueck.de/~korpora/ws/CWBdoc/CWB_Encoding_Tutorial/node3.html
$ cwb-encode -d /corpora/data/example -f example.vrt -R /usr/local/share/cwb/registry/example -P pos -S s
when i tried it, it says the file is missing but i'm sure the file is in $HOME/corpora/data/example, the error was
$ cwb-encode -d /corpora/data/example -f example.vrt -R /usr/local/share/cwb/registry/example -P pos -S s
example.vrt: No such file or directory
Can't open input file example.vrt!
can anyone figure out why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如何提供
example.vrt
的完整路径:How about giving full path to
example.vrt
: