On 12 April 2013 22:50, Mohit Aggarwal <[email protected]> wrote: > Hi, > > I tried to tag a corpus by using moses as given in the coding challenge page > http://wiki.apertium.org/wiki/Generating_lexical-selection_rules_from_a_parallel_corpus > . > I first cleaned the corpus by > > perl (path to your mosesdecoder)/scripts/training/clean-corpus-n.perl > europarl-v7.es-en es en europarl.clean 1 40 > > then I tried to tag the corpus by > nohup cat europarl.clean.en | apertium-destxt |\ > apertium -f none -d /home/fran/source/apertium-en-es en-es-pretransfer > > europarl.tagged.en & > > But each time I execute this command the output tagged file contains > different > number of lines which is not equal to the number of lines in the input file. > > > Please tell me is there something I'm doing wrong.
The most obvious thing that seems wrong to me is that you probably don't have a directory named '/home/fran/source/apertium-en-es' -- <Sefam> Are any of the mentors around? <jimregan> yes, they're the ones trolling you ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
