com.languagecomputer.api
Interface AnswerExtractionWebService
- All Superinterfaces:
- BaseWebService
- All Known Implementing Classes:
- AnswerExtractionWebServiceImpl
public interface AnswerExtractionWebService
- extends BaseWebService
Interface for answer extraction web service. Takes in a query and set of
query results (documents) and returns a list of answers.
- Since:
- 1.0
- Author:
- Kirk Roberts
extractAnswers
String extractAnswers(String sessionID,
String query,
String queryResults,
String format)
throws Exception
- Extracts answers to the query from a set of query results.
- Parameters:
sessionID
- The unique identifier String
for the session
for this operation.query
- The query in the format described in the format
parameter.queryResults
- The query result (documents) in the format described in
the format.format
- The format in which the queryResults and
query are in and which the answers should be returned.
Defaults to XML
.
- Returns:
- The extracted answers for the query from the given
queryResults.
- Throws:
Exception
- If there was an error extracting answers.
Copyright © 2009. All Rights Reserved.