Ejemplo n.º 1
0
RuleCubeItem::RuleCubeItem(const ChartTranslationOptions &transOpt,
                           const ChartCellCollection &/*allChartCells*/)
  : m_translationDimension(0, transOpt.GetTargetPhrases())
  , m_hypothesis(0)
{
  CreateHypothesisDimensions(transOpt.GetStackVec());
}
RuleCubeItem::RuleCubeItem(const ChartTranslationOption &transOpt,
                           const ChartCellCollection &allChartCells)
  : m_translationDimension(0,
                           transOpt.GetTargetPhraseCollection().GetCollection())
  , m_hypothesis(0)
{
  CreateHypothesisDimensions(transOpt.GetDottedRule(), allChartCells);
}