Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/candera/eliza-clj
A simple wrapper around a Java implementation of Eliza.
https://github.com/candera/eliza-clj
Last synced: 20 days ago
JSON representation
A simple wrapper around a Java implementation of Eliza.
- Host: GitHub
- URL: https://github.com/candera/eliza-clj
- Owner: candera
- License: epl-1.0
- Created: 2013-10-18T19:10:43.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T19:32:50.000Z (about 11 years ago)
- Last Synced: 2024-12-09T09:51:20.252Z (25 days ago)
- Language: Java
- Size: 121 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eliza-clj
A Clojure library that provides a very simple wrapper around a Java
implementation of [Eliza](http://en.wikipedia.org/wiki/ELIZA).## Usage
Add a dependency on `[org.craigandera/eliza-clj "0.1.0"]` and write
code like the following:```clojure
(require '[eliza-clj.engine :refer :all])(def e (create-engine))
(process-input e "Hello")
;; => "How do you do. Please state your problem."
(process-input e "I love Clojure.")
;; => "You say you love clojure ?"
(process-input e "Yes, but it's platonic. For now.")
;; => "You seem to be quite positive."
```Etc. etc.
## Credits
Java source taken from http://www.chayden.net/eliza/Eliza.html.
## License
Copyright © 2013 Craig Andera
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.