std::string LanguageModelMultiFactor::GetScoreProducerDescription() const { std::ostringstream oss; // what about LMs that are over multiple factors at once, POS + stem, for example? oss << GetNGramOrder() << "-gram LM score, factor-type= ??? " << ", file=" << m_filePath; return oss.str(); }
std::string LanguageModelSingleFactor::GetScoreProducerDescription(unsigned) const { std::ostringstream oss; // what about LMs that are over multiple factors at once, POS + stem, for example? oss << "LM_" << GetNGramOrder() << "gram"; return oss.str(); }