I'm Trying to run plain2snt.out on two text files in colab, but I get the error /content/giza-pp/GIZA++-v2/plain2snt.out:/content/giza-pp/GIZA++-v2/plain2snt.out: cannot execute binary file.
I installed the library like this:
!git clone https://github.com/moses-smt/giza-pp.git
%cd /content/giza-pp/GIZA++-v2/ !make
and then ran plain2snt.out like this: !bash /content/giza-pp/GIZA++-v2/plain2snt.out /content/drive/MyDrive/big_corp_arabic.txt /content/drive/MyDrive/big_corp_english.txt.
I missing something? I'm working in Google Colab by the way.
I'm Trying to run plain2snt.out on two text files in colab, but I get the error
/content/giza-pp/GIZA++-v2/plain2snt.out:/content/giza-pp/GIZA++-v2/plain2snt.out: cannot execute binary file.I installed the library like this:
!git clone https://github.com/moses-smt/giza-pp.git%cd /content/giza-pp/GIZA++-v2/ !makeand then ran plain2snt.out like this:
!bash /content/giza-pp/GIZA++-v2/plain2snt.out /content/drive/MyDrive/big_corp_arabic.txt /content/drive/MyDrive/big_corp_english.txt.I missing something? I'm working in Google Colab by the way.