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

EOS empty stack

parent 7e8b84ee
No related branches found
No related tags found
No related merge requests found
...@@ -392,6 +392,7 @@ void Transition::initEOS(int bufferIndex) ...@@ -392,6 +392,7 @@ void Transition::initEOS(int bufferIndex)
sequence.emplace_back(Action::setRoot(bufferIndex)); sequence.emplace_back(Action::setRoot(bufferIndex));
sequence.emplace_back(Action::updateIds(bufferIndex)); sequence.emplace_back(Action::updateIds(bufferIndex));
sequence.emplace_back(Action::addHypothesisRelative(Config::EOSColName, Config::Object::Buffer, bufferIndex, Config::EOSSymbol1)); sequence.emplace_back(Action::addHypothesisRelative(Config::EOSColName, Config::Object::Buffer, bufferIndex, Config::EOSSymbol1));
sequence.emplace_back(Action::emptyStack());
cost = [bufferIndex](const Config & config) cost = [bufferIndex](const Config & config)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment