Commit Graph

14173 Commits

Author SHA1 Message Date
Hieu Hoang
f7c3d00824 more testing of c++11 waters 2015-06-28 22:20:42 +04:00
Hieu Hoang
f66beabf4f Generation error in EMS due to pruning. Lets see if this works. 2015-06-28 14:03:54 +04:00
Hieu Hoang
82edbb98a7 comments in ini file about default weights 2015-06-28 10:40:43 +04:00
Hieu Hoang
57e213ed19 tighten up extract-parallel on osx. Can now use gsplit and bsd split 2015-06-26 12:18:21 +04:00
Hieu Hoang
c895fa8255 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-26 12:04:55 +04:00
Hieu Hoang
ca54852641 tighten up extract-parallel on osx. Can now use gsplit and bsd split 2015-06-26 11:55:24 +04:00
MosesAdmin
faf7b51fb7 daily automatic beautifier 2015-06-26 00:01:00 +01:00
Hieu Hoang
b83803203e prune generation table in ems 2015-06-25 18:10:31 +04:00
Hieu Hoang
930dce10bf prune multiple files at once. Make up for failure in ems to give the full path of the gen table 2015-06-25 13:02:29 +04:00
Hieu Hoang
c80df1212e prune multiple files at once. Make up for failure in ems to give the full path of the gen table 2015-06-25 10:48:35 +04:00
MosesAdmin
4ec69fbfdf daily automatic beautifier 2015-06-25 00:00:42 +01:00
Hieu Hoang
dce0f33270 prune generation table in ems 2015-06-24 18:35:59 +04:00
Hieu Hoang
555f91eb7e codelite 2015-06-24 18:31:05 +04:00
Hieu Hoang
bac5c2e55c compile error with gcc 2015-06-24 16:24:12 +04:00
Hieu Hoang
8a252398f0 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-24 14:57:43 +04:00
Hieu Hoang
0d34023aad prune generation table 2015-06-24 14:56:37 +04:00
Kenneth Heafield
2a242afa34 Didn't need header 2015-06-22 10:46:12 -04:00
MosesAdmin
e57ca5ec34 daily automatic beautifier 2015-06-22 00:00:43 +01:00
Marcin Junczys-Dowmunt
58f0187e8b Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-21 19:24:53 +02:00
Marcin Junczys-Dowmunt
6151003c13 Remove C++11 oddities 2015-06-21 19:24:43 +02:00
Hieu Hoang
0f943dd9c1 clang compile errors 2015-06-21 21:16:12 +04:00
Marcin Junczys-Dowmunt
1bd10e104c workaround/cleaning for weird copy-constructor behaviour with C++11 2015-06-21 18:27:56 +02:00
Phil Williams
90470e878d Fix some C++11-related compilation errors (clang) 2015-06-19 15:58:14 +01:00
MosesAdmin
f29f67710e daily automatic beautifier 2015-06-18 00:00:39 +01:00
Barry Haddow
425118aa5d bugfixes - working directory 2015-06-17 09:32:29 +01:00
Hieu Hoang
7031992caa use c++11 unordered set code 2015-06-17 11:42:46 +04:00
Hieu Hoang
127b860c6a false alarm. clang does support object list init. Needed to enable c++11 for all toolsets 2015-06-17 11:27:50 +04:00
Hieu Hoang
80f0f71d03 Revert "1st casualty of c++11. clang 2.6 (latest c++ compiler on osx) doesn't support list of object init"
This reverts commit 42c5424c86.
2015-06-17 11:25:27 +04:00
Hieu Hoang
42c5424c86 1st casualty of c++11. clang 2.6 (latest c++ compiler on osx) doesn't support list of object init 2015-06-17 10:58:47 +04:00
MosesAdmin
2a798c0b9f daily automatic beautifier 2015-06-17 00:00:42 +01:00
Rico Sennrich
6c0f875385 testing the waters for c++11
please adjust your compiler options or complain if you rely on a compiler that doesn't support c++11 yet.
2015-06-16 16:43:03 +01:00
Barry Haddow
ad8114ddb0 capitalisation 2015-06-15 16:23:12 +01:00
Hieu Hoang
57f9e0f6af Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-14 20:32:31 +04:00
MosesAdmin
89c2df558c daily automatic beautifier 2015-06-14 00:00:44 +01:00
Jeroen Vermeulen
bd86ceffbe Check for error when opening gzfilebuf.
This replaces a segfault when a file can't be found with an exception.
Not as helpful as it could be yet, but certainly better than just
crashing.

Also, make InputFileStream constructor from path "explicit" to avoid
mistakes.
2015-06-13 21:31:53 +07:00
XapaJIaMnu
166bf7365f Forgot to update the weight config path 2015-06-12 16:56:36 +01:00
XapaJIaMnu
ffd3f2bb6e Added basic BilingualNPLM support to EMS and an example config. 2015-06-12 16:21:24 +01:00
Jeroen Vermeulen
924710f53e On MinGW use Windows _chsize_t, not ftruncate.
This works around a problem when building against MinGW and then running
the resulting Windows binary on WINE.  (Perverse, I know.)  For some
reason the ftruncate() to 0 bytes succeeds, but the subsequent one to a
larger size fails.  Even if the size is just 1 byte.

This happened where GenericModel::InitializeFromARPA called
BinaryFormat::SetupJustVocab, which called MapZeroedWrite, which calls
ResizeOrThrow twice; the second one failed.
2015-06-12 15:11:57 +07:00
Kenneth Heafield
0d54286d3f Require __SSE2__ for i386 to use SSE2 2015-06-11 14:43:10 -04:00
MosesAdmin
47c793ca46 daily automatic beautifier 2015-06-10 00:00:40 +01:00
Jeroen Vermeulen
dbcc264506 Remove unneeded script.
Tom Hoar, the author of this script, asked me to remove it because it
doesn't actually do what the current name says, and can't work without
an additional script which isn't in the repository.
2015-06-09 23:10:27 +07:00
Phil Williams
fa51da28c5 moses/phrase-extract refactoring
Final commit in this round of refactoring (which started with commit
2f735998...).  The main changes are:

  - a general storage mechanism for attribute/value pairs in XML-style
    tree / lattice input.  E.g. the "pcfg-score" and "semantic-role"
    attributes in:

     <tree label="PRP" pcfg-score="1.0" semantic-role="AGENT"> I </tree>

  - consolidation of the various near-duplicate Tree / XmlTreeParser classes
    that have accumulated over the years (my fault)

  - miscellaneous de-crufting
2015-06-09 16:50:27 +01:00
Lexi Birch
b76194a16b Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-06-08 17:13:00 +01:00
Lexi Birch
501c51947b Allowing the truecaser to work on uncased ASR input, pass the -a flag 2015-06-08 16:58:50 +01:00
Hieu Hoang
c306715e82 add back arg -always-create-direct-transoption. Seemed to have dropped out a while ago 2015-06-08 14:38:01 +04:00
MosesAdmin
42b53b7a39 daily automatic beautifier 2015-06-05 00:00:42 +01:00
Phil Williams
c6a3d8e54a Ongoing moses/phrase-extract refactoring 2015-06-04 16:54:31 +01:00
Ulrich Germann
721bfe823b Bug fix: m_nbestSize wasn't initialized in class TranslationRequest. 2015-06-04 16:07:22 +01:00
Phil Williams
f6ddc45224 Ongoing moses/phrase-extract refactoring 2015-06-04 14:36:39 +01:00
Hieu Hoang
6a09042e6a Beautify before cruise control test. Push using MosesAdmin account, must be set up with ssh. 2015-06-04 16:51:22 +04:00