Project

General

Profile

Bug #1918

Bug fix to find the correct ending of mainKP for a given subKP

Added by Nandini Bansal about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
12/07/2021
Due date:
% Done:

0%

Estimated time:
3.00 h

Description

In tagging_utils.py, the function check_subKP_fullness_ratio is not able to correctly identify the tagged mainKP. It is the search for the ending of mainKP that is erroneous. Feel free to modify the entire condition for searching the ending if it is required. Handle the edge cases for it as well.

E.g.
['iteration'] -> iterator
['O', 'O', 'BR2 77, 0, 1.0', 'IR2P', 'BR BDS']
ratio: 1.0

"iteration" is identified as mainKP and "iterator" is the current subKP. If you look at the tags list below, it has two tags before and after identified mainKP. We can see that the tagged KP was two words i.e. the mainKP should have had two words but it is identified as a single word.

#1

Updated by Nandini Bansal almost 3 years ago

  • Assignee set to Rohit Choudhary
#2

Updated by Nandini Bansal almost 3 years ago

  • Start date changed from 11/23/2021 to 12/07/2021
  • Estimated time changed from 2.50 h to 3.00 h
#3

Updated by Rohit Choudhary almost 3 years ago

  • Status changed from New to In Progress
#4

Updated by Rohit Choudhary almost 3 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF