summaryrefslogtreecommitdiff
path: root/decoder/ff_from_fsa.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 00:07:45 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 00:07:45 +0000
commit83654f58e1f5f5518ac0e30ad354eebda67fa774 (patch)
treeac9fe9f7bc495b4e6a89d07e081ced252d8282ea /decoder/ff_from_fsa.h
parent784f179f1320220a73506d60a7711a9020c0b3d7 (diff)
dynamic fsa ff, factory for fsa and ff shares code, factory moved to ff_factory.cc
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@483 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_from_fsa.h')
-rwxr-xr-xdecoder/ff_from_fsa.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/decoder/ff_from_fsa.h b/decoder/ff_from_fsa.h
index 10ccfe6d..2c339aa8 100755
--- a/decoder/ff_from_fsa.h
+++ b/decoder/ff_from_fsa.h
@@ -18,11 +18,8 @@
uses guarantee about markov order=N to score ASAP
encoding of state: if less than N-1 (ctxlen) words
- either:
- struct FF : public FsaImpl,FeatureFunctionFromFsa<FF> (more efficient)
-
- or:
- struct FF : public FsaFeatureFunctionDynamic,FeatureFunctionFromFsa<FF> (code sharing, but double dynamic dispatch)
+ usage:
+ typedef FeatureFunctionFromFsa<LanguageModelFsa> LanguageModelFromFsa;
*/
template <class Impl>
@@ -271,7 +268,6 @@ private:
}
};
-
#ifdef TEST_FSA
# include "tdict.cc"
# include "ff_sample_fsa.h"