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

Fixed serRoot action when sentence segmentation is gold

parent c6a902ee
No related branches found
No related tags found
No related merge requests found
...@@ -689,7 +689,7 @@ Action Action::setRootUpdateIdsEmptyStackIfSentChanged() ...@@ -689,7 +689,7 @@ Action Action::setRootUpdateIdsEmptyStackIfSentChanged()
auto apply = [](Config & config, Action & a) auto apply = [](Config & config, Action & a)
{ {
int lineIndex = config.getWordIndex(); int lineIndex = config.getWordIndex();
int rootIndex = -1; int rootIndex = lineIndex;
int lastSentId = -1; int lastSentId = -1;
int firstIndexOfSentence = lineIndex; int firstIndexOfSentence = lineIndex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment