Re: [Moses-support] Exception Printing

2011-02-23 Thread Kenneth Heafield
On 02/23/11 17:02, Barry Haddow wrote: > >> There's a question of location: for my purposes this should be linked >> into kenlm/build_binary, kenlm/query, moses-cmd/src/moses, etc. I see >> the mert implementation and lmserver also throw exceptions, so it should >> probably be linked in there as

Re: [Moses-support] Exception Printing

2011-02-23 Thread Barry Haddow
> There's a question of location: for my purposes this should be linked > into kenlm/build_binary, kenlm/query, moses-cmd/src/moses, etc. I see > the mert implementation and lmserver also throw exceptions, so it should > probably be linked in there as well. Where would you suggest it be > place

Re: [Moses-support] Exception Printing

2011-02-23 Thread Kenneth Heafield
On 02/23/11 15:48, Barry Haddow wrote: > Hi Ken > > Thanks for pointing this out. I'd always assumed that uncaught exception > messages got printed (they do for me) so was happy to have them float up the > stack. I thought the same. Works for me. But then Nicola was trying to check that thei

Re: [Moses-support] Exception Printing

2011-02-23 Thread Barry Haddow
Hi Ken Thanks for pointing this out. I'd always assumed that uncaught exception messages got printed (they do for me) so was happy to have them float up the stack. Adding such a terminate handler seems like a good idea. Are there any unexpected consequences? Are you just proposing to add it

[Moses-support] Exception Printing

2011-02-23 Thread Kenneth Heafield
Hiya Moses, There are a fair number of exceptions thrown that are not intended to be caught e.g. Sentence.cpp: 107: if (!ProcessAndStripXMLTags(line, xmlOptionsList, m_reorderingConstraint, xmlWalls )) { const string msg("Unable to parse XML in line: " + line); TRACE

Re: [Moses-support] news-commentary-v6.de-en.de

2011-02-23 Thread Philipp Koehn
Hi, I fixed this now. -phi On Wed, Feb 16, 2011 at 8:04 PM, Joerg Tiedemann wrote: > There seems to be still some non-German text in the news-commentary corpus: > Lines 4296-4333 > > Jörg > > > -- > ** >  Jörg > Ti

[Moses-support] Add feature function in moses chart

2011-02-23 Thread Fabienne Braune
Hello everyone, I have a problem with adding feature functions in moses_chart : It seems to work at decoding : it appears in the score breakdown of the ChartHypothesis and it affects the output. The problem I have is with mert : my new feature seems to be read but it does not appear in the n-best

Re: [Moses-support] moses loading phrase table two times?

2011-02-23 Thread Barry Haddow
Hi Sylvain Don't worry, it's just that the debug messages need cleaned up [bhaddow@odin moses]$ grep -i 'Start loading Phrase' moses/src/*.cpp moses/src/PhraseDictionary.cpp: PrintUserTime("Start loading phrase table from " + m_filePath); moses/src/StaticData.cpp:

[Moses-support] moses loading phrase table two times?

2011-02-23 Thread Sylvain Raybaud
hello I just noticed that moses seems to be loading the phrase table two times : Start loading PhraseTable /global/markov/raybauds/MODELS/GIZA-MOSES-EUROPARL- WMT09/fr-en/model/phrase-table.gz : [13.000] seconds filePath: /global/markov/raybauds/MODELS/GIZA-MOSES-EUROPARL-WMT09/fr- en/model/phras

[Moses-support] Extension to phrase scoring options

2011-02-23 Thread Philipp Koehn
Hi everyone, I added options to the phrase scoring that allows for the selection of only a subset of the scores in the translation table. Usage is documented and explained here: http://www.statmt.org/moses/?n=FactoredTraining.ScorePhrases In an earlier update last week, I also added a feature to