Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: The (futile?) quest for an automatic paraphrase engine

by jonadab (Parson)
on May 17, 2004 at 20:43 UTC ( [id://354103]=note: print w/replies, xml ) Need Help??


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:

  • What are posed?
  • What is this program?
  • Who is the author?
  • What is NASA? (This is particularly amusing.)
  • What answers 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://354103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-18 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found