|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Result in info.ephyra |
|---|
| Methods in info.ephyra that return Result | |
|---|---|
Result |
OpenEphyra.askFactoid(java.lang.String question)
Asks Ephyra a factoid question and returns a single result or null if no answer could be found. |
Result[] |
OpenEphyra.askFactoid(java.lang.String question,
int maxAnswers,
float absThresh)
Asks Ephyra a factoid question and returns up to maxAnswers
results that have a score of at least absThresh. |
Result[] |
OpenEphyra.askList(java.lang.String question,
float relThresh)
Asks Ephyra a list question and returns results that have a score of at least relThresh * top score. |
protected Result[] |
OpenEphyra.runPipeline(AnalyzedQuestion aq,
int maxAnswers,
float absThresh)
Runs the pipeline on a factoid question and returns an array of up to maxAnswers results that have a score of at least
absThresh. |
| Uses of Result in info.ephyra.answerselection |
|---|
| Methods in info.ephyra.answerselection that return Result | |
|---|---|
static Result[] |
AnswerSelection.getResults(Result[] results,
int maxResults,
float minScore)
Applies Filters to the Results from the search
component and returns up to maxResults results with a score
of at least minScore. |
| Methods in info.ephyra.answerselection with parameters of type Result | |
|---|---|
static Result[] |
AnswerSelection.getResults(Result[] results,
int maxResults,
float minScore)
Applies Filters to the Results from the search
component and returns up to maxResults results with a score
of at least minScore. |
| Uses of Result in info.ephyra.answerselection.filters |
|---|
| Fields in info.ephyra.answerselection.filters declared as Result | |
|---|---|
private Result[] |
CacheResultsFilter.lastQueryResults
|
private Result[] |
AnswerProjectionFilter.resultsCorp
Results retrieved from the corpus. |
private Result |
WebDocumentFetcher.snippet
The search engine snippet. |
| Fields in info.ephyra.answerselection.filters with type parameters of type Result | |
|---|---|
private java.util.ArrayList<Result> |
WebDocumentFetcherFilter.docs
Documents fetched by the WebDocumentFetcher threads. |
| Methods in info.ephyra.answerselection.filters that return Result | |
|---|---|
Result |
TruncationFilter.apply(Result result)
Filters a single Result object. |
Result |
StopwordFilter.apply(Result result)
Filters a single Result object. |
Result |
ScoreResetterFilter.apply(Result result)
Sets the score of the result to 0 and returns it. |
Result |
QuestionKeywordsFilter.apply(Result result)
Filters a single Result object. |
Result |
QueryScoreFilter.apply(Result result)
Filters a single Result object. |
Result |
NumberOfKeywordsFilter.apply(Result result)
Filters a single Result object. |
Result |
NuggetEvaluationFilter.apply(Result result)
This method is not used. |
Result |
HitPositionFilter.apply(Result result)
Filters a single Result object. |
Result |
FunctionWordsFilter.apply(Result result)
Filters a single Result object. |
Result |
Filter.apply(Result result)
Filters a single Result object. |
Result |
CutStatementProviderFilter.apply(Result result)
Cut leading or tailing introductory parts of information given in indirect speech. |
Result |
CutKeywordsFilter.apply(Result result)
Cut the leading news agency acronym and city from a snippet, for instance from 'MOSCOW (ITAR-TAS) ... some useful information |
Result |
CombineScoresFilter.apply(Result result)
add all the extra scores of the specified result to its main score and return it. |
Result[] |
WebTermImportanceFilter.apply(Result[] results)
Increment the score of each result snippet for each word in it according to the number of top-100 web search engine snippets containing this particular word. |
Result[] |
WebDocumentFetcherFilter.apply(Result[] results)
Fetches the top MAX_DOCS documents containing the given
search engine snippets. |
Result[] |
UnnecessaryCharactersFilter.apply(Result[] results)
|
Result[] |
TruncationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
TripletFilter.apply(Result[] results)
Increments the score of each result snippet according to the number of NP-VP-NP triplets it is the first to contain. |
Result[] |
TermImportanceFilter.apply(Result[] results)
Increments the score of each result snippet for each word in it according to the number of result snippets containing this particular word. |
Result[] |
TermFilter.apply(Result[] results)
Filters out snippets that are likely to contain the answer to a previously asked factoid or list question. |
Result[] |
SubclauseSplitterFilter.apply(Result[] results)
Splits sentences into individual subclauses in order to facilitate subsequent filtering. |
Result[] |
SerializationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
SentenceSplitterFilter.apply(Result[] results)
Splits long snippets into individual sentences in order to facilitate subsequent filtering. |
Result[] |
SentenceExtractionFilter.apply(Result[] results)
Splits the answer strings of the results into sentences and creates a new result for each sentence. |
Result[] |
ScoreSorterFilter.apply(Result[] results)
Sorts the results by their scores in descending order. |
Result[] |
ScoreResetterFilter.apply(Result[] results)
Sets the scores of all results to 0 and returns them. |
Result[] |
ScoreNormalizationFilter.apply(Result[] results)
Normalizes the scores of the factoid answers, using the features specified in SELECTED_FEATURES and the classifier specified
in classifier. |
Result[] |
ScoreCombinationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
ReverseScoreSorterFilter.apply(Result[] results)
Sorts the results by their scores in ascending order. |
Result[] |
ResultLengthSorterFilter.apply(Result[] results)
Sorts the results by the lengths of the answer strings in ascending order. |
Result[] |
ResultLengthFilter.apply(Result[] results)
Ensures that the total number of non-whitespace characters in all answer strings does not exceed cutoffLength. |
Result[] |
ProperNameFilter.apply(Result[] results)
Filter out result snippets that contain too many proper names. |
Result[] |
PreferNamedEntitiesFilter.apply(Result[] results)
If there are named entities among the factoid answers then answers that are not named entities are dropped. |
Result[] |
PredicateExtractionFilter.apply(Result[] results)
Extracts relevant predicates from documents. |
Result[] |
OverlapAnalysisFilter.apply(Result[] results)
Evaluates the answer candidates and updates the current overlap analysis. |
Result[] |
NuggetEvaluationFilter.apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
NounPhraseFilter.apply(Result[] results)
Increments the score of each result snippet according to the number of noun phrases it is the first to contain. |
Result[] |
NormalizedScoreSorterFilter.apply(Result[] results)
Sorts the results by their normalized scores in descending order. |
Result[] |
HitPositionSorterFilter.apply(Result[] results)
Sorts the results by their hit positions in ascending order. |
Result[] |
Filter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
FactoidSubsetFilter.apply(Result[] results)
Drops results that are subsets of other results and transfers their scores to the remaining results. |
Result[] |
FactoidsFromPredicatesFilter.apply(Result[] results)
Extracts factoids from the predicates withing the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
DuplicateSnippetFilter.apply(Result[] results)
Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results. |
Result[] |
DuplicateFilter.apply(Result[] results)
Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results. |
Result[] |
DirectSpeechFilter.apply(Result[] results)
Throws out snippets that consist of direct speech. |
Result[] |
DeserializationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
CutStatementProviderFilter.apply(Result[] results)
Cut leading or tailing introductory parts of information given in indirect speech. |
Result[] |
CutKeywordsFilter.apply(Result[] results)
Cut the leading news agency acronym and city from a snippet, for instance from 'MOSCOW (ITAR-TAS) ... some useful information |
Result[] |
CombineScoresFilter.apply(Result[] results)
|
Result[] |
CacheResultsFilter.apply(Result[] results)
Resets the result array to a previous state if the query string matches. |
Result[] |
AnswerTypeFilter.apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
AnswerProjectionFilter.apply(Result[] results)
Projects Web answers onto the corpus. |
Result[] |
AnswerPatternFilter.apply(Result[] results)
Applies the answer patterns to the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
AdaptiveNumberOfKeywordsFilter.apply(Result[] results)
Score result snippets according to the number of keywords (target terms) they contain. |
private Result[] |
CacheResultsFilter.cacheLookup(java.lang.String query)
|
private Result |
StopwordFilter.filterAdverbs(Result result)
Drops a result if the answer string is an adverb. |
private Result |
StopwordFilter.filterFunctionWords(Result result)
Drops a result if the answer string contains only function words and single characters (except digits). |
private Result |
StopwordFilter.filterInterrogatives(Result result)
Drops a result if the answer string contains an interrogative. |
private Result |
StopwordFilter.filterSingleBracket(Result result)
Drops a result if the answer string contains a single bracket or quotation mark. |
Result[] |
ScoreNormalizationFilter.preserveOrderAveraging(Result[] results)
Calculates the average normalization factor for each extraction technique and normalizes the scores with this factor to ensure that the order suggested by the original scores is preserved. |
Result[] |
ScoreNormalizationFilter.preserveOrderResorting(Result[] results)
Reassigns the normalized scores for each extraction technique to ensure that the order suggested by the original scores is preserved. |
Result[] |
ScoreNormalizationFilter.preserveOrderTop(Result[] results)
Calculates the normalization factor of the top answer for each extraction technique and normalizes the scores with this factor to ensure that the order suggested by the original scores is preserved. |
private static Result[] |
ScoreNormalizationFilter.readSerializedResults(java.io.File input)
Reads serialized results from a file. |
| Methods in info.ephyra.answerselection.filters with parameters of type Result | |
|---|---|
private static void |
ScoreNormalizationFilter.addAnswerTypeFeatures(edu.cmu.minorthird.classify.MutableInstance instance,
Result result)
Adds the answer types of the question as features to the instance. |
void |
WebDocumentFetcherFilter.addDoc(Result doc,
boolean cached)
Used by the WebDocumentFetcher threads to return the
documents. |
private static void |
ScoreNormalizationFilter.addExtractorFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result)
Adds the extractor used to obtain the answer candidate as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMaxScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the maximum score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMaxScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the maximum score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMeanScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the mean score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMeanScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the mean score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMinScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the minimum score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addMinScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the minimum score of all factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addNumAnswersFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the number of factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addNumAnswersFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result,
Result[] results)
Adds the number of factoid answers from the same extractor as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addScoreFeature(edu.cmu.minorthird.classify.MutableInstance instance,
Result result)
Adds the score of the answer candidate as a feature to the instance. |
private static void |
ScoreNormalizationFilter.addSelectedFeatures(edu.cmu.minorthird.classify.MutableInstance instance,
java.lang.String[] features,
Result result,
Result[] results)
Adds the selected features to the instance. |
private static void |
ScoreNormalizationFilter.addSelectedFeatures(edu.cmu.minorthird.classify.MutableInstance instance,
java.lang.String[] features,
Result result,
Result[] results)
Adds the selected features to the instance. |
Result |
TruncationFilter.apply(Result result)
Filters a single Result object. |
Result |
StopwordFilter.apply(Result result)
Filters a single Result object. |
Result |
ScoreResetterFilter.apply(Result result)
Sets the score of the result to 0 and returns it. |
Result |
QuestionKeywordsFilter.apply(Result result)
Filters a single Result object. |
Result |
QueryScoreFilter.apply(Result result)
Filters a single Result object. |
Result |
NumberOfKeywordsFilter.apply(Result result)
Filters a single Result object. |
Result |
NuggetEvaluationFilter.apply(Result result)
This method is not used. |
Result |
HitPositionFilter.apply(Result result)
Filters a single Result object. |
Result |
FunctionWordsFilter.apply(Result result)
Filters a single Result object. |
Result |
Filter.apply(Result result)
Filters a single Result object. |
Result |
CutStatementProviderFilter.apply(Result result)
Cut leading or tailing introductory parts of information given in indirect speech. |
Result |
CutKeywordsFilter.apply(Result result)
Cut the leading news agency acronym and city from a snippet, for instance from 'MOSCOW (ITAR-TAS) ... some useful information |
Result |
CombineScoresFilter.apply(Result result)
add all the extra scores of the specified result to its main score and return it. |
Result[] |
WebTermImportanceFilter.apply(Result[] results)
Increment the score of each result snippet for each word in it according to the number of top-100 web search engine snippets containing this particular word. |
Result[] |
WebDocumentFetcherFilter.apply(Result[] results)
Fetches the top MAX_DOCS documents containing the given
search engine snippets. |
Result[] |
UnnecessaryCharactersFilter.apply(Result[] results)
|
Result[] |
TruncationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
TripletFilter.apply(Result[] results)
Increments the score of each result snippet according to the number of NP-VP-NP triplets it is the first to contain. |
Result[] |
TermImportanceFilter.apply(Result[] results)
Increments the score of each result snippet for each word in it according to the number of result snippets containing this particular word. |
Result[] |
TermFilter.apply(Result[] results)
Filters out snippets that are likely to contain the answer to a previously asked factoid or list question. |
Result[] |
SubclauseSplitterFilter.apply(Result[] results)
Splits sentences into individual subclauses in order to facilitate subsequent filtering. |
Result[] |
SerializationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
SentenceSplitterFilter.apply(Result[] results)
Splits long snippets into individual sentences in order to facilitate subsequent filtering. |
Result[] |
SentenceExtractionFilter.apply(Result[] results)
Splits the answer strings of the results into sentences and creates a new result for each sentence. |
Result[] |
ScoreSorterFilter.apply(Result[] results)
Sorts the results by their scores in descending order. |
Result[] |
ScoreResetterFilter.apply(Result[] results)
Sets the scores of all results to 0 and returns them. |
Result[] |
ScoreNormalizationFilter.apply(Result[] results)
Normalizes the scores of the factoid answers, using the features specified in SELECTED_FEATURES and the classifier specified
in classifier. |
Result[] |
ScoreCombinationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
ReverseScoreSorterFilter.apply(Result[] results)
Sorts the results by their scores in ascending order. |
Result[] |
ResultLengthSorterFilter.apply(Result[] results)
Sorts the results by the lengths of the answer strings in ascending order. |
Result[] |
ResultLengthFilter.apply(Result[] results)
Ensures that the total number of non-whitespace characters in all answer strings does not exceed cutoffLength. |
Result[] |
ProperNameFilter.apply(Result[] results)
Filter out result snippets that contain too many proper names. |
Result[] |
PreferNamedEntitiesFilter.apply(Result[] results)
If there are named entities among the factoid answers then answers that are not named entities are dropped. |
Result[] |
PredicateExtractionFilter.apply(Result[] results)
Extracts relevant predicates from documents. |
Result[] |
OverlapAnalysisFilter.apply(Result[] results)
Evaluates the answer candidates and updates the current overlap analysis. |
Result[] |
NuggetEvaluationFilter.apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
NounPhraseFilter.apply(Result[] results)
Increments the score of each result snippet according to the number of noun phrases it is the first to contain. |
Result[] |
NormalizedScoreSorterFilter.apply(Result[] results)
Sorts the results by their normalized scores in descending order. |
Result[] |
HitPositionSorterFilter.apply(Result[] results)
Sorts the results by their hit positions in ascending order. |
Result[] |
Filter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
FactoidSubsetFilter.apply(Result[] results)
Drops results that are subsets of other results and transfers their scores to the remaining results. |
Result[] |
FactoidsFromPredicatesFilter.apply(Result[] results)
Extracts factoids from the predicates withing the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
DuplicateSnippetFilter.apply(Result[] results)
Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results. |
Result[] |
DuplicateFilter.apply(Result[] results)
Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results. |
Result[] |
DirectSpeechFilter.apply(Result[] results)
Throws out snippets that consist of direct speech. |
Result[] |
DeserializationFilter.apply(Result[] results)
Filters an array of Result objects. |
Result[] |
CutStatementProviderFilter.apply(Result[] results)
Cut leading or tailing introductory parts of information given in indirect speech. |
Result[] |
CutKeywordsFilter.apply(Result[] results)
Cut the leading news agency acronym and city from a snippet, for instance from 'MOSCOW (ITAR-TAS) ... some useful information |
Result[] |
CombineScoresFilter.apply(Result[] results)
|
Result[] |
CacheResultsFilter.apply(Result[] results)
Resets the result array to a previous state if the query string matches. |
Result[] |
AnswerTypeFilter.apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
AnswerProjectionFilter.apply(Result[] results)
Projects Web answers onto the corpus. |
Result[] |
AnswerPatternFilter.apply(Result[] results)
Applies the answer patterns to the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
Result[] |
AdaptiveNumberOfKeywordsFilter.apply(Result[] results)
Score result snippets according to the number of keywords (target terms) they contain. |
static void |
AnswerPatternFilter.assessPatterns(Result result,
java.lang.String regex)
Assesses the answer patterns by applying them to the answer string of the Result object and comparing the extracted answers to the
regular expression |
private void |
CacheResultsFilter.cache(java.lang.String query,
Result[] results)
|
private boolean |
PredicateExtractionFilter.checkSentence(Result sentence)
Decides if predicates should be extracted from this sentence. |
private static edu.cmu.minorthird.classify.Example |
ScoreNormalizationFilter.createExample(java.lang.String[] features,
Result result,
Result[] results,
java.lang.String qid)
Creates a training/evaluation example from a judged answer candidate. |
private static edu.cmu.minorthird.classify.Example |
ScoreNormalizationFilter.createExample(java.lang.String[] features,
Result result,
Result[] results,
java.lang.String qid)
Creates a training/evaluation example from a judged answer candidate. |
private static edu.cmu.minorthird.classify.Instance |
ScoreNormalizationFilter.createInstance(java.lang.String[] features,
Result result,
Result[] results)
Creates an instance for training/evaluation or classification from an answer candidate. |
private static edu.cmu.minorthird.classify.Instance |
ScoreNormalizationFilter.createInstance(java.lang.String[] features,
Result result,
Result[] results)
Creates an instance for training/evaluation or classification from an answer candidate. |
private static edu.cmu.minorthird.classify.Instance |
ScoreNormalizationFilter.createInstance(java.lang.String[] features,
Result result,
Result[] results,
java.lang.String qid)
Creates an instance for training/evaluation or classification from an answer candidate, using the question ID as a subpopulation ID. |
private static edu.cmu.minorthird.classify.Instance |
ScoreNormalizationFilter.createInstance(java.lang.String[] features,
Result result,
Result[] results,
java.lang.String qid)
Creates an instance for training/evaluation or classification from an answer candidate, using the question ID as a subpopulation ID. |
private static void |
AnswerPatternFilter.extractPos(Result result)
Applies the answer patterns to the answer string of the Result object to extract PROPERTY objects. |
private Result |
StopwordFilter.filterAdverbs(Result result)
Drops a result if the answer string is an adverb. |
private Result |
StopwordFilter.filterFunctionWords(Result result)
Drops a result if the answer string contains only function words and single characters (except digits). |
private Result |
StopwordFilter.filterInterrogatives(Result result)
Drops a result if the answer string contains an interrogative. |
private Result |
StopwordFilter.filterSingleBracket(Result result)
Drops a result if the answer string contains a single bracket or quotation mark. |
private boolean |
AnswerProjectionFilter.hasHigherPreference(Result result1,
Result result2)
Checks if the answer extraction techniques used to extract the first result have a higher preference for answer projection than the techniques used for the second result. |
Result[] |
ScoreNormalizationFilter.preserveOrderAveraging(Result[] results)
Calculates the average normalization factor for each extraction technique and normalizes the scores with this factor to ensure that the order suggested by the original scores is preserved. |
Result[] |
ScoreNormalizationFilter.preserveOrderResorting(Result[] results)
Reassigns the normalized scores for each extraction technique to ensure that the order suggested by the original scores is preserved. |
Result[] |
ScoreNormalizationFilter.preserveOrderTop(Result[] results)
Calculates the normalization factor of the top answer for each extraction technique and normalizes the scores with this factor to ensure that the order suggested by the original scores is preserved. |
void |
WebDocumentFetcher.start(WebDocumentFetcherFilter filter,
Result snippet)
Sets the calling filter and the snippet and starts the thread. |
| Constructors in info.ephyra.answerselection.filters with parameters of type Result | |
|---|---|
AnswerProjectionFilter(Result[] resultsCorp)
Creates the filter and sets the results retrieved from the corpus. |
|
| Uses of Result in info.ephyra.io |
|---|
| Methods in info.ephyra.io with parameters of type Result | |
|---|---|
static boolean |
Logger.logResults(Result[] results)
Logs the results returned by the QA engine. |
static boolean |
Logger.logResultsJudged(Result[] results,
boolean[] correct)
Logs results with true/false judgements. |
static void |
MsgPrinter.printAnswers(Result[] results)
Prints out the answers. |
| Uses of Result in info.ephyra.patternlearning |
|---|
| Methods in info.ephyra.patternlearning that return Result | |
|---|---|
private static Result[] |
PatternLearner.fetchPassages(Query[] queries)
Fetches text passages from knowledge sources. |
| Methods in info.ephyra.patternlearning with parameters of type Result | |
|---|---|
private static void |
PatternLearner.assessPatterns(Result[] results)
Assesses the answer patterns on the text passages in the Result objects. |
static void |
PatternExtractor.extract(Result result,
java.lang.String as)
Extracts answer patterns from the answer string of a Result
object and adds them to the AnswerPatternFilter. |
private static void |
PatternLearner.extractPatterns(Result[] results)
Extracts answer patterns from the text passages in the search results. |
| Uses of Result in info.ephyra.search |
|---|
| Fields in info.ephyra.search with type parameters of type Result | |
|---|---|
private static java.util.ArrayList<Result> |
Search.results
Results from different searches are aggregated in this field. |
| Methods in info.ephyra.search that return Result | |
|---|---|
static Result[] |
Search.doSearch(Query[] queries)
Sends several alternative queries to all the searchers that have been registered and returns the aggregated results. |
Result |
Result.getCopy()
Returns a copy of this Result object. |
| Methods in info.ephyra.search that return types with arguments of type Result | |
|---|---|
private static java.util.ArrayList<Result> |
Search.dropDuplicates(java.util.ArrayList<Result> results)
Drops duplicates among results from KnowledgeMiners. |
| Methods in info.ephyra.search with parameters of type Result | |
|---|---|
static void |
Search.addResults(Result[] results)
Used by Searchers to return the results found in the
knowledge sources. |
int |
Result.compareTo(Result result)
Compares two results by comparing their scores. |
| Method parameters in info.ephyra.search with type arguments of type Result | |
|---|---|
private static java.util.ArrayList<Result> |
Search.dropDuplicates(java.util.ArrayList<Result> results)
Drops duplicates among results from KnowledgeMiners. |
| Uses of Result in info.ephyra.search.searchers |
|---|
| Fields in info.ephyra.search.searchers declared as Result | |
|---|---|
protected Result[] |
Searcher.results
The results found in the knowledge source. |
| Methods in info.ephyra.search.searchers that return Result | |
|---|---|
protected Result[] |
YahooKM.doSearch()
Queries the Yahoo search engine and returns an array containing up to MAX_RESULTS_PERQUERY search results. |
protected Result[] |
WorldFactbookKA.doSearch()
Searches the World Factbook for country details and returns an array containing a single Result object or an empty array, if the
search failed. |
protected Result[] |
WikipediaKA.doSearch()
Queries Wikipedia for a definition and returns an array containing a single Result object or an empty array, if the search
failed. |
protected abstract Result[] |
Searcher.doSearch()
Searches an unstructured or (semi)structured knowledge source and returns an array of search results. |
protected Result[] |
IndriKM.doSearch()
Queries the Indri indices or servers and returns an array containing up to MAX_RESULTS_PERQUERY search results. |
protected Result[] |
IndriDocumentKM.doSearch()
Queries the Indri indices or servers and returns an array containing up to MAX_RESULTS_PERQUERY search results. |
protected Result[] |
GoogleKM.doSearch()
Queries the Google search engine and returns an array containing up to MAX_RESULTS_PERQUERY search results. |
protected Result[] |
KnowledgeAnnotator.getResult(java.lang.String answer,
java.lang.String docID)
Creates an array of a single Result object form an answer
string and a document ID. |
protected Result[] |
KnowledgeMiner.getResults(java.lang.String[] passages,
java.lang.String[] docIDs,
boolean isHtml)
Creates Result objects form an array of text passages and
document IDs. |
protected Result[] |
KnowledgeMiner.getResults(java.lang.String[] passages,
java.lang.String[] docIDs,
java.lang.String[] cacheIDs,
boolean isHtml)
Creates Result objects form an array of text passages,
document IDs and IDs of cached documents. |
| Uses of Result in info.ephyra.trec |
|---|
| Methods in info.ephyra.trec that return Result | |
|---|---|
Result[] |
OpenEphyraCorpus.askFactoid(java.lang.String question,
int maxAnswers,
float absThresh)
Asks Ephyra a factoid question and returns up to maxAnswers
results that have a score of at least absThresh. |
Result[] |
OpenEphyraCorpus.askList(java.lang.String question,
float relThresh)
Asks Ephyra a list question and returns results that have a score of at least relThresh * top score. |
Result[] |
EphyraTREC13To16.askOther(java.lang.String question)
Asks Ephyra an 'other' question. |
Result[] |
EphyraTREC13To16.askOther(TRECTarget target)
Asks Ephyra an 'other' question, making use of the target description and previous questions and answers. |
static Result[] |
TREC13To16Parser.loadResults(java.lang.String question,
java.lang.String type,
java.lang.String logfile)
Loads the results for a question from a log file. |
| Methods in info.ephyra.trec with parameters of type Result | |
|---|---|
private static boolean[] |
EphyraTREC13To16.evalFactoidQuestion(java.lang.String qid,
Result[] results,
float absThresh)
Calculates the score for a single factoid question. |
private static boolean[] |
EphyraTREC13To16.evalListQuestion(java.lang.String qid,
Result[] results,
float relThresh)
Calculates the score for a single list question. |
protected void |
OpenEphyraCorpus.initFactoidWeb(Result[] resultsCorp)
Initializes the pipeline for factoid questions, using the Web as a knowledge source. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||