2017-03-03 57 views
0

我从这里下载源代码:按照指示如何运行bashscript?

autoreconf -vfi 
./configure 
make 
make install #if neccesary prefix with sudo 
ldconfig  #not needed on windows, on linux sudo may be needed 

,我已复制粘贴我尊重tr.dic https://github.com/hunspell/hunspell

是解压到一个文件夹中的Ubuntu

然后编译和tr.aff文件导入到src/tools文件夹中

在终端导航

然后我打电话wordspell命令,但它总是失败

下面的截图

enter image description here

这是词形等bash脚本:https://github.com/hunspell/hunspell/blob/a6d32ee604e99ffc1919f38664817a2ee1500774/src/tools/wordforms

+0

'/ wordforms',而不是'wormform'如果你还没有加入它到你的'$ PATH' – Aaron

回答

1
  1. ./wordforms./wordforms.sh
  2. 您可能需要使其可执行chmod +x wordforms
0

你可以看到有一个文件名为 wordforms.sh。 你可以把它可执行文件

chmod +x wordforms.sh 

然后执行它作为

./wordforms.sh [arguments] 

否则,

bash wordforms.sh [arguments]