|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.questionanalysis.atype.QuestionClassifier
info.ephyra.questionanalysis.atype.classifier.TrainedQuestionClassifier
public class TrainedQuestionClassifier
A trained model-based classifier for the answer type of a question.
| Field Summary | |
|---|---|
private edu.cmu.minorthird.classify.Classifier |
classifier
|
| Fields inherited from class info.ephyra.questionanalysis.atype.QuestionClassifier |
|---|
extractor, isInitialized, languagePair |
| Constructor Summary | |
|---|---|
TrainedQuestionClassifier()
|
|
| Method Summary | |
|---|---|
java.util.List<AnswerType> |
classify(edu.cmu.minorthird.classify.Instance instance)
Classifies a question, represented by an Instance, in terms of its expected answer type. |
void |
initialize()
Initializes the FeatureExtractor. |
| Methods inherited from class info.ephyra.questionanalysis.atype.QuestionClassifier |
|---|
classifySet, evaluate, getAnswerTypes, getAnswerTypes, getAnswerTypes, getLanguagePair, isInitialized, setInitialized, setLanguagePair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private edu.cmu.minorthird.classify.Classifier classifier
| Constructor Detail |
|---|
public TrainedQuestionClassifier()
| Method Detail |
|---|
public void initialize()
throws java.lang.Exception
QuestionClassifier
initialize in class QuestionClassifierjava.lang.Exception - if one of the required input properties is not definedpublic java.util.List<AnswerType> classify(edu.cmu.minorthird.classify.Instance instance)
QuestionClassifier
classify in class QuestionClassifierinstance - the Instance to be classified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||