uk.ac.gla.dcs.renaissance.nlp
Class OpenNLPSentDetector

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.nlp.OpenNLPSentDetector
All Implemented Interfaces:
Cloneable, SentenceDetector

public class OpenNLPSentDetector
extends Object
implements SentenceDetector, Cloneable


Constructor Summary
OpenNLPSentDetector()
           
 
Method Summary
 SentenceDetector copy()
           
 void init()
           
 List<Integer> segment(String part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenNLPSentDetector

public OpenNLPSentDetector()
Method Detail

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.