/Question-Answering-System

using Term Frequency - Inverse Document Frequency (TF-IDF) in NLP

Primary LanguagePython

Question-Answering-System

A system focused on answering questions using document and passage retrieval, given a corpus of documents based on the technique Term Frequency-Inverse Document Frequency (TF-IDF) in NLP

Prerequisites

Download the repository and while inside the repository, run the command pip3 install -r requirements.txt

Testing the code

The corpus folder consists of text documents on various topics.

To check the functionality of the code, run the command python3 questions.py corpus

Test with the following questions:

  1. What are the types of supervised learning?
  2. When was Python 3.0 released?
  3. How do neurons connect in a neural network?