edu.stanford.nlp.trees
Class OnePerLineSentenceNormalizer

java.lang.Object
  |
  +--edu.stanford.nlp.trees.SentenceNormalizer
        |
        +--edu.stanford.nlp.trees.OnePerLineSentenceNormalizer

public class OnePerLineSentenceNormalizer
extends SentenceNormalizer

A class for sentence normalization. The OnePerLineSentenceNormalizer deals with line-based sentences and does minimal other normalization.


Constructor Summary
OnePerLineSentenceNormalizer()
           
 
Method Summary
 boolean eolIsSentenceEnd()
          This function can be checked by a SentenceReader so as to know whether an end-of-line is always to be treated as an end-of-sentence.
 
Methods inherited from class edu.stanford.nlp.trees.SentenceNormalizer
endSentenceToken, normalizeSentence, normalizeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnePerLineSentenceNormalizer

public OnePerLineSentenceNormalizer()
Method Detail

eolIsSentenceEnd

public boolean eolIsSentenceEnd()
This function can be checked by a SentenceReader so as to know whether an end-of-line is always to be treated as an end-of-sentence. If this is true, then the endSentenceToken() function is not used.

Overrides:
eolIsSentenceEnd in class SentenceNormalizer
Returns:
true if an eol is always a sentence end


Stanford NLP Group