dkalpakchi / Textinator

An internationalized highly customizable annotation and evaluation tool for Natural Language Processing (NLP) tasks

Home Page:https://textinator.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a nested span on 4th level of nesting fails

dkalpakchi opened this issue · comments

Describe the bug
Attempting to create the span that covers 2 already existing spans, fails. Interestingly, this fails only if the first span already has 3+ levels of nesting.

To Reproduce

  1. Get the spans and create a selection as in picture 1
  2. Attempt to create a new span over the 2 in picture 1 (see result in picture 2)

Expected behavior
The span should be created correctly

Screenshots
Picture 1:
screenshot_20230129_141019

Picture 2:
screenshot_20230129_141027

Textinator version
Latest

Desktop (please complete the following information):

  • OS: Ubuntu 22.10
  • Browser: Firefox
  • Version: 110

Worked like a charm in this case, so the problem seems to be two labels with 3+ levels of nesting, not the levels of nesting themselves
screenshot_20230129_142240