Merge github.com:moses-smt/mosesdecoder into weight-new

This commit is contained in:
Hieu Hoang 2013-02-20 10:11:21 +00:00
commit ebd7b85aa6
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ int main(int argc, char** argv)
// main loop over set of input sentences
InputType* source = NULL;
size_t lineCount = 0;
size_t lineCount = staticData.GetStartTranslationId();
while(ReadInput(*ioWrapper,staticData.GetInputType(),source)) {
IFVERBOSE(1) {
ResetUserTime();

View File

@ -998,7 +998,7 @@ void PhraseTableCreator::FlushEncodedQueue(bool force)
if(force)
{
if(!m_lastSourceRange.size() || m_lastSourceRange.back() != m_lastFlushedSourcePhrase)
m_lastSourceRange.push_back(m_lastFlushedSourcePhrase);
m_lastSourceRange.push_back(MakeSourceKey(m_lastFlushedSourcePhrase));
if(m_lastCollection.size())
{