Project

General

Profile

Task #1561

Modification in tagging_utils.py such that doc_ids with sim_score equal to the kp_doc_id are not removed

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

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/27/2021
Due date:
% Done:

90%

Estimated time:
3.00 h

Description

We recently made changes in the code that makes sure that if KP is linked to the same document in which is tagged, the KP is only tagged if there exists a doc_id with a higher similarity score. But we saw some cases where KPs were linked to different doc_ids with the same score as the self-link. But due to strict greater than condition, those KPs are not getting tagged. We need to change this and make sure that doc_ids with the same sim_score as self-link are retained.

The changes will have to be made in the update_doc_id_score_list function from tagging_utils.py.

You can use "C-API Reference.txt" for testing your changes.

Example added in attachments:


Files

#1

Updated by Nandini Bansal over 3 years ago

  • Description updated (diff)
  • Assignee set to Anonymous
#2

Updated by Nandini Bansal over 3 years ago

  • Description updated (diff)
  • Estimated time set to 3.00 h
#3

Updated by Nandini Bansal over 3 years ago

  • Assignee deleted (Anonymous)
#4

Updated by Nandini Bansal about 3 years ago

  • Assignee set to Anonymous
#5

Updated by Nandini Bansal about 3 years ago

  • % Done changed from 0 to 90
#6

Updated by Anonymous about 3 years ago

  • Status changed from New to In Progress
#7

Updated by Anonymous about 3 years ago

  • Status changed from In Progress to Resolved
#8

Updated by Nandini Bansal about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF