The Natural-Language User Interface is taking the input of all the questions and providing input to the electives advisory System developed in Prolog.
NLTK library, which is a standard python library with prebuilt functions and utilities for ease of use and implementation, has been used which preprocesses the text data.
re Library, is the module that provides regular expressions matching operations.
LowerCase: All the words are converted into the lower case.
Word Tokenization: It is the process that breaks the sentence into smaller words.
Stemming: It is used for the reduction of words to their origin. Porter Stemmer has been used over here.
Electives.py: NL Interface in Python.
Electives.pl: Electives Advisory System in Prolog.
electives_Advisory_Fact.txt: Facts stored in the text file used for consultation by Prolog Program. These facts act as one of the clauses in the prolog program during
runtime. Then based on that fact the prolog program does not ask the user any further questions and is able to suggest the electives according to the career choice and
prerequisites completed.
Electives.py
electives_Advisory_Fact.txt
Electives.pl