Commit Graph

13738 Commits

Author SHA1 Message Date
Jeroen Vermeulen
63299df447 Fix undefined isnan() on Cygwin gcc 4.8.
Include <cmath>, where isnan() is defined, and qualify use with namespace: std::isnan().
2015-02-13 13:54:29 +01:00
Barry Haddow
34b139e2ae Remove debug 2015-02-13 12:14:18 +00:00
Phil Williams
92a21f9d3a train-model.perl: fix "argument isn't numeric" warning 2015-02-13 11:55:39 +00:00
Phil Williams
7e54e23fe2 Update transliteration scripts to use the on-disk phrase table
The scripts now use CreateOnDiskPt instead of processPhraseTable (which
is no longer supported and was removed by commit f3a84fc01).
2015-02-13 11:36:16 +00:00
Ulrich Germann
fa3f82a04d Merge branch 'master' into sampled-lexicalized-reordering 2015-02-13 02:22:37 +00:00
Ulrich Germann
3fb8f58b4e Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-02-13 01:34:45 +00:00
Hieu Hoang
2a424da4b7 minor compile error 2015-02-12 16:30:07 +00:00
Phil Williams
33df7fd2b4 Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values 2015-02-12 13:03:26 +00:00
Phil Williams
e1d60211a4 filter-rule-table: comments + minor clean-up. 2015-02-11 12:03:27 +00:00
Kenneth Heafield
8fcf00869d Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-02-10 10:44:59 -05:00
Kenneth Heafield
ee39fdbaa5 Relative path 2015-02-10 10:43:10 -05:00
Phil Williams
02f5ada680 filter-rule-table: support for "hierarchical" and "s2t" model types
Output should match filter-rule-table.py, but filtering is faster.  Some rough
timings:

             That        This
  System A    0h 13m     0h 04m
  System B   18h 03m     0h 51m

System A is WMT14, en-de, string-to-tree (32M rules, 3,000 test sentences)
System B is WMT14, cs-en, string-to-tree (293M rules, 13,071 test sentences)
2015-02-10 15:11:10 +00:00
Matthias Huck
0de206f359 fixing a bug from commit 70e8eb5 2015-02-10 03:12:02 +00:00
Ulrich Germann
31da9e8a01 Adapted for new return type of TranslationOptionCollection::GetTranslationOptionList(). 2015-02-10 01:50:36 +00:00
Ulrich Germann
fa99e25192 Changed return type of CreateTranslationOptionsForRange...() functions from void to bool. 2015-02-10 01:20:19 +00:00
Ulrich Germann
7843c94d1f Code cleanup. 2015-02-10 01:17:28 +00:00
Charley C
e40606d08f default path update in train-recaser 2015-02-09 18:36:31 -05:00
Ulrich Germann
4bef4a8a51 Reformatting to improve code readability. 2015-02-09 23:17:12 +00:00
Ulrich Germann
d3e39c2138 Fixed minor issues that triggered compiler warnings. 2015-02-09 23:16:00 +00:00
Ulrich Germann
3fc2fbe417 Fixed order of member initialization to avoid compiler warngins. 2015-02-09 23:13:53 +00:00
Ulrich Germann
77b439d5bd Bug fix after merging branches. 2015-02-09 23:13:01 +00:00
Ulrich Germann
8a1c8af7a7 Bug fix to commenting out unused variable. 2015-02-09 23:11:17 +00:00
Ulrich Germann
435b1edea8 Bug fix to commenting out unused variable. 2015-02-09 23:09:40 +00:00
Ulrich Germann
6ef257a9e9 Bug fix in TranslationOptionList::SelectNBest(N). 2015-02-09 23:06:11 +00:00
Ulrich Germann
8ed69fb56a Some #defines were redefines when using IRSTLM. Now #undef-ing them prior to redefining them to avoid compiler warnings. 2015-02-09 23:04:17 +00:00
Ulrich Germann
af9359e287 run-test-{extract|mert|misc|scorer}.perl now log the command line executed for the specific test. 2015-02-09 23:00:04 +00:00
Matthias Huck
53ce063214 tuneable-components config parameter for feature functions 2015-02-09 13:52:05 +00:00
Hieu Hoang
ce80e53b30 set scores for lattice path 2015-02-09 11:43:44 +00:00
Hieu Hoang
066a681b43 fix word lattice input feature for non-binary pt 2015-02-08 00:50:23 +00:00
Hieu Hoang
755bd609f5 Using boost for prefix/suffix checks /Jeroen Vermeulen 2015-02-06 15:52:25 +00:00
Hieu Hoang
4145999e33 virtual destructor for KenOSMBase /Jeroen Vermeulen 2015-02-06 15:37:47 +00:00
Hieu Hoang
65f94e615b check args for KENLM 2015-02-06 11:53:25 +00:00
Ulrich Germann
be5799dca3 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts:
	moses/TranslationOptionCollection.cpp
	moses/TranslationOptionCollectionLattice.cpp
	moses/TranslationOptionCollectionLattice.h
	moses/TranslationOptionList.h
2015-02-06 01:30:00 +00:00
Ulrich Germann
80a9f84422 Adapted code to deal with new return type of TranslationOptionCollection::GetTranslationOptionList(...). 2015-02-05 23:35:53 +00:00
Ulrich Germann
68f418a12a Added struct Better for ranking TranslationOptions. 2015-02-05 23:34:34 +00:00
Ulrich Germann
693ddb0cf5 Changed return type of CreateTranslationOptionsForRange(...); code reformatting. 2015-02-05 23:31:39 +00:00
Ulrich Germann
f11e2c9006 Changed return type of CreateTranslationOptionsForRange(...). 2015-02-05 23:30:56 +00:00
Ulrich Germann
db013975b0 Code reorganization and code cleanup. 2015-02-05 23:06:25 +00:00
Ulrich Germann
006297831c Changed return types of member functions CreateTranslationOptionsForRange(...) and GetTranslationOptionList(...). 2015-02-05 23:04:53 +00:00
Ulrich Germann
c464420586 Changed return type of CreateTranslationOptionsForRange(...) from void to bool. 2015-02-05 22:49:28 +00:00
Ulrich Germann
dfd3a53e9e Changed return type of CreateTranslationOptionsForRange(...) from void to bool. 2015-02-05 22:48:46 +00:00
Ulrich Germann
35673f4274 Changed return type of CreateTranslationOptionsForRange(...) from void to bool. Reformatting. 2015-02-05 22:47:25 +00:00
Ulrich Germann
19e7cf216c Changed return type of CreateTranslationOptionsForRange(...) from void to bool. 2015-02-05 22:45:33 +00:00
Ulrich Germann
cc5271bf42 Reformatting. Added member functions SelectNBest and PruneByThreshold. 2015-02-05 22:44:11 +00:00
Ulrich Germann
2073963e08 Reformatting. 2015-02-05 22:29:47 +00:00
Ulrich Germann
c1462fa87d Reformatted for readability. 2015-02-05 22:20:22 +00:00
Ulrich Germann
6cb520d1b2 Commented out unused variable to reduce compiler warnings. 2015-02-05 22:18:11 +00:00
Ulrich Germann
9438c8c1f0 Commented out unused variable to reduce compiler warnings. 2015-02-05 22:14:47 +00:00
Ulrich Germann
bafdc3fa70 Commented out unused variable to reduce compiler warnings. 2015-02-05 22:14:12 +00:00
James Zhang
8b61f396a7 Simple structure change to make moses main() function available in libmoses.a 2015-02-05 14:43:45 -05:00