Commit Graph

74 Commits

Author SHA1 Message Date
Ales Tamchyna
fea32c7182 debugged CoveredReferenceFeature 2013-12-03 17:25:42 +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
phikoehn
6824d84491 bug fix with interaction of alternate weights and xml markup 2013-11-30 02:00:34 +00:00
Hieu Hoang
f13d0c8244 UTIL_THROW_IF -> UTIL_THROW_IF2 2013-11-22 20:27:46 +00:00
Hieu Hoang
22864c2b4b replace CHECK with UTIL_THROW_IF in Moses 2013-11-19 17:23:19 +00:00
Hieu Hoang
2f00ae936b move collection of phrase-table from Staticdata to PhraseDictionary 2013-11-15 17:26:26 +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
5625d30a26 add target phrase to arguments for Evaluate() during application to sentence 2013-09-18 12:35:31 +02:00
Hieu Hoang
f88908f972 add option to store rule source in target phrase 2013-09-17 18:29:06 +02:00
Hieu Hoang
3271d86c25 add option to store rule source in target phrase 2013-09-17 18:22:00 +02:00
Hieu Hoang
f5fc57008f save properties in target phrase object 2013-08-29 13:36:01 +01:00
Hieu Hoang
1848946cb3 beautify 2013-08-28 11:06:27 +01:00
Hieu Hoang
de888f2ab4 store arbitary key-value in translation rules 2013-08-27 09:42:24 +01:00
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