opennlp.tools.doccat
Class DocumentSample

java.lang.Object
  extended by opennlp.tools.doccat.DocumentSample

public class DocumentSample
extends Object

Class which holds a classified document and its category.


Constructor Summary
DocumentSample(String category, String text)
           
DocumentSample(String category, String[] text)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentSample

public DocumentSample(String category,
                      String text)

DocumentSample

public DocumentSample(String category,
                      String[] text)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.