The given example is not working
Anwarvic opened this issue · 1 comments
Hi all,
Thank you for the effort taken to create this tool, it's really helpful.
I clone your repo and installed the dependencies and everything looks fine. I tried the Web UI method using the provided example (Hindi-English) and it's not working. And when I dug a little bit into the code, I found a lot of problems. For example,
The generate
button calls a function called run_gcm()
which runs a whole python script called sequence_run.py
which runs another script called pre_gcm.py
. In pre_gcm.py
file, we can see that the main()
function is getting called when we run the script with an empty argument when it's supposed to be a parsed sentence.
Is this a bug? or I missed something.
Also, is this tool stable for usage, or it is still under development?
Either way, thank you for your efforts!
Hi Anwar,
The code that you've referenced is alright, it's designed that way. We don't call function main()
with params because we know the value of those params from the config.ini
file.
Sometimes if the quality of alignments aren't good, the GCM gives an empty output. Is this the issue you're facing?
- How did you generate the alignments?
- Did you try it for a bunch of different Hindi-English sentences?