Barry Haddow
79b6b60237
Fix seg fault in lattice samples
2014-08-11 09:40:34 +01:00
Hieu Hoang
3d884bb098
method rename
2014-08-08 16:41:16 +01:00
Barry Haddow
6549d24d35
Incremental scoring of hypotheses.
...
Don't score full score vectors in hypotheses, just
the increments. The full score breakdowns (required for
nbest lists) are calculated lazily.
2014-08-05 17:57:57 +01:00
Hieu Hoang
12a14221e2
rename Evaluate() to EvaluateWhenApplied()
2014-07-09 23:41:08 +01:00
phikoehn
073a601eb0
make good use of the new precise timer...
2014-01-03 18:45:31 +00:00
Hieu Hoang
0a8390981e
delete includes for util/check.hh
2013-11-21 18:58:28 +00:00
Hieu Hoang
c2c86ce50d
replace CHECK with UTIL_THROW_IF in Moses
2013-11-19 13:19:23 +00:00
Hieu Hoang
17887a2796
replace nth_element() with macro that execute sort() instead for gcc 4.8.1 & 4.8.2
2013-11-15 10:55:38 +00:00
Hieu Hoang
6ccc17b804
speed up compiling by removing headers from StaticData.h
2013-10-03 11:05:53 +01:00
Hieu Hoang
31ce9b510e
beautify
2013-09-27 09:35:24 +01:00
Hieu Hoang
5ebb81a17a
constrained decoding FF works for both pb and hiero
2013-09-17 15:06:17 +02:00
Hieu Hoang
fe36cbf737
move LexicalReordering to FF directory
2013-08-30 16:28:28 +01:00
Hieu Hoang
1d653c87aa
delete PhraseBasedFeatureContext
2013-08-23 14:25:25 +01:00
Hieu Hoang
efc765ddff
implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input
2013-08-13 20:36:32 +01:00
Hieu Hoang
441acf15e6
beautify
2013-08-07 14:18:12 +01:00
Hieu Hoang
24e6d6c272
all hypotheses have translation option. All translation options have target phrase
2013-08-05 16:53:15 +01:00
Hieu Hoang
a83c166678
delete Hypothesis::GetSourcePhrase(). Take it directly from TranslationOption::GetSourcePhrase()
2013-08-05 13:46:54 +01:00
Hieu Hoang
6872689bc2
TranslationOption::GetSourcePhrase() return a reference, not a pointer. It must always have the reference
2013-08-05 12:38:17 +01:00
Hieu Hoang
42c1c908a5
add ControlRecombination feature function
2013-07-23 01:32:25 +01:00
Hieu Hoang
13299ab2a8
delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate()
2013-06-11 16:08:59 +01:00
Hieu Hoang
cf910955d0
cleanup LoadFeatureFunctions()
2013-06-06 15:51:31 +01:00
phikoehn
081710ed4c
alternate weight settings: added option to turn off features completely
2013-06-05 19:44:43 +01:00
Hieu Hoang
6249432407
beautify
2013-05-29 18:16:15 +01:00
Hieu Hoang
537e9373f8
minor warnings
2013-05-28 11:57:13 +01:00
Hieu Hoang
e8dadb58ce
split classes in DummyScoreProducers into separate files
2013-05-25 00:57:37 +01:00
Hieu Hoang
a80d838b0f
move feature functions into moses/FF
2013-05-24 18:02:49 +01:00
Hieu Hoang
d273812231
delete enum StatelessFeatureType. Features can be multiple types at once. Just overload the Evaluate() function you need
2013-05-24 16:04:38 +01:00
Hieu Hoang
ff880ec6f1
delete references to LMList
2013-05-21 12:27:13 +01:00
Hieu Hoang
f04ec4c56d
1. remove all code for MetaFeature from mira.
...
2. in ShowWeights(), all print out dense feature weights. Don't print 'sparse' for sparse feature functions. All features functions can contains dense and sparse
2013-05-16 19:05:08 +01:00
Hieu Hoang
f401e4f08e
rename entries in enum StatelessFeatureType
2013-05-13 15:53:56 +01:00
Hieu Hoang
3e64d4b341
enum StatelessFeatureType
2013-04-30 19:27:49 +01:00
Hieu Hoang
2d265344d1
delete m_currScoreBreakdown
2013-04-24 13:44:11 +01:00
Hieu Hoang
d9b1784373
delete different calc functions
2013-04-24 13:23:22 +01:00
Hieu Hoang
c84605a241
delete different calc functions
2013-04-24 13:13:50 +01:00
Hieu Hoang
16cbf692d3
delete different calc functions
2013-04-24 12:10:56 +01:00
Hieu Hoang
3248a8e4f4
initialise m_currScoreBreakdown with score from transOpt
2013-04-22 21:25:36 +01:00
Hieu Hoang
bf057dc46b
get rid of ResetScore() from Hypothesis and TargetPhrase class
2013-04-22 20:12:43 +01:00
Hieu Hoang
5655a6cf1b
get rid of tempScoreBreakdown. Not sure what it was for
2013-04-22 18:38:42 +01:00
Hieu Hoang
3bfcdd0077
minor changes for debuggablility
2013-04-22 13:03:07 +01:00
Hieu Hoang
cc707f76a9
get rid of pre-calculated score. WTF is this? Stateless FF which can't be cached? Breaks 1 regression test
2013-04-11 16:22:47 +01:00
Hieu Hoang
30e0d1e0fa
Merge github.com:moses-smt/mosesdecoder into weight-new
2013-02-22 22:39:24 +00:00
Lane Schwartz
764ce06726
More work on outputting search graph as hypergraph
2013-02-22 16:28:48 -05:00
Hieu Hoang
410c981ca5
delete variables maxTargetFactors...
2013-02-08 19:28:19 +00:00
Hieu Hoang
6885e04b42
move feature function variables into FeatureFunction.h
2012-12-31 00:57:21 +00:00
Hieu Hoang
5d9980af91
move WordPenalty to staticData
2012-12-19 15:38:57 +00:00
Hieu Hoang
c2d9d84ba0
move feature function variables from TranslationSystem back to StaticData
2012-12-19 14:37:00 +00:00
Hieu Hoang
5e3ef23cef
move moses/src/* to moses/
2012-11-12 19:56:18 +00:00