Ulrich Germann
e9b1c6019b
Improved reporting of nbest scores via server interface.
2015-11-01 14:53:16 +00:00
Ulrich Germann
07c8614877
Once set, context weights are now always const on the ContextScope.
2015-10-28 13:01:11 +00:00
Ulrich Germann
6a2e6feeed
Context weights now live in the ContextScope, not any more on TranslationTask.
...
TargetPhrase now has weak ptr to ContextScope, not to TranslationTask any more,
because TargetPhrases can outlive the scope of a Translation Task.
2015-10-28 10:26:41 +00:00
Ulrich Germann
fc6b000e88
Added parsing of document-leval translation meta-information to setup of TranslationTask.
2015-10-24 01:36:17 +01:00
Ulrich Germann
06a516842d
Moses server now accepts context weights as translation request parameters.
2015-10-21 00:56:29 +01:00
MosesAdmin
21aa5af640
daily automatic beautifier
2015-08-08 00:00:45 +01:00
Ulrich Germann
524109e2ca
Reorganisation of options.
...
The purpose of this effort is to have options local to the individual translation task,
so that they can be changed in the running system in a multi-threaded system.
2015-08-06 21:11:43 +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
XapaJIaMnu
47a488767e
Enable the bias weights to be (re)set by the server.
2015-06-25 13:12:33 +01:00
XapaJIaMnu
69c1308f01
Add context_weights parameter to command line
2015-06-23 15:02:15 +01:00
Ulrich Germann
26e4cee9b1
New create function that includes scope. New member function to exposure IOWrapper.
2015-06-08 12:08:27 +01:00
Hieu Hoang
cc8c6b7b10
beautify
2015-05-02 11:45:24 +01:00
Jeroen Vermeulen
eca5824100
Remove trailing whitespace in C++ files.
2015-04-30 12:05:11 +07:00
Ulrich Germann
93ce2423df
1. A context string for biased sampling in Mmsapt can now be provided on the
...
command line with --context-string. Not available in server mode yet.
2. Numerous bug fixes related to biased sampling.
3. Biased sampling now checks that the sampling sticks to the bias. If
the distribution of samples deviates too much from the bias, samples
whose selection would push the sample distribution even further from the bias
are not considered, even if that means that fewer samples are chosen in total.
2015-04-03 16:16:52 +01:00
Ulrich Germann
18d2547497
Added member for storing annotations by feature functions.
2015-03-29 23:51:22 +01: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
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
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
Hieu Hoang
cec03c949e
merge RunPb and RunChart
2015-01-04 16:30:15 +05:30
Hieu Hoang
fad3ef687a
move OutputBest() to Syntax::Manager
2014-12-10 11:01:56 +00:00
Hieu Hoang
4b10c59bea
add OutputSearchGraphHypergraph() to API framework. Move m_source to BaseManager
2014-12-05 21:33:59 +00:00
Hieu Hoang
6a77fd0ce3
add OutputSearchGraphSLF() to API framework
2014-12-05 19:40:51 +00:00
Hieu Hoang
c5fdb170fb
move OutputUnknowns() into Managers
2014-12-04 16:25:19 +00:00
Hieu Hoang
d5e315a599
move OutputDetailedTranslationReport() into Syntax::Manager
2014-12-04 15:28:50 +00:00
Hieu Hoang
5e4b27412a
move n-best output into Syntax::Manager
2014-12-04 14:11:49 +00:00
Hieu Hoang
f4a716f676
move OutputDetailedTranslationReport() to Managers
2014-12-03 17:18:19 +00:00
Hieu Hoang
8d15287eee
added phil's functions
2014-11-08 17:36:32 +00:00
Hieu Hoang
d507af5b1d
TranslationTaskChart --> TranslationTask
2014-10-10 13:19:02 +01:00
Hieu Hoang
bf089b56ac
consistent namespace
2014-10-09 12:52:06 +01:00
Hieu Hoang
433186ae25
delete lineNumber variable from Manager and TranslationTask. It should always be carried by the input sentence itself
2014-10-07 19:16:30 +01:00
Hieu Hoang
62fe00b1a5
delete m_latticeSamplesCollector
2014-10-03 15:04:55 +01:00
Hieu Hoang
25db86d16b
delete m_latticeSamplesCollector
2014-10-03 14:57:27 +01:00
Hieu Hoang
b907fb7492
merge TranslationTask and IOWrapper. Move m_wordGraphCollector into IOWrapper
2014-10-02 14:57:04 +01:00
Hieu Hoang
f8b762a6ec
merge TranslationTask and IOWrapper. Move m_detailedTranslationCollector into IOWrapper
2014-10-02 14:18:12 +01:00
Hieu Hoang
c45967c9b4
merge TranslationTask and IOWrapper. Move m_searchGraphOutputCollector into IOWrapper
2014-10-02 12:20:49 +01:00
Hieu Hoang
0843a2a901
merge TranslationTask and IOWrapper. Move m_alignmentInfoCollector into IOWrapper
2014-10-02 11:22:52 +01:00
Hieu Hoang
00365257fa
merge TranslationTask and IOWrapper. Move m_unknownsStream into IOWrapper
2014-10-01 19:24:58 +01:00
Hieu Hoang
8611dc8cdf
merge TranslationTask and IOWrapper. Move m_nBestOutputCollector into IOWrapper
2014-10-01 18:21:57 +01:00
Hieu Hoang
8d0f74c6e4
merge TranslationTask and IOWrapper. Move m_singleBestOutputCollector into IOWrapper
2014-10-01 17:43:51 +01:00
Hieu Hoang
c20af584e7
move TranslationTask into moses/
2014-09-30 12:59:31 +01:00