Commit Graph

10823 Commits

Author SHA1 Message Date
Hieu Hoang
02c7af3fb8 Mira changes. Manually applied Eva's patch 2013-08-12 13:03:26 +01:00
Hieu Hoang
c07d8cb43f beautify 2013-08-12 10:35:03 +01:00
Hieu Hoang
2a240b59b2 delete debug messages 2013-08-12 10:34:38 +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
8756ad8ffd beautify 2013-08-09 18:17:18 +01:00
Hieu Hoang
a867063a3b convert to using shared pointers in ChartTranslationOptions 2013-08-09 18:16:31 +01:00
Hieu Hoang
4db9aa2973 convert to using shared pointers in ChartTranslationOptions 2013-08-09 15:20:45 +01:00
Hieu Hoang
f4d534ffd7 add InputPath objects of chart decoding. Start on lattice input for chart decoding 2013-08-09 10:27:46 +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
15132a04aa comment 2013-08-08 17:58:38 +01:00
Hieu Hoang
9341f28d75 Evaluate(InputType) --> Evaluate(InputType, Phrase source) 2013-08-08 17:35:42 +01:00
Hieu Hoang
b044f31012 consistently set source phrase in translation options as soon as the trans opt is created 2013-08-08 17:10:56 +01:00
Hieu Hoang
4b28daeed2 consistently set source phrase in translation options as soon as the trans opt is created 2013-08-08 15:58:01 +01:00
Hieu Hoang
a60bbbf892 consistently set source phrase in translation options as soon as the trans opt is created 2013-08-08 15:03:01 +01:00
Hieu Hoang
88f888f534 const TargetPhrase in TargetPhraseCollection 2013-08-08 14:38:41 +01:00
Hieu Hoang
9062194f46 comments 2013-08-08 12:26:25 +01:00
Hieu Hoang
f70084178c Merge github.com:moses-smt/mosesdecoder into hieu_opt_input 2013-08-07 15:53:42 +01:00
phikoehn
e50fc722e9 bug fix alternative weight setting 2013-08-07 15:35:40 +01:00
Hieu Hoang
6f7d239f13 Merge github.com:moses-smt/mosesdecoder into hieu_opt_input 2013-08-07 15:19:22 +01:00
Hieu Hoang
585ec0f7fe DONE: delete source phrase from TargetPhrase class 2013-08-07 15:18:45 +01:00
Hieu Hoang
0ab6a441b2 get ready to delete source phrase from TargetPhrase class 2013-08-07 15:02:36 +01:00
Hieu Hoang
b3a860fd4f get ready to delete source phrase from TargetPhrase class 2013-08-07 14:35:40 +01:00
Hieu Hoang
441acf15e6 beautify 2013-08-07 14:18:12 +01:00
Hieu Hoang
5eef91c0ea get ready to delete source phrase from TargetPhrase class 2013-08-07 14:10:42 +01:00
Hieu Hoang
71073868a8 PhraseDictionaryTreeAdaptor::GetTargetPhraseCollectionLegacy return tpColl and vector of source phrases 2013-08-07 12:55:10 +01:00
Hieu Hoang
5deefbddaf renaming a function 2013-08-07 12:34:31 +01:00
Hieu Hoang
24c4c8f210 mark a function as legacy 2013-08-07 12:11:39 +01:00
Hieu Hoang
89f39bf89d mark a function as legacy 2013-08-07 11:48:18 +01:00
Hieu Hoang
a1f5167f85 get ready to delete source phrase from TargetPhrase class 2013-08-07 11:37:40 +01:00
Hieu Hoang
66d4c2b0be source phrase is a pointer in translation options. 2013-08-07 10:28:28 +01:00
phikoehn
67c3063574 Merge branch 'master' of ssh://github.com/moses-smt/mosesdecoder 2013-08-07 05:32:59 +01:00
phikoehn
ab4e3c63a6 enriched trace 2013-08-07 05:31:45 +01:00
Hieu Hoang
7a808a2edb push InpuutPath down into phrase dictionary for legacy methods 2013-08-06 17:09:53 +01:00
Hieu Hoang
646cf93c1f push InpuutPath down into phrase dictionary for legacy methods 2013-08-06 15:07:03 +01:00
Hieu Hoang
1753fdf6b1 push InpuutPath down into phrase dictionary for legacy methods 2013-08-06 15:04:57 +01:00
Hieu Hoang
5ec67ea71b mark a function as legacy 2013-08-06 14:43:02 +01:00
Hieu Hoang
d3f1f7e0d6 in the binary phrase table, save the source phrase used when doing lookups. 2013-08-06 13:45:03 +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
dbc545089b Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input 2013-08-05 12:16:09 +01:00
Hieu Hoang
302eec8283 beautify 2013-08-05 12:11:59 +01:00
Hieu Hoang
d395737639 minor cleanup 2013-08-02 18:24:36 +01:00
Hieu Hoang
ae2e2c6d83 Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input 2013-08-02 18:15:09 +01:00
Hieu Hoang
afcf65098f parsing doesn't depend on input sentence anymore 2013-08-02 18:09:47 +01:00
Kenneth Heafield
78cdf82de8 Log10/loge weight change for incremental. TODO: debug n-best list generation 2013-08-02 17:56:41 +01:00
Hieu Hoang
0596c3e9e4 Add NonTerminalSet variable to InputPath 2013-08-02 15:54:49 +01:00
Hieu Hoang
d1d07d5923 Merge branch 'hieu_opt_input' of github.com:hieuhoang/mosesdecoder into hieu_opt_input 2013-08-01 17:01:45 +01:00
Hieu Hoang
ac50d9f349 Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input 2013-08-01 16:55:46 +01:00
Hieu Hoang
f234aa203f number recognizer treats each word as atomic, replace all of the word or nothing at all. Recognizer is designed to be run after the text has been tokenized, not before 2013-08-01 16:55:11 +01:00