|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.concept.classifier.wordmap.WordmapDocumentMatcher
Uses a Wordmap Classifier to classify a document.
| Constructor Summary | |
WordmapDocumentMatcher()
|
|
| Method Summary | |
boolean |
addTrainingSet(TrainingDocumentSet trainingSet,
RaritanPageContext pContext)
Add a training set to the document matcher. |
DocumentMatchBean[] |
classify(Document document,
RaritanPageContext pContext)
Classsifies a Document by returning 0 or more DocumentMatchBean objects. |
java.lang.String |
getName()
|
java.lang.String |
getType()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
boolean |
isTrained()
return true if the DocumentMatcher is ready to accept match requests. |
void |
setName(java.lang.String name)
set the name of this matcher. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WordmapDocumentMatcher()
| Method Detail |
public java.lang.String getType()
getType in interface ITrainableDocumentMatcher
public boolean addTrainingSet(TrainingDocumentSet trainingSet,
RaritanPageContext pContext)
addTrainingSet in interface ITrainableDocumentMatcher
public DocumentMatchBean[] classify(Document document,
RaritanPageContext pContext)
ITrainableDocumentMatcher
classify in interface ITrainableDocumentMatcherpublic boolean isTrained()
isTrained in interface ITrainableDocumentMatcherpublic void setName(java.lang.String name)
ITrainableDocumentMatcher
setName in interface ITrainableDocumentMatcherpublic java.lang.String getName()
getName in interface ITrainableDocumentMatcherpublic void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||