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

java.lang.Object
  extended by bpiwowar.experiments.AbstractTask
      extended by uk.ac.gla.dcs.renaissance.nlp.AndySent
All Implemented Interfaces:
bpiwowar.experiments.Task, Cloneable, SentenceDetector

public class AndySent
extends bpiwowar.experiments.AbstractTask
implements SentenceDetector, Cloneable

Wrapper for Sentrick

Author:
Benjamin Piwowarski

Nested Class Summary
 
Nested classes/interfaces inherited from class bpiwowar.experiments.AbstractTask
bpiwowar.experiments.AbstractTask.Information
 
Constructor Summary
AndySent()
           
 
Method Summary
 SentenceDetector copy()
           
 int execute()
           
 void init()
           
 List<Integer> segment(String input)
          Return boundaries
 
Methods inherited from class bpiwowar.experiments.AbstractTask
getName, getParent, init, processTrailingArguments, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndySent

public AndySent()
Method Detail

segment

public List<Integer> segment(String input)
Return boundaries

Specified by:
segment in interface SentenceDetector
Parameters:
part - The part that contain sentences
Returns:
Boundaries

copy

public SentenceDetector copy()
Specified by:
copy in interface SentenceDetector

init

public void init()
Specified by:
init in interface SentenceDetector

execute

public int execute()
            throws Throwable
Overrides:
execute in class bpiwowar.experiments.AbstractTask
Throws:
Throwable


Copyright © 2011. All Rights Reserved.