sumehta / question-generation

Given a sentence automatically generate reading comprehension style factual questions from that sentence, such that the sentence contains answers to those questions.
MIT License
112 stars 31 forks source link

Execution gets stuck #5

Open MCFanfa opened 5 years ago

MCFanfa commented 5 years ago

Hey @sumehta , first of all I want to thank you for this great project. I'm using it to generate some questions for my project, and it used to work very well, but right now I'm having this annoying issue. While I'm reading a CSC file with different blocks of text generating questions for each block, it "stops" somewhere in the middle of the execution (not always on the same line), and I wonder if someone knows what might be the problem because I really can't figure it out!

sumehta commented 5 years ago

Were you able to resolve this issue? If not can you paste the output and error here?

YasCoMa commented 8 months ago

In my case, while debugging it prints this output: "Dec 29, 2023 5:31:21 PM net.didion.jwnl.util.MessageLog doLog\nINFO: Installing dictionary net.didion.jwnl.dictionary.FileBackedDictionary@1c2c22f3\nLoading question ranking models from models/linear-regression-ranker-reg500.ser.gz...\n" i used the example command adapted to fix the argument names: python question.py --sentence 'Handheld devices find ways to bolster U.S. homeland defense and response' --question_type 'All'