Commit 444cda31 authored by Franck Dary's avatar Franck Dary
Browse files

Removed use of action setRootUpdateIdsEmptyIfSentChanged

parent 66d1e477
......@@ -379,7 +379,6 @@ void Transition::initSplit(int index)
void Transition::initEagerShift()
{
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [](const Config & config)
{
......@@ -398,7 +397,6 @@ void Transition::initEagerShift()
void Transition::initGoldEagerShift()
{
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [](const Config & config)
{
......@@ -425,7 +423,6 @@ void Transition::initGoldEagerShift()
void Transition::initStandardShift()
{
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [](const Config &)
{
......@@ -566,7 +563,6 @@ void Transition::initEagerRight_rel(std::string label)
sequence.emplace_back(Action::attach(Config::Object::Stack, 0, Config::Object::Buffer, 0));
sequence.emplace_back(Action::addHypothesisRelative(Config::deprelColName, Config::Object::Buffer, 0, label));
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [label](const Config & config)
{
......@@ -599,7 +595,6 @@ void Transition::initGoldEagerRight_rel(std::string label)
sequence.emplace_back(Action::attach(Config::Object::Stack, 0, Config::Object::Buffer, 0));
sequence.emplace_back(Action::addHypothesisRelative(Config::deprelColName, Config::Object::Buffer, 0, label));
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [label](const Config & config)
{
......@@ -671,7 +666,6 @@ void Transition::initEagerRight()
{
sequence.emplace_back(Action::attach(Config::Object::Stack, 0, Config::Object::Buffer, 0));
sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [](const Config & config)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment