Barry Haddow
fbe73dd06f
Stub out chart hypergraph output
2014-08-06 16:37:09 +01:00
Ulrich Germann
5ae57f09d7
Commented out unused variable.
2014-06-05 01:39:44 +01:00
Phil Williams
fc85c26eda
moses_chart: remove ChartTrellis* k-best code
2014-05-13 10:24:30 +01:00
Phil Williams
ff8ac92be1
moses_chart: oops, don't output more distinct translations than requested
2014-04-21 14:46:22 +01:00
Phil Williams
b308bd5657
moses_chart: enable ChartKBestExtractor.
2014-04-21 10:19:00 +01:00
Rico Sennrich
45630a5851
various optimizations to make CYK+ parser several times faster and eat less memory.
...
speed-up of decoding depends on how much time is spent in parser:
10-50% speed-up for string-to-tree systems observed (more on long sentences and with high max-chart-span).
if you only use hiero or string-to-tree models (but none with source syntax), use compile-option --unlabelled-source for (small) efficiency gains.
2014-03-21 11:12:24 +00:00
Hieu Hoang
95a41c44fa
more debug functions
2013-12-12 01:20:12 +00:00
Hieu Hoang
bc9ce334d0
more debug functions
2013-12-11 20:03:30 +00:00
Hieu Hoang
ebc6e59b17
consistent global variable g_mosesDebug
2013-12-11 19:04:42 +00:00
Hieu Hoang
f13d0c8244
UTIL_THROW_IF -> UTIL_THROW_IF2
2013-11-22 20:27:46 +00:00
Hieu Hoang
c2ffc022ea
replace CHECK with UTIL_THROW_IF in Moses
2013-11-19 18:52:15 +00:00
Hieu Hoang
e6f53d83c2
get rid of some warnings
2013-09-22 18:24:32 +02:00
Hieu Hoang
a4f5879fef
take out -constraint from Parameter. Now handled exclusively in FF
2013-09-18 06:23:22 +02:00
Hieu Hoang
8b2bed458c
implement ConstrainedDecoding FF
2013-09-17 02:40:25 +02:00
Hieu Hoang
3b03d803d9
make sure Evaluate(inputPath) is called for chart translation options
2013-09-13 09:27:48 +02:00
Hieu Hoang
af6b1f2b4e
start on forced decoding for SCFG
2013-08-31 01:37:15 +01:00
Hieu Hoang
769f2fe00c
start on forced decoding for SCFG
2013-08-30 17:45:56 +01:00
Hieu Hoang
46fce4029c
create ChartTranslationOption class that store pointer to target phrase. Don't store target phrase itself. QUicker, but still not as quick as storing pointer to target phrase in hypo
2013-08-12 10:34:45 +01:00
Hieu Hoang
4db9aa2973
convert to using shared pointers in ChartTranslationOptions
2013-08-09 15:20:45 +01:00
Hieu Hoang
59e7a179ca
add InputPath objects of chart decoding. Start on lattice input for chart decoding
2013-08-08 21:29:22 +01:00
Hieu Hoang
88f888f534
const TargetPhrase in TargetPhraseCollection
2013-08-08 14:38:41 +01:00
Hieu Hoang
8ffd53e321
create target phrases, not Translation Options, for XML. Can be used in both pb and scfg
2013-07-24 18:06:46 +01:00
Hieu Hoang
d5d4051d8b
create target phrases, not Translation Options, for XML. Can be used in both pb and scfg
2013-07-24 15:55:17 +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
e8dadb58ce
split classes in DummyScoreProducers into separate files
2013-05-25 00:57:37 +01:00
Hieu Hoang
40ae4e9522
split classes in DummyScoreProducers into separate files
2013-05-24 23:57:06 +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
f401e4f08e
rename entries in enum StatelessFeatureType
2013-05-13 15:53:56 +01:00
Hieu Hoang
499487fb98
get rid of TargetPhrase::SetScore. Expose ScorerBreakdown object so they can be set directly
2013-05-13 15:36:09 +01:00
Hieu Hoang
981351758a
delete class TranslationSystem
2013-05-11 14:13:26 +01:00
Hieu Hoang
3e64d4b341
enum StatelessFeatureType
2013-04-30 19:27:49 +01:00
Hieu Hoang
b53b93f09f
gt rid of word penalty of 0.434. Adjust weight accordingly
2013-04-24 19:23:14 +01:00
Hieu Hoang
01af82310b
delete ScoreProducer
2013-02-21 20:03:35 +00:00
Hieu Hoang
6885e04b42
move feature function variables into FeatureFunction.h
2012-12-31 00:57:21 +00:00
Hieu Hoang
1052b39f0f
move all InitializeForInput() and CleanUpAfterSentenceProcessing() into ChartParser. For consistency
2012-12-27 20:12:35 +00:00
Hieu Hoang
17898a9df3
move initialization and cleanup functions to staticData
2012-12-21 15:59:52 +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
bc64acaaa4
remove hardcoded label for top of sentence
2012-11-13 17:43:52 +00:00
Hieu Hoang
5e3ef23cef
move moses/src/* to moses/
2012-11-12 19:56:18 +00:00