Skip to content

Commit

Permalink
NLP-ENGINE-417 fixed fired for dictionary phrases
Browse files Browse the repository at this point in the history
Signed-off-by: dehilsterlexis <[email protected]>
  • Loading branch information
dehilsterlexis committed Jun 9, 2024
1 parent a504079 commit 45e70a7
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 45e70a7

Please sign in to comment.