C# Class mergedServices.answerGenerator

Mostra file Open project: sherifkandeel/weet-it_WCF Class Usage Examples

Public Methods

Method Description
answerGenerator ( ) : System

class constructor

executeQueries ( List queryBuckets ) : List
generateQueries ( string question ) : List

takes the Question string and returns the List of the Queries to be executed

Private Methods

Method Description
IsKeywordSearch ( List queryBuckets ) : bool
QuestionPreprocessing ( ) : void

change in the parsed question and removes puncituation and stopping words

buildQueries ( ) : List

takes the parsed Question and Get predicates literals joins them generate the Query buckets filter the buckets and get for each bucket the list of Query strings

cleanBucket ( List queryBuckets ) : List

Method Details

answerGenerator() public method

class constructor
public answerGenerator ( ) : System
return System

executeQueries() public method

public executeQueries ( List queryBuckets ) : List
queryBuckets List
return List

generateQueries() public method

takes the Question string and returns the List of the Queries to be executed
public generateQueries ( string question ) : List
question string Question String
return List