s/\s+$// to clean the ^M in the first line
and maybe this could help you.
Best wishes
Gary
Message: 2
Date: Tue, 15 Dec 2009 23:27:16 +0800
From: Bill_Lang(Gmail) billlang...@gmail.com
Subject: [Moses-support] How do you solve this moses problem? Thanks
To: moses-support@mit.edu
:27:16 +0800
From: Bill_Lang(Gmail) billlang...@gmail.com
Subject: [Moses-support] How do you solve this moses problem? Thanks
To: moses-support@mit.edu
Message-ID:
7bbace5f0912150727j4c8b6702kdd70df01bb8e1...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1
Hi friend
is
/usr/bin/perl^M, you can use s/\s+$// to clean the ^M in the first line
and maybe this could help you.
Best wishes
Gary
Message: 2
Date: Tue, 15 Dec 2009 23:27:16 +0800
From: Bill_Lang(Gmail) billlang...@gmail.com
Subject: [Moses-support] How do you solve this moses problem? Thanks
Hi!
Yes, I managed to solve it.
During one my earlier attempts Giza++ had generated the vocabulary
incorrectly for some reason.
When the training perl script ran again it did not create the giza++ output
files again as they existed earlier.
This was the problem in my case - the faulty files