diff options
author | Chris Dyer <redpony@gmail.com> | 2009-12-14 20:35:11 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2009-12-14 20:35:11 -0500 |
commit | 851e389dffdd6996ea32d70defb8906de80b9edc (patch) | |
tree | 8c68ee77205badc056b8ab5b332e67e3e98017df /src/fdict.h | |
parent | dc6930c00b4b276883280cff1ed6dcd9ddef03c7 (diff) |
few small fixes of alignment tools, add new orthographic similarity feature for word aligner, final naming of directories, libraries in cdec
Diffstat (limited to 'src/fdict.h')
-rw-r--r-- | src/fdict.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/fdict.h b/src/fdict.h deleted file mode 100644 index ff491cfb..00000000 --- a/src/fdict.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _FDICT_H_ -#define _FDICT_H_ - -#include <string> -#include <vector> -#include "dict.h" - -struct FD { - static Dict dict_; - static inline int NumFeats() { - return dict_.max() + 1; - } - static inline WordID Convert(const std::string& s) { - return dict_.Convert(s); - } - static inline const std::string& Convert(const WordID& w) { - return dict_.Convert(w); - } -}; - -#endif |