A sentence parser that identifies subjects and verbs and stores them into memory. Questions (who or what questions) can also be queried in order to get certain responses.
layman-script works best with simple sentances
> George likes pie
Now you can ask...
> Who likes pie?
'george'
> Does George like pie?
[True]
> What does George like?
['pie']
You can also include multiple subjects and/or verbs
> George, Dylan, and Jordan went to the movies
> Who went to the movies?
['george', 'dylan', 'jordan']
Install with pip
$ pip install git+https://github.com/geooot/layman-script.git
Note: root access may be necessary!
$ sudo pip install git+https://github.com/geooot/layman-script.git
- Python 3 (For REPL otherwise python2 will work)
For the REPL use
$ layman
Available arguments
-f "filename.txt"
pass a file to be read
Commands in the repl
!q
exit repl!json
print memory JSON