-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"RuntimeError: generator raised StopIteration" from module pattern/text #11
Comments
Same issue. Did you resolve it? @snej , @bendichter |
git clone https://github.com/bendichter/tenseflow.git I was getting the same issue, but cloning the repository first helped |
There are still people using this? chatGPT would probably be easier and better |
Huh? That’s like using a sledgehammer to crack open an walnut. (A sledgehammer you can’t even use yourself, you have to send the walnut to the cloud.) Besides, there’s no assurance that if you tell ChatGPT “change the following text from third to first person…” that it won’t start confabulating and making its own random changes to the text. Especially if the text is long enough to exceed its token window. |
That's all technically true, but I'd recommend at least trying it for your application. There are many nuances of this that my solution handles poorly. |
I was able, with some hacking, to get it to a state where it converted large swathes of a novel-in-progress from 1st to 3rd person or vice versa. I had to proofread and fix some mistakes, but it was a big help. |
That's great to hear! |
I got past the previous error by giving in and installing MySQL (via homebrew.) Then I installed the SpaCy English model as directed. But basic CLI usage as in your example fails:
The text was updated successfully, but these errors were encountered: