Commit Graph

5170 Commits

Author SHA1 Message Date
Ulrich Germann
65f4f1f92a Code cleanup and refactoring. 2015-12-11 13:52:48 +00:00
Ulrich Germann
40ed3df9cb Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts:
	moses/ChartParser.cpp
	moses/ChartParser.h
	moses/ConfusionNet.h
	moses/FF/CountNonTerms.cpp
	moses/FF/CountNonTerms.h
	moses/FF/SoftSourceSyntacticConstraintsFeature.cpp
	moses/FF/SoftSourceSyntacticConstraintsFeature.h
	moses/FF/SourceGHKMTreeInputMatchFeature.cpp
	moses/FF/SourceGHKMTreeInputMatchFeature.h
	moses/ForestInput.cpp
	moses/InputType.h
	moses/MockHypothesis.cpp
	moses/Sentence.cpp
	moses/Sentence.h
	moses/StaticData.cpp
	moses/StaticData.h
	moses/Syntax/F2S/GlueRuleSynthesizer.h
	moses/Syntax/T2S/GlueRuleSynthesizer.cpp
	moses/Syntax/T2S/GlueRuleSynthesizer.h
	moses/TreeInput.cpp
	moses/XmlOption.cpp
	moses/XmlOption.h
2015-12-11 01:59:26 +00:00
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +00:00
MosesAdmin
739165c2b0 daily automatic beautifier 2015-12-11 00:00:33 +00:00
Matthias Huck
bd3f573452 Hiero phrase orientation 2015-12-10 12:56:37 +00:00
Ulrich Germann
831dc83778 Code cleanup and refactoring. 2015-12-10 03:17:36 +00:00
Ulrich Germann
240b88c683 Passing around AllOptions or references thereto everywhere,
strong them locally where appropriate, so that compontents can
become independent of StaticData once instantiated.
2015-12-09 23:05:00 +00:00
Ulrich Germann
ad5e27ae56 Implemented more options in AllOptions and option groups therein. 2015-12-09 17:59:14 +00:00
Ales Tamchyna
c71aca8311 reflect recent changes in VW code 2015-12-09 17:34:08 +01:00
MosesAdmin
59365f2bd3 daily automatic beautifier 2015-12-09 00:00:35 +00:00
Ulrich Germann
fdb5d9b282 Code refactoring: All FF now get access to AllOptions at load time, so they don't have to rely on StaticData. 2015-12-08 12:56:55 +00:00
Ulrich Germann
9528b56242 Set defaults in option group constructors. 2015-12-08 12:43:20 +00:00
Ulrich Germann
c1a008bf6d Reduce dependence on StaticData. 2015-12-07 23:50:56 +00:00
Ulrich Germann
c4e45fb128 Code cleanup. 2015-12-07 16:07:11 +00:00
Ulrich Germann
2be2481feb Added switch --daemon: fork and run moses server in background. The parent won't exit until the child is ready to serve. 2015-12-07 16:01:12 +00:00
Ulrich Germann
d56d900d6a Code cleanup. 2015-12-06 01:43:17 +00:00
Ulrich Germann
69e5a1cc15 Code cleanup. 2015-12-06 00:12:01 +00:00
Ulrich Germann
889a33dcd6 XmlOptions are now const within Sentence. 2015-12-04 19:43:37 +00:00
Ulrich Germann
4983aa0980 Cleanup. 2015-12-04 19:32:37 +00:00
Ulrich Germann
9e1503bf63 Added variant lrfunc (in addition to lr-func) as a Mmsapt parameter to accommodate a typo in my 2015 PBML paper. 2015-12-03 16:21:11 +00:00
MosesAdmin
157be7cc51 daily automatic beautifier 2015-12-03 00:01:07 +00:00
Ulrich Germann
97d6ccec98 Merge branch 'master' of https://github.com/modernmt/mosesdecoder 2015-12-02 20:51:45 +00:00
Ulrich Germann
5a63286447 Code cleanup and bug fix in (Base)Manager::OutputSurface:
Mark-up of unkown words in output.
2015-12-02 20:43:56 +00:00
Ulrich Germann
0f9cca4ae4 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-11-30 01:29:28 +00:00
Ulrich Germann
11262b0a62 Added switch --version to have Moses print out the code versions it was compiled with. 2015-11-30 01:29:13 +00:00
Ulrich Germann
9a321a0ce4 Bug fix: typo prevented compilation. 2015-11-30 01:12:04 +00:00
Ulrich Germann
c165e80e48 Changes to Mmsapt.
- added phrase table features: pfwd / pbwd weighted by each sample's
  weight (when used with biased sampling)
