Skip to content

Commit

Permalink
Merge pull request #492 from dehilsterlexis/NLP-ENGINE-417
Browse files Browse the repository at this point in the history
NLP-ENGINE-417 fixed fired for dictionary phrases
  • Loading branch information
dehilsterlexis authored Jun 9, 2024
2 parents 2e7b979 + 45e70a7 commit 03abf8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lite/dicttok.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ bool DICTTok::ApplyDictFiles() {
}

Pn *pn = node->getData();
pn->setFired(true);

if (reduces) {
long start = pn->getStart();
Expand Down Expand Up @@ -322,8 +321,11 @@ bool DICTTok::ApplyDictFiles() {
suggestedN->getData()->setText(str);

findAttrs(suggestedN, con, name, true);
node = suggestedN;
node = suggestedN;
pn = node->getData();
}

pn->setFired(true);
}

last = node;
Expand Down

0 comments on commit 03abf8a

Please sign in to comment.