Closed PS-AI closed 2 years ago
Hi, sorry I never responded to this. Somehow I didn't get a notification about it.
As I recall, I just wanted to split the text into short segments which could be used as answers. 128 is an arbitrary number I chose to be the maximum length. I found that if I didn't limit the length of the sentences, some of the answers were long complex sentences which the system was unable to generate coherent questions for.
Hi, Thank you for question_generator. I am a beginner and am trying to understand the code and use it for multiple choice question generation. I am unable to understand why you have restricted sentence length to 128 characters in the function _split_text(self, text). Could you clarify?