Ulrich Germann
c8b859de67
Merge remote-tracking branch 'legacy/master'
...
Conflicts:
moses/server/TranslationRequest.cpp
2015-11-24 19:22:37 +00:00
Ulrich Germann
c610d0a6e7
Code decluttering.
...
The class StatefuleFeatureFunction now provides an empty dummy implementation
of various (virtual) Evaluate... functions. The corresponding empty
implementations on derived classes have been removed.
2015-11-19 13:54:24 +00:00
David Madl
e36fb96557
LanguageModel, KenLM: avoid StaticData usage
...
* drop global lmodel-oov-feature option, and add it to LM FF config line instead
use oov-feature=1 (bool) option instead
* drop LanguageModel::GetWeight()
* KenLM: use m_verbosity of FF instead of IFVERBOSE macro which uses StaticData
* train-model.perl: move language model OOV feature onto LM feature spec line
2015-11-17 16:15:13 +00:00
Hieu Hoang
4078c30a42
estimatedScore -> estimatedScores
2015-11-04 15:10:45 +00:00
Hieu Hoang
6be932c1f7
consistent naming of future scores, estimated scores
2015-11-03 09:41:59 +00:00
Ulrich Germann
22365691a9
Eliminated CalcScoreWithContext().
...
TargetPhrase provides access to the TranslationTask object.
2015-10-24 01:34:56 +01:00
XapaJIaMnu
ea23c921b3
Make getScore be able to access ttasksptr. Only works with suffix array for now, other people can implement it in their pts
2015-06-25 17:52:55 +01:00
Hieu Hoang
05ead45e71
beautify
2015-01-14 11:07:42 +00:00
Marcin Junczys-Dowmunt
18691c19a3
second attempt at new feature hook, needs review of constness etc.
2015-01-06 13:56:13 +01:00
Marcin Junczys-Dowmunt
f932058af4
Added new feature function hook: EvaluateWithSourceContextCollecton(...)
2015-01-06 10:46:31 +01:00
Hieu Hoang
587b5fd716
rename Evaluate() to EvaluateWithSourceContext()
2014-07-09 23:06:54 +01:00
Hieu Hoang
c9bd98fb0f
rename Evaluate() to EvaluateInIsolation()
2014-07-09 22:35:59 +01:00
Hieu Hoang
15566f7fc5
extend FF framework by add StackVec* argument to 2nd Evaluate(). NULL if phrase-based
2014-05-08 17:51:45 +01:00
Ales Tamchyna
cd63f30f15
modified FF interface: Evaluate() with input has access to future-cost estimation
2013-12-03 16:50:41 +01:00
Hieu Hoang
a5f391e3f3
remove description argument from feature function constructor. Redundant
2013-10-29 18:59:53 +00:00
phikoehn
8e23a3f2c1
more enriched trace
2013-10-13 06:59:05 +01:00
Hieu Hoang
31ce9b510e
beautify
2013-09-27 09:35:24 +01:00
Hieu Hoang
5625d30a26
add target phrase to arguments for Evaluate() during application to sentence
2013-09-18 12:35:31 +02:00
Hieu Hoang
03fd06b38b
convert Evaluate() methods into abstract, rather than empty functions. Every FF must implement them all
2013-08-30 15:49:00 +01:00
Hieu Hoang
bc0fdfbd79
delete LM:Useable(). Superseded by IsUseable() for all feature functions
2013-05-31 00:11:38 +01:00
Hieu Hoang
6249432407
beautify
2013-05-29 18:16:15 +01:00
Hieu Hoang
b5bb500773
move GetFirstLM() as static method of LanguageModel
2013-05-28 17:35:06 +01:00
Hieu Hoang
d647dd8aa3
delete sourcePhrase variable in TargetPhrase class
2013-05-28 10:51:28 +01:00
Hieu Hoang
75a1849bcf
split classes in FeatureFunction files
2013-05-24 19:11:15 +01:00
Hieu Hoang
a80d838b0f
move feature functions into moses/FF
2013-05-24 18:02:49 +01:00
Hieu Hoang
47465f8afb
start framework for evaluating target phrase score
2013-05-02 14:55:26 +01:00
Hieu Hoang
c99e9f8c90
start framework for evaluating target phrase score
2013-05-02 12:15:26 +01:00
Hieu Hoang
ab56be4ee6
delete Duplicate()
2013-02-20 22:52:47 +00:00
Hieu Hoang
f7e3f20013
each language model should have separate description, rather than just 'LM'
2013-02-06 20:05:00 +00:00
Hieu Hoang
530e859697
tokenize line now moved into base class ScoreProducer
2013-02-01 20:23:36 +00:00
Hieu Hoang
27df7efd6a
clean up InitializeBeforeSentenceProcessing()
2012-12-24 17:42:08 +00:00
Hieu Hoang
50f666f397
clean up CleanUpAfterSentenceProcessing()
2012-12-24 15:37:11 +00:00
Hieu Hoang
9fe742ce52
get rid function GetScoreProducerWeightShortName(). Fails 1 regression test
2012-12-04 17:09:23 +00:00
Hieu Hoang
33105a7ba7
get rid of int argument from GetScoreProducerWeightShortName()
2012-12-04 13:08:00 +00:00
Hieu Hoang
5e3ef23cef
move moses/src/* to moses/
2012-11-12 19:56:18 +00:00