This system uses Questgen for predicting Questions and Answers. Questgen uses T5, BERT, and OpenAI GPT-2 for predicting questions and answers.
- Flask
pip install Flask
- PyPDF2
pip install PyPDF2
- docx
pip install python-docx
- nltk
pip install nltk
- Questgen
pip install git+https://github.com/ramsrigouthamg/Questgen.ai
pip install git+https://github.com/boudinfl/pke.git
python -m nltk.downloader universal_tagset
python -m spacy download em
- sense2vec
wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz
tar -xvf s2v_reddit_2015_md.tar.gz
- fpdf
pip install fpdf
- os
pip install os
- Line 11, changing the location of Sense2Vec
- Line 14, change the line of UPLOAD_FOLDER
- Line 146, change the location of the folder where the questions.pdf is saved
Our system generates the following types of questions
- Boolean Questions
- One word answers
- Multiple Choice Questions
- True and False
- Breif Answer Questuons
- Text Input
- Upload PDF
- Upload Word Document
- Questions and Answers
- Download pdf