PL - LogicsAI
The 'Python' of Logical Analysis
Learning LogicsAI
Motivation
Technology is advancing at gigantic steps nowadays. Artificial Inteligence (AI) systems are taking over a lot of tasks, from communication systems to autonomous cars. These systems are usually made to respond to a very specific set of instructions and in very predictable ways. Not all of them are actually capable of engaging in an actual conversation with a human being, that at the of the day should be the entity to be pleased by AI systems. Human languages are very complex mechanisms and we wanted to start a simple AI that could understand some basic language syntax and learn from it. Once a simple AI system is established, it could exponentially grow from previous inputs and with enough time become complex enough to understand any instruction given.
Project Description
LogicsAI is a simple AI system written in Python capable of understanding basic syntax components. Users with no experience are able to use the AI with ease and within a short period of time, the AI can understand several statements without problem.
Authors and Contributors
The LogicsAI project was developed in spring 2016 by a team consisting of Computer Engineering undergraduate students. The authors were taking the Programming Languages course of the Electrical and Computer Engineering department of the University of Puerto Rico at Mayaguez. The professor of the course and contributor of this project, Dr. Wilson Rivera Gallego, aided in the brainstorming and design of this project. LogicsAI project was developed to be the subject of evaluation for the final project of the Programming Languages course.
Required software:
- Python CLI Interpreter
-
Anaconda environment with the following installed dependencies
- numpy
- ply
Running the LogicsAI Intepreter on Windows:
After downloading the code, open the Command Line and set the path where the LogicsAI folder is located:
C:\System> cd C:\PL-LogicsAI
Then execute the following code:
C:\LogicsAI> python Parse.py
And you should see the following:
logicsai >>
Inserting LogicsAI code:
Just write the line of code in the command, then press enter to store the code and enter the other line of code, and so on until finished.
After finishing, run the following "run" command to run the code:
logicsai >> run
And you're done!
Available LogicsAI commands:
- clear - Clear the current stored LogicsAI code.
- run - Run the current stored LogicsAI code.
- getall - get all the current subjects in memory
- getcomplements - get all the current complements in memory
- getobjects - get all the current objects in memory
Team:
Angel L. Perez Fernandez
Carlos J. Donato Rivera
Gilberto I. Jimenez Orench
Luis A. Sala Ortiz