Project

General

Profile

Bug #1670

Fix the bug in saving has_noun dictionary values

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

Status:
Closed
Priority:
High
Target version:
Start date:
09/20/2021
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

I found an inconsistency in the way values are being stored in the has_noun function in two different places in BR3_IR3_tagger.py. In extract_single_uncommon_words, with the header as key, the list of (word, pos_tag) is saved as the value whereas, in the assign_subtract_const function, the value is stored as a list of pos_tags.

This is causing issues in the assignment of the correct subtract_const value for a header variant. We need to make sure that in the assign_subtract_const function as well, the values are stored as a list of (word, pos_tag) and subsequent changes are made to ensure that the functionality of assign_subtract_const is not affected.

#1

Updated by Nandini Bansal about 3 years ago

  • Estimated time set to 1.00 h
#2

Updated by Nandini Bansal about 3 years ago

  • Assignee set to Nandini Bansal
#3

Updated by Nandini Bansal about 3 years ago

  • % Done changed from 0 to 100
#4

Updated by Nandini Bansal about 3 years ago

  • Status changed from New to Resolved
#5

Updated by Nandini Bansal about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF