I complete the porting moses decoder for Android and iPhone.
Now, I am testing compact phrase table.
we teste using compact phrase table built on 32 bit system. Because, result
of 64 bit system has crash.
it is working on iPhone. However there is problem on Android platform.
program is crashed after LexicalReorderingTableCompact() function called.

LexicalReorderingTableCompact::LexicalReorderingTableCompact(
  const std::string& filePath,
  const std::vector<FactorType>& f_factors,
  const std::vector<FactorType>& e_factors,
  const std::vector<FactorType>& c_factors)
  : LexicalReorderingTable(f_factors, e_factors, c_factors),
  m_inMemory(StaticData::Instance().UseMinlexrInMemory()),
  m_numScoreComponent(6), m_multipleScoreTrees(true),
  m_hash(10, 16), m_scoreTrees(1)
{
 ELOG("in CheckAndLoad");
  Load(filePath);
}

I can see the log from m_hash, however ELOG in above source is not printed.
I don't know why it happen.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to