Hi all...i am using Assamese and English parallel corpus for my translation
and trained them. But some proper nouns are not translated.This is because
i have a very small corpus. So i want to use the transliteration process in
my translation system.
i am using this command for my translation: echo 'কানাদা এখন বিশাল দেশ ।'|
~/mymoses/bin/moses -f ~/work/mert-work/moses.ini
This gave me the output "কানাদা is a vast country".
This is because the word "কানাদা" is not in my parallel corpus.
So i took some parallel list of words in Assamese and English, and break
each word character-wise. Thus, each line of the two files would have
single words with a space between each character. i have used these 2 files
to train the system as normal translation task.
Then i used the following command echo 'কানাদা এখন বিশাল দেশ ।'|
~/mymoses/bin/moses -f ~/work/mert-work/moses.ini | ./space.pl
Here "space.pl" is perl file that break the Assamese word character-wise"
This gave me the output "ক া ন া দ া is a vast country"
I had to break the word because i have trained the system character-wise..

Then i used the Translation along with the transliteration system that i
have trained, using the command:
echo 'কানাদা এখন বিশাল দেশ ।'| ~/mymoses/bin/moses -f
~/work/mert-work/moses.ini | ./space.pl | ~/mymoses/bin/moses -f
~/work1/train/model/moses.ini

This gave me the output "c a n a d a is a vast country"

The characters are transliterated..but the only problem is the spaces
between the word.So i want to use a perl file that will join the word. My
final command will be
echo 'কানাদা এখন বিশাল দেশ ।'| ~/mymoses/bin/moses -f
~/work/mert-work/moses.ini | ./space.pl | ~/mymoses/bin/moses -f
~/work1/train/model/moses.ini | ./join.pl

Help me with this "join.pl" file to join the word to get the final output
like this: "canada is a vast country"


*Pranjal Das*
Department of Information Technology,
Institute of Science and Technology,
Gauhati University,Guwahati,Assam
Phone- +91-8399879454
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to