Commit Graph

14167 Commits

Author SHA1 Message Date
XapaJIaMnu
ea23c921b3 Make getScore be able to access ttasksptr. Only works with suffix array for now, other people can implement it in their pts 2015-06-25 17:52:55 +01:00
XapaJIaMnu
fcc9bb1e60 when using the suffix array PT, set the ttask in the targetPhrase 2015-06-25 16:52:14 +01:00
XapaJIaMnu
943d814f79 Duplicate constructors to include ttasksptr.Works 2015-06-25 16:36:18 +01:00
XapaJIaMnu
a3ecd9f2a7 Revert "Break everything by trying to add ttasksptr to TargetPhrase" and try an easier approach
This reverts commit afdc1b480e.
2015-06-25 15:47:39 +01:00
XapaJIaMnu
afdc1b480e Break everything by trying to add ttasksptr to TargetPhrase 2015-06-25 15:47:17 +01:00
XapaJIaMnu
47a488767e Enable the bias weights to be (re)set by the server. 2015-06-25 13:12:33 +01:00
XapaJIaMnu
5a0168a6fa forgot to negate a condition 2015-06-23 17:27:01 +01:00
XapaJIaMnu
e50926abf6 Enable the Suffix array to get context_weights from command line 2015-06-23 16:58:58 +01:00
XapaJIaMnu
69c1308f01 Add context_weights parameter to command line 2015-06-23 15:02:15 +01:00
XapaJIaMnu
aaf8397d6f Make it possible for TranslationTasks to be accessed by the LM 2015-06-23 13:24:42 +01: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
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