title: Converting an English Statement into a Questi0n
body: <p>(Apologies for the title. Stack overflow doesn't allow the word "Question" in titles.)</p>
  
  <p>How would one go about writing an algorithm to convert an english statement into a question? Where would one even begin? For example:</p>
  
  <p>"<em>The ingredients for an omelette are eggs, bacon, cheese, and onions</em>" would become "<em>What are the ingredients for an omelette?</em>" or "<em>The ingredients for an omelette are what?</em>"</p>
  
  <p>I can imagine parsing a sentence into it's components, and then re-arranging these while adding and removing words to form a grammatically correct sentence, but I'd have no idea where to start. I know this is by no means a trivial task, and I think the most helpful thing right now would be pointers to literature or similar problems.</p>