Commit Graph

64 Commits

Author SHA1 Message Date
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +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
324c378f7f Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores. 2015-10-31 12:50:52 +00:00
MosesAdmin
21aa5af640 daily automatic beautifier 2015-08-08 00:00:45 +01:00
Ulrich Germann
d11906abcd Code simplification in IOWrapper. 2015-08-07 03:01:24 +01:00
Ulrich Germann
5aaa8fcbfa 1. Fixed concurrency issue in context handling.
2. Added phrase table feature function PScoreLengthRatio.
2015-07-21 15:36:28 +01:00
Ulrich Germann
98c03dc047 Merge branch 'mmt-dev' into ranked-sampling.
Conflicts:
	moses/TranslationModel/UG/mm/ug_bitext.h
	moses/TranslationModel/UG/mm/ug_bitext_jstats.cc
	moses/TranslationModel/UG/mm/ug_bitext_jstats.h
	moses/TranslationModel/UG/mm/ug_bitext_pstats.cc
	moses/TranslationModel/UG/mm/ug_sampling_bias.cc
	moses/TranslationModel/UG/mm/ug_sampling_bias.h
2015-07-03 15:30:33 +01:00
Kenneth Heafield
9936c9f264 Didn't need header 2015-06-24 14:32:14 +01:00
Ulrich Germann
b682a06636 New member functions to expose buffered input and context window size. 2015-06-08 12:07:01 +01:00
Hieu Hoang
5173b9f617 beautify. Add sed for trailing spaces 2015-05-13 11:29:16 +01:00
Ulrich Germann
d122605c0d Code reorganization with respect to hypergraph output. 2015-05-12 02:28:58 +01:00
Ulrich Germann
7da7ce52da Added context buffering in IOWrapper for context-sensitive decoding.
Unfortunately, this seems to slow things down quite a bit.
2015-05-11 00:34:24 +01:00
Hieu Hoang
cc8c6b7b10 beautify 2015-05-02 11:45:24 +01: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
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
James Zhang
23704613de added a simple translation interface 2015-03-11 17:33:17 -04:00
Ales Tamchyna
cf4608163f Merge branch 'vw_integration' of github.com:moses-smt/mosesdecoder into vw_integration 2015-01-08 12:32:34 +01:00
Marcin Junczys-Dowmunt
3f1cb319cd Added TabbedSentence and first attempt at external VW features 2015-01-08 12:30:07 +01:00
Hieu Hoang
b526efea23 gut IOWrapper 2015-01-04 16:54:33 +05:30
Hieu Hoang
c9d49f22a5 move OutputAlignment() to Manager class 2014-12-30 20:36:59 +05:30
Hieu Hoang
e92c2c0e0c delete unused methods from IOWrapper 2014-12-30 19:20:00 +05:30
Hieu Hoang
ba166f109c moving more stuff out of IOWrapper 2014-12-30 18:53:30 +05:30
Hieu Hoang
5ac3dddfb6 move OutputBestHyp() to Manager class 2014-12-29 06:01:23 +05:30
Hieu Hoang
ec3db7bede move OutputLatticeMBRNBest() to Manager class 2014-12-29 05:41:06 +05:30
Hieu Hoang
cd6ec01999 move OutputBestSurface() to Hypothesis class 2014-12-29 00:48:40 +05:30
Hieu Hoang
f865e7e43c move OutputInput() to Hypothesis class 2014-12-28 22:09:38 +05:30
Hieu Hoang
af0d0f02e1 move OutputAlignment() to Hypothesis class 2014-12-28 18:37:18 +05:30
Nicola Bertoldi
4e77665d30 better handling of cache-based models with inconsistent parameters 2014-12-15 17:42:41 +01:00
Nicola Bertoldi
e4eb201c52 merged master into dynamic-models and solved conflicts 2014-12-13 12:52:47 +01:00
Hieu Hoang
81640945d0 move OutputBest() to ChartManager 2014-12-10 12:47:23 +00:00
Hieu Hoang
fad3ef687a move OutputBest() to Syntax::Manager 2014-12-10 11:01:56 +00:00
Hieu Hoang
65c016667e Merge ../mosesdecoder into merge-cmd 2014-12-05 18:29:37 +00:00
Hieu Hoang
23ca29a2ea add Decode to API framework 2014-12-05 17:59:53 +00:00
Matthias Huck
59fd278ef7 IOWrapper: less compiler warnings 2014-12-04 19:16:30 +00:00
Hieu Hoang
b23c00989b move OutputDetailedTreeFragmentsTranslationReport() to Manager 2014-12-04 18:35:19 +00:00
Hieu Hoang
c5fdb170fb move OutputUnknowns() into Managers 2014-12-04 16:25:19 +00:00
Hieu Hoang
80eada0640 delete unused methods in IOWrapper 2014-12-04 14:43:23 +00:00
Hieu Hoang
f4a716f676 move OutputDetailedTranslationReport() to Managers 2014-12-03 17:18:19 +00:00
Hieu Hoang
ccbcc14ed8 move OutputDetailedTranslationReport() to Managers 2014-12-03 17:04:10 +00:00
Hieu Hoang
3da8415095 add OutputNBest() as abstract method to BaseManager. Tighten up framework 2014-12-02 19:09:10 +00:00
Hieu Hoang
08c57bce87 delete OutputNBest() in IOWrapper 2014-12-02 15:12:01 +00:00
Hieu Hoang
2fdd49d973 start cleanup of IOWrapper. Constructor takes no args 2014-12-01 15:26:47 +00:00
Hieu Hoang
8137aeae43 Small changes to Parameters and StaticData 2014-11-20 11:21:50 +00:00
Hieu Hoang
18d2d56cc7 added phil's functions 2014-11-07 19:51:18 +00:00
Hieu Hoang
90e4eca0a3 cleaning up IOWrapper. Make all functions member of the class 2014-10-13 12:46:58 +01:00
Hieu Hoang
e4489cbdde get ready to merge IOWrapper 2014-10-10 11:35:14 +01:00
Hieu Hoang
89f8c7d284 get ready to merge IOWrapper 2014-10-09 17:28:57 +01:00
Hieu Hoang
23d0afcde1 get ready to merge IOWrapper 2014-10-09 16:42:16 +01:00
Hieu Hoang
bf089b56ac consistent namespace 2014-10-09 12:52:06 +01:00
Hieu Hoang
e7916239d5 delete m_translationId variable 2014-10-09 12:13:32 +01:00