我正在关注https://fomafst.github.io/morphtut.html上的 foma 教程,除了flookup之外,一切都对我有用。我已将 C:\Program Files\foma 添加到我的 PATH 系统变量并编译了 lexc、foma 和 bin 文件,但是当我尝试
C:\Program Files\foma>echo "begging" | flookup english.bin
我明白了
"begging" +?
当我尝试
C:\Program Files\foma>echo "beg+V+PresPart" | flookup -i english.bin
我明白了
"beg+V+PresPart" +?
正确的输出应该是
begging beg+V+PresPart
和
beg+V+PresPart begging
分别。
我最好的猜测是这是 Linux 和 Windows 之间的兼容性问题。我应该怎么做才能完成这项工作?