mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
mira
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3437 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
a52e47259b
commit
b0c484fc3a
@ -138,17 +138,17 @@ int main(int argc, char* argv[])
|
||||
string line;
|
||||
while((line = ioWrapper->GetInput()) != "")
|
||||
{
|
||||
line += "\n";
|
||||
OnlineCommand oc;
|
||||
ReadInput(*ioWrapper,staticData.GetInputType(),source, line);
|
||||
OnlineCommand oc;
|
||||
if (oc.Parse(line)){//an online command
|
||||
oc.Execute();
|
||||
oc.Clean();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
line += "\n";
|
||||
ReadInput(*ioWrapper,staticData.GetInputType(),source, line);
|
||||
}
|
||||
|
||||
StaticData &ss = StaticData::InstanceNonConst();
|
||||
//ss.ChangeWeights( "lm", 8989);
|
||||
// note: source is only valid within this while loop!
|
||||
IFVERBOSE(1)
|
||||
ResetUserTime();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user