diff options
Diffstat (limited to 'scripts/training/memscore/memscore.h')
-rw-r--r-- | scripts/training/memscore/memscore.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/scripts/training/memscore/memscore.h b/scripts/training/memscore/memscore.h deleted file mode 100644 index 9b17691e1..000000000 --- a/scripts/training/memscore/memscore.h +++ /dev/null @@ -1,57 +0,0 @@ -// memscore - in-memory phrase scoring for Statistical Machine Translation -// Christian Hardmeier, FBK-irst, Trento, 2010 -// $Id$ - -#ifndef MEMSCORE_H -#define MEMSCORE_H - -#include <sstream> -#include <string> -#include <utility> - -#include "config.h" - -#ifndef HAVE_PTRDIFF_T -typedef long ptrdiff_t; -#endif - -#ifdef __GNUC__ -#define NORETURN __attribute__ ((noreturn)) -#else -#define NORETURN -#endif - -void usage() NORETURN; - -typedef double Score; -typedef unsigned int Count; -typedef unsigned int Phrase; -typedef ptrdiff_t DataIndex; -typedef std::pair<Phrase,Phrase> PhrasePair; -typedef char *PhrasePairData; -typedef std::string String; -typedef std::istringstream IStringStream; - -/* phrasetable.h */ - -class PhraseText; -class PhraseInfo; -class PhraseInfoList; -class PhraseAlignment; -class PhrasePairInfo; -class PhraseTable; - -/* scorer.h */ - -class PhraseScorer; - -/* statistic.h */ - -class PhraseStatistic; - -/* IRSTLM */ - -class lmtable; -class ngram; - -#endif |