Lets say I wanted to autogenerate questions for a wikipedia page as a sort of comprehension exercise, how would i best go about that.
Using machine learning would be necessary but any other things i need to look into?
Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. It only takes a minute to sign up.Sign up to join this community
I did some work on code from Michael Heilmann and Noah H. Smith which attempts to tackle this issue (question generation from text), and can be used as starting point for further research:
This is from around 2010, so 10 years old. There has probably been more research since then, maybe this can help to get started.
What I did to actually generate questions was very basic, and is not the right way to do it (IIRC I replaced the part of the sentence I wanted to ask about with a question word, then permutated the sentence until I got one that successfully parsed as a question), so only use this as demonstration. It also uses Wikipedia as a source so that is also useful to see, if you are using Java: