Leila Tavakoli <leila.tavakoliii@...> writes: > > > Hi, > I need to tune my English-Persian development set, and i use this command: > > > root <at> ubuntu:/home/msho/Desktop/Shafagh/moses-default/scripts/training# ./mert-moses.pl /mnt/hgfs/H/dev/en/en.txt /mnt/hgfs/H/dev/ref/ /home/msho/Desktop/Shafagh/moses-default/bin/moses /mnt/hgfs/H/Train150/model/moses.ini -working-dir /mnt/hgfs/H/Train150/model/mert -rootdir /home/msho/Desktop/Shafagh/moses-default/scripts -mertdir /home/msho/Desktop/Shafagh/moses-default/bin > > > > run1 is incomplete and terminal displays this error: > > > .../moses-default/bin/moses: 3: Syntax error: Unterminated quoted string > Exit code: 2 > > Failed to run moses with the config filtered/moses.ini at ./mert-moses.pl line 1271. >
Hi Leila, the error looks like something you get from a bash script, not from a binary program. Can you please confirm that you successfully compiled moses with bjam, and that /home/msho/Desktop/Shafagh/moses-default/bin/moses is correctly recognized as a binary? You can run the 'file' command to test this. Here's what I get: file /data/tools/mosesdecoder/bin/moses /data/tools/mosesdecoder/bin/moses: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x3aab40a7b36b5041b0a57e08f015265e28fb6006, not stripped best wishes, Rico _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
