I am using Ubuntu14.04 and gcc 4.4.7 I used used ./bjam --with-mm I found the typename was causing the problem and I changed the ./moses/TranslationModel/UG/mm/ug_bitext.h file
typedef typename boost::unordered_map<uint64_t, jstats> trg_map_t; to typedef boost::unordered_map<uint64_t, jstats> trg_map_t; and it compiles successfully More question on Retraining: 1. - the word alignment between these files in symal output format is it the standard format found in alligned.grow-diag-final i.e. 0-0 1-1 2-2 2-3 6-4 3-5 4-5 5-5 6-5 7-6 8-7 9-8 0-0 1-1 2-2 3-3 4-4 ... 2. I have normal training and aligned corpus i.e.e train.en, train.fr andalligned.grow-diag-final. During retraining we need to do the following % zcat ${CORPUS}.${L1}.gz | mtt-build -i -o /some/path/${CORPUS}.${L1} % zcat ${CORPUS}.${L2}.gz | mtt-build -i -o /some/path/${CORPUS}.${L2} % zcat ${CORPUS}.${L1}-${L2}.symal.gz | symal2mam /some/path/${CORPUS}.${L1}-${L2}.mam % mmlex-build /some/path/${CORPUS} ${L1} ${L2} -o /some/path/${CORPUS}.${L1}-${L2}.lex -c /some/path/${CORPUS}.${L1}-${L2}.coc I am unable to understand how ${CORPUS}.${L1}.gz,${CORPUS}.${L1}.gz and ${CORPUS}.${L1}-${L2}.symal.gz files are generated. Or are they refering to the standard training and alignment files? Thanks, -------------------------------- Sandipan Dandapat Postdoctoral Researcher CNGL, School of Computing Dublin City University Google Scholar Profile: http://scholar.google.co.in/citations?user=DWD_FiQAAAAJ&hl=en On Wed, Jul 30, 2014 at 4:51 PM, Hieu Hoang <hieu.ho...@ed.ac.uk> wrote: > what OS & version are you using? What gcc version are you using? What is > the exact command you used to compile? > > > On 30 July 2014 14:47, Sandipan Dandapat <sandipandanda...@gmail.com> > wrote: > >> Hi, >> I was compiling mosesdecoder with './bjam --with-mm' to use memory-mapped >> dynamic suffix array phrase table. The build failed. I am attaching the log >> here. Can you please help me to find the problem. The build worked without >> --with-mm option. >> >> Thanks and regards, >> sandipan >> >> -------------------------------- >> Sandipan Dandapat >> Postdoctoral Researcher >> CNGL, School of Computing >> Dublin City University >> Google Scholar Profile: >> http://scholar.google.co.in/citations?user=DWD_FiQAAAAJ&hl=en >> >> _______________________________________________ >> Moses-support mailing list >> Moses-support@mit.edu >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support