summaryrefslogtreecommitdiff
path: root/decoder/ff_wordalign.h
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-10-22 23:29:11 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-10-22 23:29:11 +0000
commitdd886ca6da84970ccb96b2f0155ff672e03f5b58 (patch)
tree78b5627347f3953539852cdd6b92053e844e87d4 /decoder/ff_wordalign.h
parent550019457302ecaaec6f72e912013a6fa9f2da67 (diff)
handle translation from the null word
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@689 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_wordalign.h')
-rw-r--r--decoder/ff_wordalign.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/decoder/ff_wordalign.h b/decoder/ff_wordalign.h
index 30ddf7a1..0714229c 100644
--- a/decoder/ff_wordalign.h
+++ b/decoder/ff_wordalign.h
@@ -49,6 +49,11 @@ class MarkovJump : public FeatureFunction {
void* out_context) const;
private:
const int fid_;
+ const int fid_lex_null_;
+ const int fid_null_lex_;
+ const int fid_null_null_;
+ const int fid_lex_lex_;
+
bool binary_params_;
std::vector<std::map<int, int> > flen2jump2fid_;
};
@@ -96,7 +101,6 @@ class SourceBigram : public FeatureFunction {
WordID trg,
SparseVector<double>* features) const;
mutable Class2Class2FID fmap_;
- mutable Class2FID ufmap_;
};
class SourcePOSBigram : public FeatureFunction {