running with everything on defaults (as checked out from repo)
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 "/Users/felix/Library/Application Support/IntelliJIdea2017.3/python/helpers/pydev/pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 50787 --file /Users/felix/IdeaProjects/Giveme5W/examples/extracting/parse_documents.py
pydev debugger: process 1278 is connecting
Connected to pydev debugger (build 173.3942.27)
No extractors passed: initializing default configuration.
KeyValueCache: /Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle restored
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle entries: 654 size: 18.1 KB
No combinedScorers passed: initializing default configuration.
processing documents from file system
Handler: Title: Barack Obama describes first meeting with Donald Trump at White House as 'excellent'
Id: 36ed35f8c78eda121afe93cbe867946d07b7e59278d2a125a23ec1bd
already preprocessed
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: US: [Location(United States of America, (39.7837304, -100.4458825, 0.0)), '1512382161.288082']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: White House: [Location(White House, 1600, Pennsylvania Avenue Northwest, Golden Triangle, Washington, District of Columbia, 20500, United States of America, (38.8976998, -77.0365534886228, 0.0)), '1512398588.765672']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: US: [Location(United States of America, (39.7837304, -100.4458825, 0.0)), '1512382161.288082']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: America: [Location(America, Pereira, Risaralda, Colombia, (4.81804785, -75.6888617199333, 0.0)), '1512382173.760488']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: Trump Tower: [Location(Trump Tower, 721/725, 5th Avenue, Diamond District, Manhattan Community Board 5, New York County, NYC, New York, 10022, United States of America, (40.7623148, -73.9739028212589, 0.0)), '1512398597.173803']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: US: [Location(United States of America, (39.7837304, -100.4458825, 0.0)), '1512382161.288082']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: US: [Location(United States of America, (39.7837304, -100.4458825, 0.0)), '1512382161.288082']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: White House: [Location(White House, 1600, Pennsylvania Avenue Northwest, Golden Triangle, Washington, District of Columbia, 20500, United States of America, (38.8976998, -77.0365534886228, 0.0)), '1512398588.765672']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: US: [Location(United States of America, (39.7837304, -100.4458825, 0.0)), '1512382161.288082']
/Users/felix/IdeaProjects/Giveme5W/examples/caches/Nominatim.prickle LOADED: White House: [Location(White House, 1600, Pennsylvania Avenue Northwest, Golden Triangle, Washington, District of Columbia, 20500, United States of America, (38.8976998, -77.0365534886228, 0.0)), '1512398588.765672']
Traceback (most recent call last):
File "/Users/felix/Library/Application Support/IntelliJIdea2017.3/python/helpers/pydev/pydevd.py", line 1683, in <module>
main()
File "/Users/felix/Library/Application Support/IntelliJIdea2017.3/python/helpers/pydev/pydevd.py", line 1677, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/Users/felix/Library/Application Support/IntelliJIdea2017.3/python/helpers/pydev/pydevd.py", line 1087, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Users/felix/Library/Application Support/IntelliJIdea2017.3/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/felix/IdeaProjects/Giveme5W/examples/extracting/parse_documents.py", line 60, in <module>
.set_preprocessed_path(preprocessedPath)
File "/Users/felix/IdeaProjects/Giveme5W/extractor/tools/file/handler.py", line 173, in process
self._process_document(document)
File "/Users/felix/IdeaProjects/Giveme5W/extractor/tools/file/handler.py", line 142, in _process_document
self._extractor.parse(document)
File "/Users/felix/IdeaProjects/Giveme5W/extractor/extractor.py", line 114, in parse
combinedScorer.score(doc)
File "/Users/felix/IdeaProjects/Giveme5W/extractor/combined_scoring/distance_of_candidate.py", line 97, in score
dist_factor += distance_matrix[question][i] * self._weight[iq]
IndexError: list index out of range
running with everything on defaults (as checked out from repo)