Commit Graph

13728 Commits

Author SHA1 Message Date
Ulrich Germann
4410e9225a More fiddling with bjam. 2015-03-26 16:38:05 +00:00
Ulrich Germann
b3ff4ff13a Managers have now access to the entire translation task. 2015-03-26 16:37:04 +00:00
Ulrich Germann
d364211d90 More bjam fiddling. 2015-03-26 12:21:55 +00:00
Hieu Hoang
1064aaacbe delete typedefs for UINT32 and UINT64. MSVC now has uint32_t and uint64_t /Ken 2015-03-25 00:55:39 +00:00
Jeroen Vermeulen
cdc5e0fb33 Check for MinGW using __MINGW32__, not MINGW.
This code used the wrong preprocessor macro to check whether it was
compiling in a MinGW environment, as far as I can see.
2015-03-23 22:35:03 +07:00
Jeroen Vermeulen
9ae4e2b2fb Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-03-23 22:12:34 +07:00
Jeroen Vermeulen
01d3db1629 Adjust for MinGW's mkdir().
MinGW has mkdir(), but it only accepts one argument: the directory's
path.  It does not accept a file mode.
2015-03-23 22:00:01 +07:00
Matthias Huck
506427368f filter-model-given-input.pl: drop "-encoding None" from phrase table binaization with processPhraseTableMin. Recommended by Marcin. 2015-03-23 14:38:24 +00:00
Jeroen Vermeulen
faa3ae8afc Remove unused code for reading "ar" archives.
The Jam code had inherited a function for enumerating "ar" archives.
This wasn't used anywhere at all in the codebase, but it depended on a
platform-specific "ar.h" header.  Windows doesn't have that header, so
this change removes one small obstacle to portability.
2015-03-23 20:49:17 +07:00
Hieu Hoang
c4af7d28b5 Merge pull request #100 from alvations/master
Added the Gacha Filter used in WMT14 by the Manawi system
2015-03-21 22:42:55 +00:00
Ulrich Germann
ddf7bc3e23 1. Added FeatureFunction::Setup(TranslationTask const&) const to allow FFs to set themselves up for specific input.
2. FeatureFunction::ChangeSource should not be allow to change the pointer to the source.
2015-03-21 17:09:41 +00:00
Ulrich Germann
8ca11d941d 1. Lifetime of tasks in ThreadPool is now managed via shared pointers.
2. Code cleanup in IOWrapper and a bit elsewhere.
2015-03-21 16:12:52 +00:00
Ulrich Germann
85d2567b57 Renamed MosesServer::TranslationTask to MosesServer::TranslationRequest and made that a subtype of Moses::TranslationTask to avoid name confusion. 2015-03-21 15:56:20 +00:00
Ulrich Germann
ee4e396a4d Removed pointer to TranslationTask in InputTypes again. Not the right place to store this information. 2015-03-21 15:29:37 +00:00
Ulrich Germann
fd56ba6afb Renamed moses/server/TranslationTask.* to moses/server/TranslationRequest.* to avoid naming conflicts. 2015-03-21 14:00:30 +00:00
Ulrich Germann
6c73693c49 Library path for xmlrpc-c given via --with-xmlprc-c was not included in the compile requirements. 2015-03-20 22:32:42 +00:00
Ulrich Germann
0854d3339e Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-03-20 18:57:00 +00:00
Ulrich Germann
b1c9d8a528 Bjam is the most awful build system in the world. 2015-03-20 18:51:49 +00:00
Ulrich Germann
e40fbbc2cb Added pragma to tell me if Moses is built with server functionality at compilation time. 2015-03-20 18:45:46 +00:00
Ulrich Germann
9c19ad25b0 Changed order of #includes because of compiler warnings. 2015-03-20 18:43:29 +00:00
alvations
e5feb1a73e Enforce python3 and also remove extra empty newline from STDOUT 2015-03-20 19:37:34 +01:00
alvations
8f2d687d27 added more description of usage in docstring 2015-03-20 19:00:36 +01:00
alvations
44cd32d058 fixed typo in error message 2015-03-20 18:53:03 +01:00
alvations
93ea5853e8 Added Gacha Filter used by Manawi system from WMT14 translation task 2015-03-20 18:48:47 +01:00
Rico Sennrich
3a673fc8dc EMS: support for syntactic metrics for MERT/MIRA
- add "-n-best-trees" to TUNING:decoder-settings
 - add "mock-output-parser-references = $output-parser" to GENERAL (and define output-parser)
 - TUNING:tuning-settings should include the metric you want to optimize (e.g. "-batch-mira-args='--sctype BLEU,HWCM'")
