Project

General

Profile

Task #1561

Updated by Nandini Bansal over 3 years ago

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" C-API for testing your changes. 

 Example added in attachments: 

Back