opennlp.tools.chunker
Class ChunkSample

java.lang.Object
  extended by opennlp.tools.chunker.ChunkSample

public class ChunkSample
extends Object


Constructor Summary
ChunkSample(List<String> sentence, List<String> tags, List<String> preds)
           
ChunkSample(String[] sentence, String[] tags, String[] preds)
           
 
Method Summary
 String[] getPreds()
           
 String[] getSentence()
           
 String[] getTags()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChunkSample

public ChunkSample(String[] sentence,
                   String[] tags,
                   String[] preds)

ChunkSample

public ChunkSample(List<String> sentence,
                   List<String> tags,
                   List<String> preds)
Method Detail

getSentence

public String[] getSentence()

getTags

public String[] getTags()

getPreds

public String[] getPreds()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.