This repository contains the final assignment of the INF 528 Advanced Topics in Computer Engineering lecture.
In this project, we build upon the foundation provided by the Knowledge-Graph-based-QnA repository. Our main objectives for this assignment are:
-
QA System for Computer Engineering Students: Our primary goal is to create a Question-Answering (QA) System tailored for Computer Engineering students at GSU (Galatasaray University).
-
Data Preparation for Computer Engineering Courses: We will curate and prepare data specific to Computer Engineering courses to enhance the functionality of the QA System. (NOT IMPLEMENTED YET)
-
New Question Types: Introduce additional question types, such as "WHY" to broaden the range of queries supported by the system.
-
Improvements to Plot Graph and Entity Options: Enhance the visualization of plot graphs and refine entity options to make them more user-friendly and accessible.
-
Accuracy for Complex Structured Sentences: Work towards improving the accuracy of the QA System, especially when dealing with complex structured sentences.
To get started with this project, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/tripledoubleE/INF528_project.git
-
Install the required packages:
pip install -r requirements.txt
-
After creating the data.txt file, you can ask questions to the system. Here is an example:
python3 _init.py -i data.txt -q "Why Ece ate chocolate?"
-
You can also see the knowledge graph created by the system using the following command:
python3 _init.py -i data.txt -g y
A sample knowledge graph created y the system using data.txt file as follows:
- In addition, you can see the entities found by the question-answering system as a data frame using the following command:
python3 _init.py -i data.txt -s y