uk.ac.gla.dcs.renaissance.nlp
Class OpenNLPSentDetector
java.lang.Object
uk.ac.gla.dcs.renaissance.nlp.OpenNLPSentDetector
- All Implemented Interfaces:
- Cloneable, SentenceDetector
public class OpenNLPSentDetector
- extends Object
- implements SentenceDetector, Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenNLPSentDetector
public OpenNLPSentDetector()
copy
public SentenceDetector copy()
- Specified by:
copy
in interface SentenceDetector
segment
public List<Integer> segment(String part)
- Specified by:
segment
in interface SentenceDetector
init
public void init()
throws IOException
- Specified by:
init
in interface SentenceDetector
- Throws:
IOException
Copyright © 2011. All Rights Reserved.