TOFIX: PeriodInterval.py @ line 304: convert to using the dictionary.
XXXXXXXXX
38 early am hours of night <4436,4459> Type: None Mod: None Value: None DocTime: 2017-01-10 00:00:00
46entity Modifier
47entity AMPM-Of-Day
48entity Part-Of-Day
49entity Period
50entity Last
Traceback (most recent call last):
File "Chrono.py", line 186, in
chrono_master_list, my_chrono_ID_counter, timex_phrases = BuildEntities.buildChronoList(tempPhrases, my_chrono_ID_counter, chroList, (classifier, args.m), feats, doctime)
File "/Users/alolex/Desktop/CCTR_Git_Repos/Chrono/Chrono/BuildEntities.py", line 121, in buildChronoList
tmplist, chrono_id = buildSubIntervals(chrono_tmp_list, chrono_id, dct, ref_list)
File "/Users/alolex/Desktop/CCTR_Git_Repos/Chrono/Chrono/BuildEntities.py", line 296, in buildSubIntervals
chrono_list[period].set_modifier(chrono_list[modifier].get_id())
TypeError: set_modifier() takes 1 positional argument but 2 were given
NOW PARSING PHRASE: early am hours of night
TOFIX: PeriodInterval.py @ line 304: convert to using the dictionary. XXXXXXXXX 38 early am hours of night <4436,4459> Type: None Mod: None Value: None DocTime: 2017-01-10 00:00:00 46entity Modifier 47entity AMPM-Of-Day 48entity Part-Of-Day 49entity Period 50entity Last Traceback (most recent call last): File "Chrono.py", line 186, in
chrono_master_list, my_chrono_ID_counter, timex_phrases = BuildEntities.buildChronoList(tempPhrases, my_chrono_ID_counter, chroList, (classifier, args.m), feats, doctime)
File "/Users/alolex/Desktop/CCTR_Git_Repos/Chrono/Chrono/BuildEntities.py", line 121, in buildChronoList
tmplist, chrono_id = buildSubIntervals(chrono_tmp_list, chrono_id, dct, ref_list)
File "/Users/alolex/Desktop/CCTR_Git_Repos/Chrono/Chrono/BuildEntities.py", line 296, in buildSubIntervals
chrono_list[period].set_modifier(chrono_list[modifier].get_id())
TypeError: set_modifier() takes 1 positional argument but 2 were given