Hi -- The input to BitPar is one word per line, with blank lines separating sentences (see doc).
Cheers, Alex On Thu, Mar 7, 2013 at 7:33 PM, Ken Fasano <[email protected]> wrote: > I am working through the tree-based tutorial, and have set up the BitPar > parser. I can run its script with a phrase echoed on the command line with > both English and German phrases/grammars, but if I try to run Bitpar on a > News Commentary corpus file after processing (it's "clean"), I get a > segfault error. Even if I input a file with one line, "this is a test .", I > get the same error. > > Here's the command > > ~/parsers/BitPar/bitpar \ > > ~/parsers/BitPar/grammars/EnglishParser/PennTB/grammar \ > > ~/parsers/BitPar/grammars/EnglishParser/PennTB/lexicon \ > > -u ~/parsers/BitPar/grammars/EnglishParser/PennTB/open-class-tags \ > > -w ~/parsers/BitPar/grammars/EnglishParser/PennTB/wordclass.txt \ > > ~/corpus/news-commentary-v7.de-en.clean.en \ > > ~/corpus/news-commentary-v7.de-en.annotated.en.xml > > > > reading the grammar...finished > > reading the lexicon...finished > > Segmentation fault (core dumped) > > > Any help would be appreciated! > > > Thank you, > > Ken Fasano > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
