This repository has been archived by the owner on May 5, 2023. It is now read-only.
forked from patil-suraj/question_generation
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Add the option to consume text paragraph after paragraph #6
Comments
FIY I did a simple script to read a page (copy pasted from napoleon's wikipedia page in english) sentence by sentence. This seems to fix a problem I had with buffer overflow as well as allowing to skip a sentence that just doesn't work. Here's the code below :
|
Update : I actually was mistaken so I ended up creating a script that reads paragraph from paragraph, will do a PR in the coming weeks |
@thiswillbeyourgithub addressed this in #15, but the repo still needs some polishing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a large body of text is consumed, the program sometimes doesn't know where to search the answer of a question, because it may search for the answer at a different location in the text than where it really is.
If the text is consumed one paragraph at a time, this may solve this issue.
i.e. with a for loop, consuming one paragraph at a time, then moving on to the next.
Note that this problem doesn't happen all the time, and therefore this may break things. Hence why it would be optional.
This is more of an open-ended idea than an issue.
The text was updated successfully, but these errors were encountered: