mosesdecoder/phrase-extract/score-stsg/Options.h
2014-12-30 18:57:23 +00:00

45 lines
734 B
C++

#pragma once
#include <string>
namespace MosesTraining
{
namespace Syntax
{
namespace ScoreStsg
{
struct Options {
public:
Options()
: goodTuring(false)
, inverse(false)
, kneserNey(false)
, logProb(false)
, minCountHierarchical(0)
, negLogProb(false)
, noLex(false)
, noWordAlignment(false)
, treeScore(false) {}
// Positional options
std::string extractFile;
std::string lexFile;
std::string tableFile;
// All other options
bool goodTuring;
bool inverse;
bool kneserNey;
bool logProb;
int minCountHierarchical;
bool negLogProb;
bool noLex;
bool noWordAlignment;
bool treeScore;
};
} // namespace ScoreStsg
} // namespace Syntax
} // namespace MosesTraining