lspecia / quest

Pascal2 Harvest project QuEst
14 stars 15 forks source link

Not possible to change language names #9

Open lefterav opened 11 years ago

lefterav commented 11 years ago

I tried to change the languages in both command line execution (./run.sh) and configuration file. The system failed to run. So I had to disguise my tools and resources to seem like they English and Spanish, and the system ran.

I will have to provide more details about the exact errors that are caused by changing the language, but it seems there are some hard-coded parts that lock the language pair to en-es, irrelevant of what is defined as a parameter

kashifshah commented 11 years ago

I have updated the code and tried with english-french language pair. It works for me now. One need to adapt configuration file as well. i.e name of the source / target language should be changed to the new language wherever it occurs. e.g spanish.tokenizer should be replaced with french.tokenizer spanish.ngramScript.path should be replaced with french.ngramScript.path and so on.

Also one need to change the the run command accordingly according to desired language pair. i.e -lang english french