com.raritantechnologies.concept.classifier.trainable
Class TrainingDocumentSet
java.lang.Object
com.raritantechnologies.concept.classifier.trainable.TrainingDocumentSet
- public class TrainingDocumentSet
- extends java.lang.Object
Maintains a map of category to a document URL set.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrainingDocumentSet
public TrainingDocumentSet()
getCategories
public java.util.Set getCategories()
getDocumentURLs
public java.util.Set getDocumentURLs(java.lang.String category)
addDocument
public void addDocument(java.lang.String category,
java.lang.String URL)
removeDocument
public void removeDocument(java.lang.String category,
java.lang.String URL)
removeCategory
public void removeCategory(java.lang.String category)