-
Notifications
You must be signed in to change notification settings - Fork 348
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
NLP Example doesn't work #68
Comments
Thanks for flagging, James. Could you provide the exact code, and any associated text files, that trigger this problem? |
Yeah here is the whole code, it just is using tweets as a source. |
Strange: When I click the "Uploading Brexiteer.zip..." link in your comment, I just get redirected back to this thread, but with no attachment. |
@jsvine I've fixed it try now :) |
Thanks, James. Here's what's happening:
Fortunately, fixing is easy and simply involves using class POSifiedText(markovify.Text): ... to this: class POSifiedText(markovify.NewlineText): |
The NLP example provided in the README currently causes markovify to spit out aload of Nones instead of sentances.
The text was updated successfully, but these errors were encountered: