Yeah, you need to give it the full path to the .prob file.

F.

El ds 15 de 03 de 2014 a les 20:22 -0600, en/na Allasso Travesser va
escriure:
> I get error:
> 
> cat file.2 | apertium-tagger -g en-ca.prob > file.3
> Error: cannot open file 'en-ca.prob'
> 
> I checked:
> 
> ls -l ../apertium-en-ca/en-ca.prob
> -rw-r--r--  1 allasso  staff  48286 Mar 15 19:41 ../apertium-en-ca/en-ca.prob
> 
> I get the same error with:
> 
> cat file.2 | apertium-tagger -g en-es.prob > file.3
> 
> 
> On Mar 15, 2014, at 8:04 PM, Francis Tyers <[email protected]> wrote:
> 
> > Can you run the translation one stage at a time, to see where the fail
> > comes.
> > 
> > $ cat file | apertium-destxt > file.1
> > $ cat file.1 | lt-proc en-ca.automorf.bin > file.2
> > $ cat file.2 | apertium-tagger -g en-ca.prob > file.3
> > $ cat file.3 | apertium-pretransfer > file.4
> > $ cat file.4 | lt-proc -b en-ca.autobil.bin > file.5
> > $ cat file.5 | apertium-transfer -b apertium-en-ca.en-ca.t1x
> > en-ca.t1x.bin > file.6
> > 
> > etc.
> > 
> > then: 
> > 
> > wc -l file.*
> > 
> > Fran
> > 
> > El ds 15 de 03 de 2014 a les 20:01 -0600, en/na Allasso Travesser va
> > escriure:
> >> I just installed and tried en-ca and eo-en - still the same result - no 
> >> output.
> >> 
> >> I recompiled everything in the order given in the wiki, it didn’t help.
> >> 
> >> 
> >> On Mar 15, 2014, at 7:28 PM, Francis Tyers <[email protected]> wrote:
> >> 
> >>> Which language pairs have you tried ? Could you try e.g. af-nl to see if
> >>> you have the same problem ?
> >>> 
> >>> F.
> >>> 
> >>> El ds 15 de 03 de 2014 a les 19:25 -0600, en/na Allasso Travesser va
> >>> escriure:
> >>>> 10.9 (Mavericks).  Yes, I have macports installed.  That is how I 
> >>>> installed the dependencies.
> >>>> 
> >>>> 
> >>>> On Mar 15, 2014, at 7:23 PM, Francis Tyers <[email protected]> wrote:
> >>>> 
> >>>>> What version of mac do you have ? Do you have macports installed ? 
> >>>>> 
> >>>>> F.
> >>>>> 
> >>>>> El ds 15 de 03 de 2014 a les 18:58 -0600, en/na Allasso Travesser va
> >>>>> escriure:
> >>>>>> locale -a does work on Mac, and yes, I have en_US.UTF-8.
> >>>>>> 
> >>>>>> printenv also shows LANG=en_US.UTF-8 for the environment I am running 
> >>>>>> in.
> >>>>>> 
> >>>>>> :-/
> >>>>>> 
> >>>>>> 
> >>>>>> On Mar 15, 2014, at 6:48 PM, Francis Tyers <[email protected]> wrote:
> >>>>>> 
> >>>>>>> There are weird things with locale on the Mac iirc. Do you have the
> >>>>>>> en_US.UTF-8 locale available ? Can you do locale -a ? (Does that even
> >>>>>>> work on Mac?)
> >>>>>>> 
> >>>>>>> Fran
> >>>>>>> 
> >>>>>>> El ds 15 de 03 de 2014 a les 05:39 -0600, en/na Allasso Travesser va
> >>>>>>> escriure:
> >>>>>>>> Does setting locale involve more than the LANG environment variable?
> >>>>>>>> 
> >>>>>>>> 
> >>>>>>>> On Mar 14, 2014, at 7:55 PM, aboobacker sidheeque mk 
> >>>>>>>> <[email protected]> wrote:
> >>>>>>>> 
> >>>>>>>>> Looks like an locale issue . I don't have a mac to verify it :)
> >>>>>>>>> 
> >>>>>>>>> ------------------------------------------------------------------------------
> >>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
> >>>>>>>>> "Graph Databases" is the definitive new guide to graph databases 
> >>>>>>>>> and their
> >>>>>>>>> applications. Written by three acclaimed leaders in the field,
> >>>>>>>>> this first edition is now available. Download your free book today!
> >>>>>>>>> http://p.sf.net/sfu/13534_NeoTech
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Apertium-stuff mailing list
> >>>>>>>>> [email protected]
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> >>>>>>>> 
> >>>>>>>> 
> >>>>>>>> ------------------------------------------------------------------------------
> >>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
> >>>>>>>> "Graph Databases" is the definitive new guide to graph databases and 
> >>>>>>>> their
> >>>>>>>> applications. Written by three acclaimed leaders in the field,
> >>>>>>>> this first edition is now available. Download your free book today!
> >>>>>>>> http://p.sf.net/sfu/13534_NeoTech
> >>>>>>>> _______________________________________________
> >>>>>>>> Apertium-stuff mailing list
> >>>>>>>> [email protected]
> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>>>>> ------------------------------------------------------------------------------
> >>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
> >>>>>>> "Graph Databases" is the definitive new guide to graph databases and 
> >>>>>>> their
> >>>>>>> applications. Written by three acclaimed leaders in the field,
> >>>>>>> this first edition is now available. Download your free book today!
> >>>>>>> http://p.sf.net/sfu/13534_NeoTech
> >>>>>>> _______________________________________________
> >>>>>>> Apertium-stuff mailing list
> >>>>>>> [email protected]
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> >>>>>> 
> >>>>> 
> >>>>> 
> >>>>> 
> >>>> 
> >>> 
> >>> 
> >>> 
> >> 
> > 
> > 
> > 
> 




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to