in reply to Re: The (futile?) quest for an automatic paraphrase engine
in thread The (futile?) quest for an automatic paraphrase engine

This seems impressive, if you use the supplied sample text and ask the questions suggested in the hint. When you deviate from that, however, things get weird. For example, with the same supplied sample input, try asking these questions:

Mild Spoiler:

As near as I can tell, it's just finding the sentence with the largest number of words matching what you asked, removing the words in your question, and spitting back the rest of the sentence verbatim. This is still better than Eliza, but not much.

Even better, feed it the info from the top of this thread...

? What is the population of Sao Paulo? With a more than 10.2 million Seoul capital South Korea world?s large +st city in terms. ? What is the world's largest city in terms of population? sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file

;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print