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

Corrected bug in lemma_lookup oracle

parent a71b3228
No related branches found
No related tags found
No related merge requests found
...@@ -321,8 +321,8 @@ void Oracle::createDatabase() ...@@ -321,8 +321,8 @@ void Oracle::createDatabase()
}, },
[](Config & c, Oracle * oracle) [](Config & c, Oracle * oracle)
{ {
const std::string & form = c.getTape("FORM")[c.getHead()]; const std::string & form = c.getTape("FORM")[0];
const std::string & pos = c.getTape("POS")[c.getHead()]; const std::string & pos = c.getTape("POS")[0];
std::string & lemma = oracle->data[form + "_" + pos]; std::string & lemma = oracle->data[form + "_" + pos];
if(lemma.empty()) if(lemma.empty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment