edu.stanford.nlp.process
Class SentenceBoundaryDetector
java.lang.Object
|
+--edu.stanford.nlp.process.SentenceBoundaryDetector
- All Implemented Interfaces:
- Processor
- public class SentenceBoundaryDetector
- extends Object
- implements Processor
A (terrible) SentenceBoundaryDetector built to test the
Processor
interface. As it stands,
it breaks on all periods (and only periods).
Method Summary |
Collection |
process(Collection document)
Converts a Collection to a different Collection, by transforming
or filtering the original Collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SentenceBoundaryDetector
public SentenceBoundaryDetector()
process
public Collection process(Collection document)
- Description copied from interface:
Processor
- Converts a Collection to a different Collection, by transforming
or filtering the original Collection. For example, a parser that
implements Processor could convert a Collection of Sentences to
a Collection of Trees.
- Specified by:
process
in interface Processor
Stanford NLP Group