Skip to content
프로젝트

소개

품사 분석과 텍스트 분할을 사용해 Wikipedia 페이지의 퀴즈를 생성합니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

WikiQuiz

Hello! Thanks for checking out my project, WikiQuiz. Since posting this repo, there have been quite a number of folks who've starred or forked it. It's been awesome to watch! I'd love to know what you are building, or how you're using this project. I'm considering expanding on what's here, and knowing how it's being used would be extremely helpful. Send me an email (Find the contact button on http://alexgreene.me/) or reach out on Twitter https://www.twitter.com/alexg473 and say hello!

alt tag

To run:

requirements.txt contains the libraries/modules you'll need (It's come to my attention that the Wikipedia library has a bug, so I recommend this instead: http://stackoverflow.com/questions/34869597/wikipedia-api-for-python#35122688). You'll also need to download some data so that the nltk library works. To do this, start the Python console (ie. type python on the command line) and then:

>>> import nltk
>>> nltk.download('averaged_perceptron_tagger')
>>> nltk.download('punkt')

Run server.py to get the Flask endpoints working, and then open up index.html - that's all!

Potential Future Improvements:

Choosing more appropriate multiple-choice options, especially for numbers

ie. if the answer is '1960s', show '1950s' as another option.

Ignoring the less text heavy parts of a Wikipedia page.

Creating more interesting grammar for the text chunker, which would lead to more interesting question types.

Some of the questions presented currently lack context about what the question is referring to. A further version of this project would attempt to interpret the context of the sentence in question and include that in the question.

ie. references to 'they' or 'he' would be replaced by what those pronouns are actually referring to.

관련 프로젝트 살펴보기

불러오는 중…