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

Generated answers #12

Closed antoyang closed 3 years ago

antoyang commented 3 years ago

Hi, thanks for your work! When using it, it seems the generated answer is the whole sentence though: python question.py --s 'A man is cooking a fish.' [{'Q': 'Who is cooking a fish?', 'A': 'A man is cooking a fish.'}, {'Q': 'What is a man cooking?', 'A': 'A man is cooking a fish.'}] Do you know if it is the expected behaviour?