Project

General

Profile

Actions

Bug #1278

closed

Analysis of other vocabularies fails

Added by Michal Med over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Urgent
Target version:
Start date:
05.06.2020
Due date:
% Done:

0%

Estimated time:

Description

I have created new vocabulary, attached a file (mpp-3.5 HTML) to it and imported "Slovník Pražských stavebních přepisů 2016 - slovník". Then I opened attached file in annotator and selected "Slovník Pražských stavebních předpisů 2016 - slovník" as a vocabulary for analysis. Then I ran the analysis and got "Text analysis failed" error.

Analysis of a file based on its own vocabulary is OK.


Files

analysis_failed.png (366 KB) analysis_failed.png Michal Med, 05.06.2020 11:06
Actions #1

Updated by Petr Křemen over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Lama Saeeda over 4 years ago

  • In general, it is possible to analyze a document in a specific vocabulary using another vocabulary without any problem.
  • The errors specified in this ticket occurred due to different issues;
    - On Termit side, a problem with generating "text selector". (Solved by Martin)
    - On Annotace side, a problem with the definition of known term spanning an occurrence of an unknown term.
    While investigating the previous point, another undesired behavior is found when erroneously unwrapping a span that is marking a definition of an unknown term. This leads to annotation loss when re-analyzing the document.
Actions #3

Updated by Michal Med over 4 years ago

it does not work on the artifacts that are in TermIt for a long time (e.g. original MPP 3.5 voc), but after creating new vocab with exactly the same file, analysis works.

Actions #4

Updated by Lama Saeeda over 4 years ago

  • Status changed from In Progress to Resolved
Actions #5

Updated by Michal Med over 4 years ago

  • Assignee changed from Lama Saeeda to Martin Ledvinka
  • Status changed from Resolved to Feedback

I tried it on termit-dev "Soubor pro Slovník Metropolitního plánu ve verzi 3.5 návrh k projednání - slovník" file. In the end it worked, but it stuck termit for few long minutes.
Martin reported some weird exceptions. Please check them and feel free to close the issue.

Actions #6

Updated by Martin Ledvinka over 4 years ago

  • Status changed from Feedback to Closed

I'm closing this issue for now. Once the term occurrence update after repeated text analysis is optimized, we can try reproduce the bug again and open a more concrete issue for it if necessary.

Actions

Also available in: Atom PDF