Skip to content

Commit

Permalink
fix: #385
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Aug 7, 2024
1 parent 2d29412 commit 5c32248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sentence/SentenceSegmentation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export default defineComponent({
mergedSentence.treeJson.nodesJson[`${newId}`] = {
...token,
ID: `${newId}`,
HEAD: token.HEAD > 0 ? token.HEAD + length : 0,
HEAD: token.HEAD > 0 ? token.HEAD + length : token.HEAD,
};
});
mergedSentence.metaJson = {
Expand Down

0 comments on commit 5c32248

Please sign in to comment.