com.languagecomputer.api
Interface AnswerExtractionService

All Superinterfaces:
Service
All Known Implementing Classes:
AnswerExtractionServiceWebClient

public interface AnswerExtractionService
extends Service

Service capable of extracting Answers for a Query from a set of Documents. The Documents are presented to the service using the QueryResult object.

Since:
1.0
Author:
Kirk Roberts
See Also:
Answer

Method Summary
 List<Answer> extractAnswers(Query query, List<QueryResult> queryResults)
          Extracts Answers for the given Query from the given QueryResults.
 
Methods inherited from interface com.languagecomputer.api.Service
getName, setSession
 

Method Detail

extractAnswers

List<Answer> extractAnswers(Query query,
                            List<QueryResult> queryResults)
Extracts Answers for the given Query from the given QueryResults.

Parameters:
query - Query to find Answers for.
queryResults - QueryResults to find Answers to the query in.
Returns:
A List of sorted Answers to the given query.


Copyright © 2009. All Rights Reserved.