Menu

Extending OpenEphyra for longer answers

Help
Umair AH
2014-03-08
2014-03-09
  • Umair AH

    Umair AH - 2014-03-08

    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.

     
  • Umair AH

    Umair AH - 2014-03-09

    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

     

Log in to post a comment.