I've been working on Ephyra code and incorporated the YQL API as a new source of KM. The problem is that Ephyra gives very brief answers. Even for open end questions like 'What is Chemistry?', I get one or two words brief answers i.e 'change of matter'. But such questions need to have more explanatory and detailed answers.
Is there any way I can modify this to bring me more detailed answers? maybe by removing the pattern matching or semantic layer? and how?
I do understand that the filters are supposed to bring me a specific semantically matched answer with expected answer pattern.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have figured out that the filters are bringing in this sort of answer. So i went throught all the filters and got confused. The list of filters additionally include:
I've been working on Ephyra code and incorporated the YQL API as a new source of KM. The problem is that Ephyra gives very brief answers. Even for open end questions like 'What is Chemistry?', I get one or two words brief answers i.e 'change of matter'. But such questions need to have more explanatory and detailed answers.
Is there any way I can modify this to bring me more detailed answers? maybe by removing the pattern matching or semantic layer? and how?
I do understand that the filters are supposed to bring me a specific semantically matched answer with expected answer pattern.
I have figured out that the filters are bringing in this sort of answer. So i went throught all the filters and got confused. The list of filters additionally include:
AnswerSelection.addFilter(new NumberOfKeywordsFilter());
AnswerSelection.addFilter(new SentenceExtractionFilter());
AnswerSelection.addFilter(new ResultLengthFilter());
AnswerSelection.addFilter(new AdaptiveNumberOfKeywordsFilter());
AnswerSelection.addFilter(new DirectSpeechFilter());
AnswerSelection.addFilter(new NounPhraseFilter());
AnswerSelection.addFilter(new NuggetEvaluationFilter());
AnswerSelection.addFilter(new PreferNamedEntitiesFilter());
AnswerSelection.addFilter(new ProperNameFilter());
AnswerSelection.addFilter(new ResultLengthFilter());
AnswerSelection.addFilter(new ResultLengthSorterFilter());
AnswerSelection.addFilter(new SentenceSplitterFilter());
AnswerSelection.addFilter(new SubclauseSplitterFilter());
AnswerSelection.addFilter(new TermFilter());
AnswerSelection.addFilter(new TripletFilter());
But i don't know which of these are answer extraction filters and which one are answer selection. And i guess we have to follow some order.
Can you guys please suggest some order of all these filters? by which i could get the kind of answers i want(explanatory). I'm confused