Skip to content

The Natural-Language User Interface is taking the input of all the questions and providing input to the electives advisory System developed in Prolog.

Notifications You must be signed in to change notification settings

ShreyaGoel03/Electives-Advisory-using-Natural-Language-Interface

Repository files navigation

Electives-Advisory-using-Natural-Language-Interface

The Natural-Language User Interface is taking the input of all the questions and providing input to the electives advisory System developed in Prolog.


Algorithm Design:

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.

Files:

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.

Output:

Electives.py

Run


electives_Advisory_Fact.txt

Output4


Electives.pl

Output1

Output3


About

The Natural-Language User Interface is taking the input of all the questions and providing input to the electives advisory System developed in Prolog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages