Ruby Snippet for String Spliting

Em Andamento Postado Jun 3, 2008 Pago na entrega
Em Andamento Pago na entrega

I need a snippet of ruby code that will split an article into sentences (keeping punctuation intact).

Example:

String = "The dog ran fast! Why did the dog run? I am the dog. The dog said 'bark.' (also should work in paratheses.)"

Should render an array of sentences:

["The dog ran fast!","Why did the dog run?","I am the dog.","The dog said 'bark.'","(also should work in paratheses.)"]

Thanks! Need this ASAP! Should be fast and simple, $30? First person to post it working will get the job.

Ruby on Rails

ID do Projeto: #270202

Sobre o projeto

4 propostas Projeto remoto Ativo em Jun 4, 2008