Hi James

You need to run the train-truecase.perl script to create a model before 
running truecase.perl. Did the training work correctly? Can you run 'ls 
-l' on the ~/corpus directory?

cheers - Barry

On 29/10/13 14:24, Read, James C wrote:
> Hi,
>
> I'm following the instructions to build a baseline system on 
> http://www.statmt.org/moses/?n=Moses.Baseline
>
> I get up to
>
>
> ~/mosesdecoder/scripts/recaser/truecase.perl \
>     --model ~/corpus/truecase-model.en         \
>     < ~/corpus/news-commentary-v8.fr-en.tok.en \
>     > ~/corpus/news-commentary-v8.fr-en.true.en
>
> and then I get the following error:
>
> ERROR: could not open '/home/myname/corpus/truecase-model.en' at 
> ./truecase.perl line 18.
>
> which is strange because then when I look in corpus the file is there whereas 
> it previously wasn't. I've looked at the script and can't see any reason why 
> the script should die. It checks if it can open the file and dies if not. Any 
> idea what is happening?
>
> James
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to