Commit Graph

60 Commits

Author SHA1 Message Date
Hieu Hoang
4dfb625536 beautify 2013-08-23 13:53:30 +01:00
Kenneth Heafield
c4dc57f8a3 swap 2013-08-22 10:16:24 +01:00
Hieu Hoang
abfe02f154 refactor input score handling to use Evaluate(inputtype, inputpath). Not a placeholder factor anymore 2013-08-14 16:53:06 +01:00
Hieu Hoang
073b60db35 implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input 2013-08-13 20:47:03 +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
9341f28d75 Evaluate(InputType) --> Evaluate(InputType, Phrase source) 2013-08-08 17:35:42 +01:00
Hieu Hoang
585ec0f7fe DONE: delete source phrase from TargetPhrase class 2013-08-07 15:18:45 +01:00
Hieu Hoang
a1f5167f85 get ready to delete source phrase from TargetPhrase class 2013-08-07 11:37:40 +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
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
d9bd7dc818 figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 23:59:29 +01:00
Hieu Hoang
f9d6528088 figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 21:12:36 +01:00
Hieu Hoang
f83622b0b7 figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 17:16:10 +01:00
Hieu Hoang
b1993f6171 beautify 2013-05-30 12:51:40 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
d647dd8aa3 delete sourcePhrase variable in TargetPhrase class 2013-05-28 10:51:28 +01:00
Hieu Hoang
805eef6c18 delete sourcePhrase variable in TargetPhrase class 2013-05-28 01:25:27 +01:00
Hieu Hoang
ae82d02a05 delete sourcePhrase variable in TargetPhrase class 2013-05-28 00:41:25 +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
5d429abc6e optimise evalution with SourceWordDeletionFeature 2013-05-24 11:33:24 +01:00
Hieu Hoang
02b6977395 add plumbing for evaluating features that need source sentence 2013-05-23 18:12:08 +01:00
Hieu Hoang
6480805635 technical memory leak due to not cleaning up StaticData. Doesn't make much difference, but annoying messages from valgrind 2013-05-22 17:32:06 +01:00
Hieu Hoang
112bcdc925 Make Phrase::CreateFromString() more efficient 2013-05-22 12:03:00 +01:00
Hieu Hoang
53d625de5b Get ready to make lhsTarget a pointer 2013-05-22 10:57:19 +01:00
Hieu Hoang
4fdda2e2d9 Get ready to make lhsTarget a pointer 2013-05-22 10:40:12 +01:00
Hieu Hoang
ff880ec6f1 delete references to LMList 2013-05-21 12:27:13 +01:00
Hieu Hoang
41ea085a4f rename entries in enum StatelessFeatureType 2013-05-13 16:14:18 +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
a1b2f66d91 each new target phrase in factored decomposition holds scores from previous steps. 2013-05-08 11:28:31 +01:00
Hieu Hoang
187e09a5d2 delete last TargetPhrase::SetScore() 2013-05-02 18:36:34 +01:00
Hieu Hoang
f46c8d66e2 delete another TargetPhrase::SetScore() 2013-05-02 18:21:52 +01:00
Hieu Hoang
ba54ee6748 delete another TargetPhrase::SetScore() 2013-05-02 17:44:19 +01:00
Hieu Hoang
bdebc477c5 comment 2013-05-02 17:25:29 +01:00
Hieu Hoang
fdcfe95574 start framework for evaluating target phrase score 2013-05-02 17:19:45 +01:00
Hieu Hoang
46b70fe89a start framework for evaluating target phrase score 2013-05-02 17:07:03 +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
0425083c12 use GetWeightedScore() instead of InnerProduct(...) 2013-05-02 10:30:20 +01:00
Hieu Hoang
26a4aa8d18 enable sparse feature in phrase table 2013-04-30 17:27:35 +01:00
Hieu Hoang
8edbfebbf1 word penalty for XML options 2013-04-26 17:49:11 +01:00
Hieu Hoang
83494418e2 delete PhraseDictionaryMemory. Fix word penalty in compact phrase table 2013-04-26 15:55:32 +01:00
Hieu Hoang
69453f0a8b don't convert LM score from 1 log to another for chart decoding 2013-04-26 14:27:44 +01:00
Hieu Hoang
75c85acd5e delete PhraseDictionaryMemory. Use PhraseDictionarySCFG 2013-04-25 18:24:02 +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
bf057dc46b get rid of ResetScore() from Hypothesis and TargetPhrase class 2013-04-22 20:12:43 +01:00
Hieu Hoang
be01d61aea Merge github.com:moses-smt/mosesdecoder into weight-new 2013-04-10 18:42:29 +01:00
Hieu Hoang
517d6c7bb8 add score breakdown to target phrase debugging output 2013-04-10 18:40:25 +01:00