Printing this in cmd:
python punctuator.py C:\Users\dudina\bur.dev.txt C:\Users\dudina\new.txt
and getting mistake
Model = getattr(models, state["type"])
TypeError: list indices must be integers or slices, not str
I just downloaded scripts, had not changed anything
Can you help to solve it?
should refer to the path of the model downloaded from here: https://drive.google.com/drive/folders/0B7BsN5f2F1fZQnFsbzJ3TWxxMms (I recommend the Demo-Europarl-EN.pcl.
Printing this in cmd: python punctuator.py C:\Users\dudina\bur.dev.txt C:\Users\dudina\new.txt and getting mistake Model = getattr(models, state["type"]) TypeError: list indices must be integers or slices, not str I just downloaded scripts, had not changed anything Can you help to solve it?