Commit Graph

13515 Commits

Author SHA1 Message Date
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
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
Hieu Hoang
70e8eb54ce Using boost for prefix/suffix checks /Jeroen Vermeulen 2015-02-05 16:23:47 +00:00
Hieu Hoang
53afe08da7 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-02-04 11:33:29 +00:00
Hieu Hoang
3e14401a2b KenLM wrapper fix 2015-02-04 11:30:34 +00:00
Ales Tamchyna
fd61d2f810 vw bugfix 2015-02-04 11:33:10 +01:00
Ales Tamchyna
e932e96db7 avoid duplicate generation of source-side features when training VW 2015-02-04 11:07:07 +01:00
Philipp Koehn
f69c1dab02 more efficient default recaser training 2015-02-04 09:18:09 +00:00
Phil Williams
6b9da6c585 filter-rule-table: merge changes from t2s branch (still WIP) 2015-02-03 11:33:10 +00:00
Hieu Hoang
78f79632b9 script to convert moses.ini v2 to v1 /Tom Hoar 2015-02-03 10:59:38 +00:00
Hieu Hoang
6bfdddfe49 eclipse 2015-02-03 10:26:51 +00:00
Kenneth Heafield
081fb5e181 Fix argument parser: ignore lead 2015-02-02 17:34:57 -05:00
Hieu Hoang
464686e242 Merge pull request #94 from aminorex/master
remove spurious endl
2015-02-02 21:01:27 +00:00
akimbal1
362e6a9374 remove spurious endl 2015-02-02 15:57:04 -05:00
Hieu Hoang
80b2128a59 Merge pull request #93 from aminorex/master
alignment for hieu
2015-02-02 20:18:26 +00:00
akimbal1
8ea1c9fd40 alignment for hieu 2015-02-02 12:55:21 -05:00
Phil Williams
ac8f01bc3d Partial merge of t2s branch (implements t2s and f2s algorithms)
Implements search algorithms 7, 8, and 9:

-search-algorithm 7
  tree-to-string (STSG-based, currently a special-case of forest-to-string)

-search-algorithm 8
  tree-to-string (SCFG-based)

-search-algorithm 9
  forest-to-string (STSG-based)
2015-02-02 17:07:54 +00:00
Phil Williams
c8ad84fa55 New input type, ForestInput, for weighted forests.
* Uses Egret format (https://sites.google.com/site/zhangh1982/egret)
 * Used by forest-to-string search algorithm (-search-algorithm 9)
2015-02-02 16:34:17 +00:00
Phil Williams
984936f05f Placeholders for new syntax-based search algorithms 2015-02-02 15:39:00 +00:00
Phil Williams
e177131a22 Remove -s2t option (use -search-algorithm=6 instead) 2015-02-02 15:01:59 +00:00
Kenneth Heafield
e542986ed5 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-02-02 09:26:08 -05:00
Kenneth Heafield
ee881734fe Rewrite KenLM argument parser to consume one = 2015-02-02 09:25:02 -05:00
Hieu Hoang
884a0b1c90 forgot to add Parameters.cpp. Change c++11 to c++0x to support older compilers (on Ubuntu 12.04 etc). 2015-01-30 17:45:20 +00:00
Phil Williams
2975e7a0d3 Minor refactoring in moses/Syntax 2015-01-30 11:56:08 +00:00
Kenneth Heafield
925565a0b9 "just put it in. I'll verify it if i can be bovvered" --Hieu /usr/bin/env 2015-01-29 18:37:05 -05:00