cassys from command line Unitex-GramLab ver 3.1

65 views
Skip to first unread message

Ranka stanković

unread,
Jun 19, 2017, 11:35:10 AM6/19/17
to Unitex-GramLab

Hi,

I’m having problems with calling cascades in Unitex version 3.1 from batch file (under windows). Previously, we used version 3.0 with absolute paths of transducers in csc file. At the moment we use ver. 3.1 with relative paths in csc file. Under Unitex IDE everything works fine, but in command line use, the error occurs.

Here is command line:

UnitexToolLogger.exe Cassys "-aD:\MojUnitex\Serbian-Latin\Alphabet.txt" "-tD:\tmp\a\b.snt" "-lD:\MojUnitex\Serbian-Latin\Cassys\Kor1.csc" "-wD:\MojUnitex\Serbian-Latin\Dela\DelaCorr\delacf_corr.bin" "-wD:\MojUnitex\Serbian-Latin\Dela\DelaCorr\delaf_corr.bin" -v "-rD:\MojUnitex\Serbian-Latin\Graphs\" "--input_offsets=D:\tmp\a\b_snt\normalize.out.offsets" -qutf8-no-bom

Just to mention, variables are set like:

set UNITEX=C:\Program Files (x86)\Unitex-GramLab

set UNITEXPRV=d:\MojUnitex

set UNITEXAPP=%UNITEX%\App

set UNITEXLNG=%UNITEX%\English

set UNITEXLNG0=%UNITEXPRV%\Serbian-Latin

set PATH=%PATH%;%UNITEXAPP%


I would be grateful if someone can help me with this issue or supply an example of command line call. I have used console log form Unitex, but it doesn't help.

Best,

Ranka

Anubhav Gupta

unread,
Jun 20, 2017, 12:20:28 PM6/20/17
to Unitex-GramLab
Hi,

Could you please share the error message ?
Also, could you try the following command:

UnitexToolLogger.exe Cassys "-aD:\MojUnitex\Serbian-Latin\Alphabet.txt" "-tD:\tmp\a\b.snt" "-lD:\MojUnitex\Serbian-Latin\Cassys\Kor1.csc" "-wD:\MojUnitex\Serbian-Latin\Dela\DelaCorr\delacf_corr.bin" "-wD:\MojUnitex\Serbian-Latin\Dela\DelaCorr\delaf_corr.bin" -v "-rD:\MojUnitex\Serbian-Latin\Graphs\\"  -qutf8-no-bom

Regards,
Anubhav

Ranka stanković

unread,
Jun 20, 2017, 1:10:50 PM6/20/17
to Unitex-GramLab
Dear Anubhav,

Problem solved by additional "\", when I put
"-rD:\MojUnitex\Serbian-Latin\Graphs\\"  instead of 
"-rD:\MojUnitex\Serbian-Latin\Graphs\" 
cascades started to work :)

THANK YOU ~  MERCI ~ HVALA

Ranka
Reply all
Reply to author
Forward
0 new messages