Commit Graph

14151 Commits

Author SHA1 Message Date
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
Hieu Hoang
1c4df9fc5e Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-04 16:47:32 +04:00
Hieu Hoang
7047c591c8 Beautify before cruise control test. Push using MosesAdmin account, must be set up with ssh. 2015-06-04 16:46:56 +04:00
MosesAdmin
5696a59ae4 daily automatic beautifier 2015-06-04 13:41:46 +01:00
Hieu Hoang
0e11919ffb Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-04 16:34:19 +04:00
Hieu Hoang
ca82e9a244 don't run beautify from cruise control. Not master, a particular commit 2015-06-04 16:34:02 +04:00
Hieu Hoang
bf1dad4fe9 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-04 14:52:00 +04:00
Phil Williams
8653bd8159 Ongoing moses/phrase-extract refactoring 2015-06-03 14:20:00 +01:00
Phil Williams
9097fd8965 Ongoing moses/phrase-extract refactoring 2015-06-03 14:09:49 +01:00
Phil Williams
ed321791a7 Ongoing moses/phrase-extract refactoring 2015-06-03 11:10:45 +01:00
Phil Williams
5e09d3dc71 Ongoing moses/phrase-extract refactoring 2015-06-03 10:33:46 +01:00
Phil Williams
2e21f051f2 Ongoing moses/phrase-extract refactoring 2015-06-03 10:05:36 +01:00
Phil Williams
6bea23357c Ongoing moses/phrase-extract refactoring 2015-06-03 09:28:38 +01:00
Hieu Hoang
3ea5faead8 codelite 2015-06-02 21:44:58 +04:00
Hieu Hoang
d624fc903e Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-06-02 21:04:51 +04:00
Jeroen Vermeulen
1d7ed728ee Rename ‘aux’ to ‘auxiliary’ for Windows' sake.
Any filename like “aux” or “aux.*” is special in Windows, and can't be
opened, dir'ed, and so on.  This was causing some people problems.
2015-06-03 00:00:57 +07:00
Hieu Hoang
efdb8566b1 delete ChangeSource(). Not used 2015-06-02 21:00:32 +04:00
Phil Williams
2f04d4a56e Ongoing moses/phrase-extract refactoring 2015-06-02 15:23:41 +01:00
Phil Williams
5ece895ab4 Ongoing moses/phrase-extract refactoring 2015-06-02 14:00:56 +01:00
Phil Williams
0c61970ac7 Ongoing moses/phrase-extract refactoring 2015-06-02 13:56:03 +01:00
Jeroen Vermeulen
85c23ed7dc Fix some JS lint. 2015-06-02 18:05:12 +07:00
Jeroen Vermeulen
cfeba5d0cb Merge branch 'more-lint': fix more lint. 2015-06-02 17:35:59 +07:00
Jeroen Vermeulen
b3e577be76 Fixing lint. Only 600 or so lines of errors left! 2015-06-02 17:29:32 +07:00