Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to change language names #9

Open
lefterav opened this issue Feb 7, 2013 · 1 comment
Open

Not possible to change language names #9

lefterav opened this issue Feb 7, 2013 · 1 comment
Assignees
Labels

Comments

@lefterav
Copy link
Collaborator

lefterav commented Feb 7, 2013

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

@ghost ghost assigned kashifshah Feb 22, 2013
@kashifshah
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants