![]() |
2016-01-13
, 04:03
|
|
Posts: 3,141 |
Thanked: 8,164 times |
Joined on Feb 2013
@ From my Gabriola Island hermitage, near the Edge of the World
|
#2
|
The Following 3 Users Say Thank You to endsormeans For This Useful Post: | ||
![]() |
2016-01-13
, 04:09
|
Posts: 1,038 |
Thanked: 3,981 times |
Joined on Nov 2010
@ USA
|
#3
|
frankly I think we need that evil version...oh what was it's name again...
boy it was a nasty one....
The Following 3 Users Say Thank You to robthebold For This Useful Post: | ||
![]() |
2016-01-13
, 05:15
|
|
Posts: 3,141 |
Thanked: 8,164 times |
Joined on Feb 2013
@ From my Gabriola Island hermitage, near the Edge of the World
|
#4
|
The Following 3 Users Say Thank You to endsormeans For This Useful Post: | ||
![]() |
2016-01-13
, 05:23
|
|
Posts: 3,141 |
Thanked: 8,164 times |
Joined on Feb 2013
@ From my Gabriola Island hermitage, near the Edge of the World
|
#5
|
The Following 4 Users Say Thank You to endsormeans For This Useful Post: | ||
![]() |
Tags |
eliza, harmattan, maemo 5 |
|
Briefly put, ELIZA is a simulation -- or perhaps rather a parody -- of a 60s-era psychoanalysist. ELIZA uses pattern matching and some cute substitution tricks to produce natural language responses that seem to make sense.
Right now, it's terminal-based, unpackaged, not super clean and possibly buggy. My part, that is, not the stolen code. That's fine.
Also, the choice of DH Connelly's version of the python code was just happenstance. It was the first one I found that seemed to work ok without much tinkering.
To Use: Just unzip the two python scripts anywhere. In the file eliza_main.py, you'll need to comment/uncomment two lines to work on the N900 with python-simplejson package installed. And of course, install package python-simplejson if not present already.
If you've got a version of python-json for N900 installed somehow, it will probably work without changes.
Then just type
If you'd prefer to run ELIZA in a query mode, use:
ELIZA is stateless -- she has no memory of anything you've talked about -- so she performs the same in question mode as she does interactively. Wanna pipe the output to espeak? Go ahead!
Maybe if I get a handle on packaging debs, I'll do that here.
*Except maybe if you install a complete version of emacs.