do you install g++ and build-essential ? ps: if you run make in you home folder, it is not important enough to use sudo, i think so :)
On Fri, Oct 7, 2011 at 11:12 PM, <[email protected]> wrote: > Send Moses-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mit.edu/mailman/listinfo/moses-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moses-support digest..." > > > Today's Topics: > > 1. integrated recasing with generation step (Panos Kanavos) > 2. ??? error in compling GIZA++ (Fong Po Po) > 3. ??? error in Binary Phrase Tables with On-demand Loading > (Fong Po Po) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 07 Oct 2011 02:17:27 +0300 > From: Panos Kanavos <[email protected]> > Subject: [Moses-support] integrated recasing with generation step > To: [email protected] > Message-ID: <18307203.6Hmpupt3he@archlap> > Content-Type: text/plain; charset="iso-8859-7" > > Hi all, > > In the paper "Factored translation models" (Philipp Koehn & Hieu Hoang, > 2007), > there is a section about integrated recasing with an extra generation step. > Can this be done by adding an extra factor that identifies the case of each > word on the target language? > > Thanks. > > Panos > > > > > ------------------------------ > > Message: 2 > Date: Fri, 7 Oct 2011 10:29:00 +0800 (HKT) > From: Fong Po Po <[email protected]> > Subject: [Moses-support] ??? error in compling GIZA++ > To: Moses <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > > > > ----- ????? ---- > ?? Fong Po Po <[email protected]> > ???? HaddowBarry <[email protected]>; ?? <[email protected]> > ????? 2011?10?2? (??) 5:45 PM > ??? error in compling GIZA++ > > > Dear Dr.Barry: > > My gcc version is 4.4.3 > ???????? > handsome@ubuntu:/home/sunnymoon/research/giza-pp$ gcc -v > Using built-in specs. > Target: x86_64-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared > --enable-multiarch --enable-linker-build-id --with-system-zlib > --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix > --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 > --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin > --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic > --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu > --target=x86_64-linux-gnu > Thread model: posix > gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) > > > When I compile GIZA++, it shows this error > handsome@ubuntu:/home/sunnymoon/research/giza-pp$ sudo make > make -C GIZA++-v2 > make[1]: Entering directory `/home/sunnymoon/research/giza-pp/GIZA++-v2' > mkdir optimized/ > g++?? -Wall -W -Wno-deprecated -O3 -DNDEBUG -DWORDINDEX_WITH_4_BYTE > -DBINARY_SEARCH_FOR_TTABLE? -c Parameter.cpp -o optimized/Parameter.o > In file included from Parameter.h:28, > ???????????????? from Parameter.cpp:23: > Pointer.h:27:20: error: stream.h: No such file or directory > Parameter.cpp:24:21: error: fstream.h: No such file or directory > In file included from Parameter.cpp:23: > Parameter.h: In function ?unsigned int mConvert(const std::string&, > unsigned int&)?: > Parameter.h:35: error: ?strcasecmp? was not declared in this scope > In file included from Parameter.cpp:23: > Parameter.h:36: error: ?strcasecmp? was not declared in this scope > Parameter.h: In function ?int mConvert(const std::string&, int&)?: > Parameter.h:40: error: ?strcasecmp? was not declared in this scope > Parameter.h:41: error: ?strcasecmp? was not declared in this scope > Parameter.h: In function ?bool mConvert(const std::string&, bool&)?: > Parameter.h:48: error: ?strcasecmp? was not declared in this scope > Parameter.h:49: error: ?strcasecmp? was not declared in this scope > Parameter.h: In function ?short int mConvert(const std::string&, short > int&)?: > Parameter.h:53: error: ?strcasecmp? was not declared in this scope > Parameter.h:54: error: ?strcasecmp? was not declared in this scope > Parameter.h: In function ?short unsigned int mConvert(const std::string&, > short unsigned int&)?: > Parameter.h:58: error: ?strcasecmp? was not declared in this scope > Parameter.h:59: error: ?strcasecmp? was not declared in this scope > Parameter.cpp: In function ?bool writeParameters(std::ofstream&, const > ParSet&, int)?: > Parameter.cpp:48: warning: ignoring return value of ?char* getcwd(char*, > size_t)?, declared with attribute warn_unused_result > make[1]: *** [optimized/Parameter.o] Error 1 > make[1]: Leaving directory `/home/sunnymoon/research/giza-pp/GIZA++-v2' > make: *** [gizapp] Error 2 > > Why? Can you help me? Thanks! > > Best Regards, > Fong Pui Chi > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20111007/842ac9e4/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Fri, 7 Oct 2011 10:29:20 +0800 (HKT) > From: Fong Po Po <[email protected]> > Subject: [Moses-support] ??? error in Binary Phrase Tables with > On-demand Loading > To: Moses <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > > > > ----- ????? ---- > ?? Fong Po Po <[email protected]> > ???? HaddowBarry <[email protected]> > ????? 2011?10?1? (??) 11:22 PM > ??? error in Binary Phrase Tables with On-demand Loading > > > Dear Dr.Barry: > > ?? I have type this command: > handson@handson-virtual-machine > :/home/tianliang/research/moses-trunk/scripts/tar > get/scripts-20110222-0013/training/model-google-api-loop1$ cat > phrase-table.gz | sort | > /home/tianliang/research/moses-trunk/misc/processPhraseTable??? -ttable 0 0 > - -nscores 5 -out phrase-table > processing ptree for stdin > processPhraseTable: PhraseDictionaryTree.cpp:469: int > Moses::PhraseDictionaryTree::Create(std::istream&, const std::string&): > Assertion `numElement == 3 || numElement == 5' failed. > Aborted > > > I have this error, Why? > Can you help me? Thanks! > > Best Regards, > Fong Pui Chi > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20111007/e3771cd9/attachment-0001.htm > > ------------------------------ > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 60, Issue 8 > ******************************************** > -- Thu.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