- a few minor internal changes ({p|j}stats.add(...) reports back
  current joint count (intended for early stopping of sampling when
  evidence is sufficient; yet to be explored experimentally).
2015-11-29 18:39:38 +00:00
Ulrich Germann
93df2b2f19 Initialization order of members. 2015-11-29 17:57:04 +00:00
Ulrich Germann
48999749ec Unused variable. 2015-11-29 17:56:27 +00:00
Ulrich Germann
37ea003f02 Avoid compiler warning. 2015-11-28 14:54:48 +00:00
Phil Williams
7375d81e16 Fix a few compiler warnings (clang) 2015-11-27 12:20:38 +00:00
Ulrich Germann
c11c4cbeed Bug fix related to commit 220d82041a,
which replaced boost::intrusive_ptr<bitext>  with shared_ptr<bitext>.
2015-11-25 19:51:54 +00:00
Ulrich Germann
ee5edc421c Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-11-25 02:18:00 +00:00
MosesAdmin
57a291421a daily automatic beautifier 2015-11-25 00:00:39 +00:00
Ulrich Germann
bb135f6a64 Cosmetic fix for having the server reporting word alignments left-to-right. 2015-11-24 20:42:53 +00:00
Ulrich Germann
ca038c5e4c Fix suggested by Martin Baumgärtner to keep server from crashing when packing word alignments. 2015-11-24 19:24:09 +00:00
Ulrich Germann
c8b859de67 Merge remote-tracking branch 'legacy/master'
Conflicts:
	moses/server/TranslationRequest.cpp
2015-11-24 19:22:37 +00:00
Ulrich Germann
bcb0212b5b FF registration is now in FeatureFactory::DefaultSetup, ...
... not in the FF constructor any more.

This is related to a bug fix in Base.cpp, related to moving the
LM OOV feature specification from the global space into the setup
of individual LMs (to eliminate the dependence on StaticData in the
LM constructors).
2015-11-24 18:28:38 +00:00
Ulrich Germann
a074efc7cc Change parameters only when specified during parameter updates in server mode. 2015-11-23 16:59:39 +00:00
Ulrich Germann
6f1e39d64e Adaptation to renamed functions in Bitext class. 2015-11-23 16:57:44 +00:00
Ulrich Germann
9a7356bbed Adaptation to renamed functions in Bitext class. 2015-11-23 16:57:35 +00:00
Barry Haddow
87ec9f56c7 bugfix: options refactor broke (l)mbr 2015-11-23 12:37:11 +00:00
Barry Haddow
10df006eed Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-11-23 12:16:46 +00:00
Ulrich Germann
894644d615 Merge ../master into sync-with-mmt 2015-11-20 17:43:05 +00:00
Ulrich Germann
3f09aa40aa Additional functions for determining doc ids and document names from mapped bitexts. 2015-11-20 17:10:47 +00:00
Ulrich Germann
a767608804 Bug fix in keeping track of doc ids with uniform random sampling. 2015-11-20 17:09:18 +00:00
Ulrich Germann
1fa81806c1 Work in progress. 2015-11-20 17:07:17 +00:00
Ulrich Germann
752ac68d08 Merge branch 'moses-server-placeholder-patch' of https://github.com/ebay-hlt/mosesdecoder into ebay-hlt-moses-server-placeholder-patch
Conflicts:
	regression-testing/Jamfile
	run-regtests.sh
2015-11-20 14:47:59 +00:00
MosesAdmin
bf209a35a3 daily automatic beautifier 2015-11-20 00:00:42 +00:00
Evgeny Matusov
42c57d077b Merge branch 'master' of https://github.com/moses-smt/mosesdecoder into moses-server-placeholder-patch
Conflict in TranslationRequest solved.

Conflicts:
	moses/server/TranslationRequest.cpp
	moses/server/TranslationRequest.h
2015-11-19 09:59:15 -07:00