Jet.Zoner
Class SentenceSplitter

java.lang.Object
  extended byJet.Zoner.SentenceSplitter

public class SentenceSplitter
extends java.lang.Object

container for static method for sentence splitting.


Constructor Summary
SentenceSplitter()
           
 
Method Summary
static void split(Document doc, Span textSpan)
          splits the text in textSpan into sentences, adding sentence annotations to the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceSplitter

public SentenceSplitter()
Method Detail

split

public static void split(Document doc,
                         Span textSpan)
splits the text in textSpan into sentences, adding sentence annotations to the document. We split after a period if the following token is capitalized, and the preceding token is not a known not-sentence-ending abbreviation (such as a title) or a single capital letter.