diff options
Diffstat (limited to 'scripts/training/phrase-extract/ExtractedRule.h')
-rw-r--r-- | scripts/training/phrase-extract/ExtractedRule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/training/phrase-extract/ExtractedRule.h b/scripts/training/phrase-extract/ExtractedRule.h index 170ccf892..be6e30836 100644 --- a/scripts/training/phrase-extract/ExtractedRule.h +++ b/scripts/training/phrase-extract/ExtractedRule.h @@ -43,6 +43,7 @@ public: int startS; int endS; float count; + double pcfgScore; std::map<size_t, std::pair<size_t, size_t> > m_ntLengths; @@ -58,6 +59,7 @@ public: , startS(sS) , endS(eS) , count(0) + , pcfgScore(0.0) {} void SetSpanLength(size_t sourcePos, size_t sourceLength, size_t targetLength) |