Skip to content

Commit

Permalink
NLP-ENGINE-420 fixed readkbb to read multiword concept names
Browse files Browse the repository at this point in the history
Signed-off-by: dehilsterlexis <[email protected]>
  • Loading branch information
dehilsterlexis committed Jul 7, 2024
1 parent 93a7338 commit 4669ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs/libconsh/cg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3947,7 +3947,7 @@ bool CG::readKBB(std::string file) {
start = end;
attrFlag = true;
}
else if (!conceptDone && (c == ':' || unicu::isWhiteSpace(c) || end == length || (openDouble && !attrFlag && c == '"'))) {
else if (!conceptDone && (c == ':' || end == length || (openDouble && !attrFlag && c == '"'))) {
_tcsnccpy(word, &line[start],end-start);
int adjust = (c == ':' || c == '"') ? 1 : 0;
openDouble = false;
Expand Down

0 comments on commit 4669ce6

Please sign in to comment.