Sha256: f0b906bb9cb9192a2cfb53b615a985d2d85de610ae02afe302d74fdd0ab6beed
Contents?: true
Size: 245 Bytes
Versions: 4
Compression:
Stored size: 245 Bytes
Contents
require 'net/http' def ai_eliza() response = Net::HTTP.post_form(URI.parse("http://www-ai.ijs.si/eliza-cgi-bin/eliza_script"),{'Entry1'=>@ai_datain}) @eliza_result = response.body.split("</strong>\n").last.split("\n").first end
Version data entries
4 entries across 4 versions & 2 rubygems