Hi,

you question suggests that you have very little experience with Unix tools.

You are cutting and pasting the command:

~/mosesdecoder/scripts/recaser/train-truecaser.perl --model
~/corpus/truecase-model.en --corpus
~/corpus/news-commentary-v7.fr-en.tok.en

which due to formatting was on two lines into the terminal screen,
where each line is interpreted as a separate command, resulting
in the error messages you observe.

Please read up a bit more on basic Unix usage and get familiar
with it. You may also benefit from using experiment.perl that
carries out all the step with a single command and a single
configuration file.

-phi


On Wed, Dec 12, 2012 at 3:13 PM, OYELEKE ODOJE <[email protected]> wrote:
>
> Hi Phillip
>
> Thanks for your usual assistance.
> I was above to fix the last error using your advice i.e tokenisation was done 
> successfully but a little problem with truecaser. Runing the command (manual 
> pg 71), bellow is the error displayed:
> mrodoje@ubuntu:~/mosesdecoder$ 
> ~/mosesdecoder/scripts/recaser/train-truecaser.perl --model 
> ~/corpus/truecase-model.en --corpus
> Option corpus requires an argument
> train-truecaser.perl --model truecaser --corpus cased 
> [--possiblyUseFirstToken] at 
> /home/mrodoje/mosesdecoder/scripts/recaser/train-truecaser.perl line 16.
> mrodoje@ubuntu:~/mosesdecoder$ ~/corpus/news-commentary-v7.fr-en.tok.en
> bash: /home/mrodoje/corpus/news-commentary-v7.fr-en.tok.en: Permission denied
>
> what you you think I should do to fix this error.
>
> Thanks
>
> Clement Odoje
> Department of Linguistics and African Languages
>
> University of Ibadan,
>
> Ibadan, Nigeria
>
> +2348032387999
> What you do today becomes history tomorrow, what will you be remembered for?
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to