Skip to content
Snippets Groups Projects
Commit cec78bbc authored by Franck Dary's avatar Franck Dary
Browse files

Working strategy for tagparser_sequential

parent ba21246f
No related branches found
No related tags found
No related merge requests found
......@@ -699,6 +699,13 @@ void Oracle::createDatabase()
else
newState = "unknown("+std::string(ERRINFO)+")("+previousState+")("+previousAction+")";
if (c.isFinal())
{
done = {{"tagger",0},{"morpho",0},{"lemmatizer_case",0},{"parser",0}};
lastIndexDone = {{"tagger",-1},{"morpho",-1},{"lemmatizer_case",-1},{"parser",-1}};
todo = {{"tagger",3*lookahead+1},{"morpho",2*lookahead+1},{"lemmatizer_case",lookahead+1}};
}
return "MOVE " + newState + " " + std::to_string(movement);
},
[](Config &, Oracle *, const std::string &)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment