alexgreene / WikiQuiz

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

Fails to remove answers from the prompt if they contain a mixture of floats and strings #9

Closed jwjimmy closed 7 years ago

jwjimmy commented 7 years ago

If the answer to a prompt contains a mixture of floats and strings (e.g. "4.3 million residents" or "0.8 km2" or "0.01 nm depth resolution"), then that answer will be visible in the prompt.

This does not occur for answers which are pure floats (e.g. "725.3") or pure strings (e.g. "three").

image

image

image