Splitting paragraphs into sentences
<p>Given a paragraph, I want to split it into sentences. At the moment I'm simply doing this:</p>

<pre><code>var sentences = paragraph.split('.');
</code></pre>

<p>It works for the most part, however starts failing when it's given a sentence like this:</p>

<blockquote>
  <p>Alaska is the largest state in the U.S.</p>
</blockquote>

<p>Because <code>U.S.</code> has periods, it's parsing out <code>S</code> to be a sentence.</p>

<p>What's the best way to determin the sentences in a paragraph? I thought about parsing them out based on the last period before a capitol letter, but if the paragraph isn't well typed (a lowercase letter after the period) it will also fail on that</p>
