mosesdecoder/phrase-extract/score-stsg/Options.h

45 lines
734 B
C
Raw Permalink Normal View History

#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)
2014-12-30 21:57:23 +03:00
, 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;
2014-12-30 21:57:23 +03:00
bool treeScore;
};
} // namespace ScoreStsg
} // namespace Syntax
} // namespace MosesTraining