mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Changed: Minor changes
This commit is contained in:
parent
8455ba3917
commit
dea9655cc3
1 changed files with 1 additions and 3 deletions
|
@ -3073,9 +3073,9 @@ int injectClause()
|
||||||
|
|
||||||
vector<TPhrase>::iterator first(phrases.begin());
|
vector<TPhrase>::iterator first(phrases.begin());
|
||||||
vector<TPhrase>::iterator last(phrases.end());
|
vector<TPhrase>::iterator last(phrases.end());
|
||||||
|
|
||||||
for ( ; first != last; ++first)
|
for ( ; first != last; ++first)
|
||||||
{
|
{
|
||||||
|
|
||||||
vector<TClause>::iterator firstClause( first->Clauses.begin());
|
vector<TClause>::iterator firstClause( first->Clauses.begin());
|
||||||
vector<TClause>::iterator lastClause( first->Clauses.end());
|
vector<TClause>::iterator lastClause( first->Clauses.end());
|
||||||
for ( ; firstClause != lastClause; ++firstClause)
|
for ( ; firstClause != lastClause; ++firstClause)
|
||||||
|
@ -3091,7 +3091,6 @@ int injectClause()
|
||||||
firstClause->HashValue = CI18N::makeHash(firstClause->Text);
|
firstClause->HashValue = CI18N::makeHash(firstClause->Text);
|
||||||
firstRefClause->HashValue = firstClause->HashValue;
|
firstRefClause->HashValue = firstClause->HashValue;
|
||||||
|
|
||||||
|
|
||||||
nlinfo("update clause %s from clause file %s.", firstClause->Identifier.c_str(), clausePath.c_str());
|
nlinfo("update clause %s from clause file %s.", firstClause->Identifier.c_str(), clausePath.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3107,7 +3106,6 @@ int injectClause()
|
||||||
CI18N::writeTextFile(desDir + clausePath, str);
|
CI18N::writeTextFile(desDir + clausePath, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue