News for hackers. Stuff that matters.
Re:Show HN: Generate a quiz from a Wikipedia page by frogpelt on Saturday February 18, 2017 @10:07PM (#13677994)
Really cool idea!

Unfortunately, I'm getting a 500 error on every request.

What did I do wrong?

Re:Show HN: Generate a quiz from a Wikipedia page by kercker on Saturday February 18, 2017 @10:39PM (#13678069)
I got this problem too.

I solved it by downloading 'averaged_perceptron_tagger' from nltk.

>>>import nltk

>>>nltk.download('averaged_perceptron_tagger')

[deleted]
Re:Show HN: Generate a quiz from a Wikipedia page by frogpelt on Saturday February 18, 2017 @10:37PM (#13678061)
I tried both 2.7.10 and 3.6.0.
Re:Show HN: Generate a quiz from a Wikipedia page by alex_g on Saturday February 18, 2017 @10:54PM (#13678109)
I've just updated the instructions on the README, let me know if you still can't get it working after that.
Re:Show HN: Generate a quiz from a Wikipedia page by pragyajswl on Wednesday February 22, 2017 @05:23AM (#13704494)
Hey. Can't get it working. Still get a 500 error on every request. Followed all instructions on the README. Checked for the presence of averaged_perceptron_tagger and punkt, too.
Re:Show HN: Generate a quiz from a Wikipedia page by martalist on Sunday February 19, 2017 @12:31AM (#13678335)
I have the same issue with both 2.7.10 and 3.5.1 after following the steps in your readme.
Re:Show HN: Generate a quiz from a Wikipedia page by n1try on Sunday February 19, 2017 @06:18AM (#13679185)
Managed it by doing nltk.download('punkt')
Re:Show HN: Generate a quiz from a Wikipedia page by omash on Sunday February 19, 2017 @07:46AM (#13679427)
Fixed it for me too, thanks. How did you debug the issue?