clips / pattern

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
https://github.com/clips/pattern/wiki
BSD 3-Clause "New" or "Revised" License
8.72k stars 1.58k forks source link

Running Example Code Results in Exception #327

Closed EBoiSha closed 2 years ago

EBoiSha commented 2 years ago

Hi!

Not sure if this is an issue but when running the example code provided in the read.me I receive an exception:

RuntimeError: generator raised StopIteration

It is thrown with this line v = tag(s) #Hier Fehler

at least removing it and everything after that let's the code work. Anyway, could you please review if this is an issue? Seems that a patch is missing based on the following https://stackoverflow.com/questions/51700960/runtimeerror-generator-raised-stopiteration-every-time-i-try-to-run-app.

Thanks!

EBoiSha commented 2 years ago

Okay, I just see that this has been fixed and a pull request proposed already. Why isn't it fixed?