alexgreene / WikiQuiz

Generates a quiz for a Wikipedia page using parts of speech and text chunking.
MIT License
803 stars 58 forks source link

Shows multiple identical answers #5

Closed lgommans closed 7 years ago

lgommans commented 7 years ago

Any article I try gives duplicate answers, sometimes three and usually two.

Even the demo article that you show in the readme, motorcycles, doesn't work at all. It asks obvious questions or proposes duplicate answers. At least all duplicates are counted as correct.

alexgreene commented 7 years ago

This is a known issue and it has to do with the simplicity of the grammar for finding sentences in the article that would make good questions. Because the wrong answers are selected at random from the total pool of answers, it is possible to see duplicates if the script does not have a large enough pool to choose from. Thanks for pointing this out- this would certainly be addressed in a further update.