2015-03-20 17:15:33 +00:00
Rico Sennrich
ca08b1d205 reduce-factors: port xml support from train-model.perl 2015-03-20 14:44:48 +00:00
Rico Sennrich
b8ca33c34e RDLM training without editing bash scripts 2015-03-20 14:12:41 +00:00
Rico Sennrich
2271f295e6 nplm_train: more options 2015-03-20 14:12:41 +00:00
Ulrich Germann
386db6529a More fiddling with bjam. 2015-03-19 14:36:43 +00:00
Ulrich Germann
d1cb14edc0 Fixed Jamfiles. 2015-03-19 13:45:58 +00:00
Ulrich Germann
6f52340c2b Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-03-18 21:04:18 +00:00
Ulrich Germann
687c7ba0f6 Restored legacy moses server. 2015-03-18 21:04:10 +00:00
Rico Sennrich
eab513b635 relational dependency language model 2015-03-18 17:39:45 +00:00
Rico Sennrich
1568afb737 on-the-fly unbinarization of internal tree structure (for translation models extracted from binarized treebanks) 2015-03-18 17:36:32 +00:00
Ulrich Germann
286800abba Addresses issues with compiling server capabilities into the Moses main executable. 2015-03-18 13:50:30 +00:00
Ulrich Germann
058abc32c3 Fixes (?) numerous bugs discovered when the code was actually compiled (an error in the bjam configuration prevented this). 2015-03-18 13:46:15 +00:00
Phil Williams
fc15e03ebe Replace truecase-egret.sh with more general tree-converter-wrapper.perl 2015-03-18 09:57:42 +00:00
Phil Williams
ac51e9f0a8 Always use "SyntaxInputWeight0" as name of SyntaxInputWeight feature 2015-03-18 09:56:46 +00:00
Hieu Hoang
1ca4f42539 codelite 2015-03-17 18:08:56 +00:00
Hieu Hoang
63d8b390b4 Changes to RUleScope from private branch. More codelite projects 2015-03-17 11:50:33 +00:00
Hieu Hoang
25feb7e47b option to change the estimated score only, not actuall score 2015-03-17 10:25:34 +00:00
Hieu Hoang
e1a5c1e140 start CodeLite project files 2015-03-16 22:42:21 +00:00
Hieu Hoang
42cbebe550 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-03-16 18:16:15 +00:00
Hieu Hoang
767163c96e start CodeLite project files 2015-03-16 18:14:06 +00:00
Ulrich Germann
dcffbb5f4d Made LRModel::ReorderingType an enumerated type. 2015-03-16 00:24:11 +00:00
Ulrich Germann
085c88cc7b Eliminated sources of some compiler warnings (unused variables; signed/usigned comparisons). 2015-03-15 22:45:01 +00:00
Ulrich Germann
ad805c133b Instances of InputType (and derived classes) now know which TranslationTask (if any) created them.
This is a first step towards providing phrase tables etc. access to context information etc.
associated with specific translation tasks.
2015-03-15 20:38:31 +00:00
Ulrich Germann
16d8ef67f0 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-03-15 13:34:08 +00:00
Ulrich Germann
2a66a55c85 Added document map (maps from sentences to document ids) to Bitext class.
Minor overhaul to the bias regime, which allows to specify bias by document
name (as provided in the document map) rather than by sentence in the static
parallel corpus.
2015-03-15 13:32:09 +00:00
mjdenkowski
0714521367 Meteor compatibility with batch MIRA 2015-03-13 17:41:53 -04:00