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
Download the repository and while inside the repository, run the command pip3 install -r requirements.txt
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:
- What are the types of supervised learning?
- When was Python 3.0 released?
- How do neurons connect in a neural network?