Skip to content

RunTimeError #283

Open
Open
@vizzerdrix55

Description

@vizzerdrix55

Hello there
I use pattern.de and installed in on Jupyter Notebook

I get the following error, when I try to run lemma-command in a for loop with massive (more than 10'000) tokens to be processed:

As there anything that I can do?

additional information:
Python 3.7.1 (default, Dec 14 2018, 13:28:58)
IPython 7.2.0

--- Logging error ---
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/pattern/text/init.py", line 609, in _read
raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "", line 12, in getInfinitive
inf = lemma(verb_token)
File "/anaconda3/lib/python3.7/site-packages/pattern/text/init.py", line 2172, in lemma
self.load()
File "/anaconda3/lib/python3.7/site-packages/pattern/text/init.py", line 2127, in load
for v in _read(self._path):
RuntimeError: generator raised StopIteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions