Commit Graph

13748 Commits

Author SHA1 Message Date
Ulrich Germann
a9dbced81d Bug fix. 2015-03-30 02:56:49 +01:00
Ulrich Germann
fcbfc5a535 Feature functions and the constructors of TranslationOptionCollections
now have access to the current translation task.

This was done to allow context-sensitive processing (if provided by the FF).
2015-03-30 01:20:17 +01:00
Ulrich Germann
79cd40d2c4 Disabled temporarily. Needs to be adapted to API changes in Mmsapt. 2015-03-29 23:58:17 +01:00
Ulrich Germann
2899645992 Cleanup. 2015-03-29 23:57:14 +01:00
Ulrich Germann
3541838a46 Included TargetPhraseCollectionCache.* in fakelib mmsapt. 2015-03-29 23:55:47 +01:00
Ulrich Germann
a124a9c7f1 Disabled spe-check-coverage. Needs to be adapted to API changes. 2015-03-29 23:54:47 +01:00
Ulrich Germann
76b76e4db6 Bug fixes. 2015-03-29 23:51:51 +01:00
Ulrich Germann
18d2547497 Added member for storing annotations by feature functions. 2015-03-29 23:51:22 +01:00
Ulrich Germann
1525f1ea62 Cleanup. 2015-03-29 23:44:06 +01:00
Ulrich Germann
529a766da7 Initial check-in. 2015-03-29 23:43:50 +01:00
Ulrich Germann
31d55d7936 Changed cxxflags for curlpp to -isystem to avoid compiler warnings. 2015-03-29 23:41:47 +01:00
Ulrich Germann
a706569844 Thread-safe classes for storing context-specific information. 2015-03-28 14:44:40 +00:00
Ulrich Germann
1b23edf62f Cache for the N most recently used TargetPhraseCollections. Refactored out of mmsapt.h. 2015-03-28 14:41:08 +00:00
Ulrich Germann
c7ad2571f5 Making GetSource() in Manager and Basemanager virtual breaks one regression tests. 2015-03-26 23:38:58 +00:00
Ulrich Germann
e827896027 Harmonized spelling of CleanUpAfterSentenceProcessing(...). 2015-03-26 23:37:29 +00:00
Ulrich Germann
41fec16d8f Fixed auto-setting of --with-regtest based on environment variable. 2015-03-26 23:21:11 +00:00
Ulrich Germann
0c49fb9a00 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder into mmt-dev 2015-03-26 19:45:18 +00:00
Ulrich Germann
9dc75bfd8a Managers and feature functions now have access to the entire TranslationTask, not just the InputType. 2015-03-26 18:25:54 +00:00
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
Kenneth Heafield
206d0c9698 Make NPLM wrapper compile again. Fixes #102. 2015-03-26 11:57:41 -04:00
Ulrich Germann
d364211d90 More bjam fiddling. 2015-03-26 12:21:55 +00:00
Kenneth Heafield
8b323abbca KenLM 240ea65a021574261a38d45eb68143f26ad177e5 2015-03-25 10:40:21 -04: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