$:~/mgizapp/scripts$ ./plain2snt-hasvcb.py
Error, the input should be
./plain2snt-hasvcb.py evcb fvcb etxt ftxt esnt(out) fsnt(out) evcbx(out) fvcbx(out)
You should concatenate the evcbx and fvcbx to existing vcb files
有人可以解释一下plain2snt 脚本的所有acran 输入吗?该脚本来自http://geek.kyloo.net/software/doku.php/mgiza:forcealignment的用于单词对齐的 mgiza++ 程序
evcb = ? #是source.vcb文件吗?fvcb = ? #是target.vcb文件吗?
esnt(out) = ? fsnt(出)=?
evcbx(出) = ? fvcbx (输出) = ?
回答
我设法让它工作
$mkcls -n10 -psourcelangfile.vcb -Vsourcelangfile.vcb.classes
$mkcls -n10 -psourcelangfile.vcb -Vtargetlangfile.vcb.classes
$plain2snt sourcelangfile targetlangfile
$snt2cooc sourcelang_targetlang.cooc sourcelangfile.vcb targetlangfile.vcb sourcelangfile_targetlangfile.snt