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

parser Oracle don't care about second part of deprels

parent e5812a45
Branches
No related tags found
No related merge requests found
...@@ -714,7 +714,7 @@ void Oracle::createDatabase() ...@@ -714,7 +714,7 @@ void Oracle::createDatabase()
if (parts.size() == 1) if (parts.size() == 1)
return cost; return cost;
if (labels.getRef(stackHead-head) == parts[1]) if (split(labels.getRef(stackHead-head), ':')[0] == split(parts[1], ':')[0])
return cost; return cost;
return cost+1; return cost+1;
...@@ -749,7 +749,7 @@ void Oracle::createDatabase() ...@@ -749,7 +749,7 @@ void Oracle::createDatabase()
if (parts.size() == 1) if (parts.size() == 1)
return cost; return cost;
if (labels.getRef(0) == parts[1]) if (split(labels.getRef(0), ':')[0] == split(parts[1], ':')[0])
return cost; return cost;
return cost+1; return cost+1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment