You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the node.tab contains token that have the same left or right text boundary an SQL error is thrown that the sub expressions returns more than one row.
The error is in the file left_token_right_token.sql:
UPDATE _node AS parent SET
left_token = (
SELECT token_index FROM _node AS child
WHEREparent.left=child.leftANDparent.corpus_ref=child.corpus_refANDparent.text_ref=child.text_refANDchild.token_indexIS NOT NULL
),
right_token = (
SELECT token_index FROM _node AS child
WHEREparent.right=child.rightANDparent.corpus_ref=child.corpus_refANDparent.text_ref=child.text_refANDchild.token_indexIS NOT NULL
);
It should be changed to return the minimum or maximum token_index.
From the ANNIS datamodel these data is not really valid. Unfortunately some corpora have these kind of errors which where undetected because older versions of ANNIS did ignore this problem. We can't fix all corpora, so we should make the import more stable regarding this error.
The text was updated successfully, but these errors were encountered:
If the node.tab contains token that have the same left or right text boundary an SQL error is thrown that the sub expressions returns more than one row.
The error is in the file left_token_right_token.sql:
It should be changed to return the minimum or maximum token_index.
From the ANNIS datamodel these data is not really valid. Unfortunately some corpora have these kind of errors which where undetected because older versions of ANNIS did ignore this problem. We can't fix all corpora, so we should make the import more stable regarding this error.
The text was updated successfully, but these errors were encountered: