mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
Merge github.com:moses-smt/mosesdecoder into weight-new
This commit is contained in:
commit
ebd7b85aa6
@ -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();
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user