# Help: Rephrasing an English statement into questions

**URL:** <https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017>\
**Category:** Rails\
**Created:** [May 4, 2010, 10:30am UTC](https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017 "2010-05-04T10:30:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTJTJT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ec9cab/32.png) [@JTJTJT](https://www.ruby-forum.com/u/JTJTJT)\
**Post date:** [May 4, 2010, 10:30am UTC](https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017/1 "2010-05-04T10:30:12Z")

</div>

I need to write a program that will rephrase an English statement into  
a question as many different ways as possible.

Which libraries will be good for creating a simple version of that?  
Examples will be nice too.

Thanks a lot.

JT

---

<div class="post-metadata">

**Author:** ![JTJTJT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ec9cab/32.png) [@JTJTJT](https://www.ruby-forum.com/u/JTJTJT)\
**Post date:** [May 4, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017/2 "2010-05-04T15:36:21Z")

</div>

On May 3, 2010, at 10:39 PM, JT wrote:

> I need to write a program that will rephrase an English statement into  
> a question as many different ways as possible.
> 
> Which libraries will be good for creating a simple version of that?  
> Examples will be nice too.
> 
> Thanks a lot.
> 
> JT

You can probably get some hints searching for “Eliza” which was a  
famous early program that carried on a conversation with a user. Many  
of its tricks were simple conversions of statements to questions.

-Rob

Rob B. [http://agileconsultingllc.com](http://agileconsultingllc.com)  
removed\_email\_address@domain.invalid
