Python Named Entity Recognition Error: Indexerror: List Index Out Of Range
Hi i am new to python and tried to run script (https://github.com/detuvoldo/tagger), I replaced the 2 lines in utils.py because i am using Windows 10 and there were some path relat
Solution 1:
I assume that you are running the script from the E:\New-Code\tagger-master\tagger-master\
directory and "models"
and "evaluation"
are right inside it. In this case, this should specify a path correctly:
models_path = "models"eval_path = "evaluation"eval_temp = os.path.join(eval_path, "temp")
eval_script = os.path.join(eval_path, "conlleval")
If you see this error with this setting, the problem is with one of your "eval.*.scores"
files, not path specification. I can't say for sure what is must contain, but at least provide its actual content.
Post a Comment for "Python Named Entity Recognition Error: Indexerror: List Index Out Of Range"