This project aimed to perform logical reasoning on plaintext English statements. Allowing for automated reasoning, in which the program relies on an internal knowledge bank. It also includes a manual mode, where the program allows you to define your own rules and input statements you would like those rules to be evaluated on.
dotnet SDK 2.0 or higher
node.js 6.11 or higher
A JS package manager:
yarn
ornpm
The main section of the application is located in the .\WorldBuilder
folder. Here you will find 4 batch files.
setup.bat
release.bat
setup.bat
development.bat
then in a separate terminal:
run.bat
setup.bat : Must be run at least once, to install Javascript and Node dependencies. Ensure you have satisfied all the dependencies listed above before running this.
development.bat : To start FABLE daemon and launch a development server, use in conjunction with run.bat
run.bat : To be run after a development.bat instance has been launched, to view a reactive version of the application.
release.bat : To build release version of the application, complete with windows executable.
Open a terminal in the .\team\WorldBuilder
folder.
Install JS dependencies:
npm install
oryarn install
Install F# dependencies:
dotnet restore
Start Fable daemon and Webpack:
npm start
oryarn start
In a separate terminal, run:
npm run launch
oryarn run launch
Open a terminal in the .\WorldBuilder
folder.
Run:
npm run build
oryarn run build
Run:
npm run release
oryarn run release
You should have now a .\WorldBuilder\release\NLPLogicEngine-win32-x64
folder. Inside you will find the NLPLogicEngine.exe
, which will be an executable version of the application.
This project was a term-long group project for High Level Programming module taken in Spring 2020. I collaborated with: Neelesh Ravichandran (Neelesh99), Nidhi Jaju (nidhijaju) and Preet Lalli (preetl), all of whom were excellent team mates.