com.languagecomputer.api
Interface AnswerExtractionService
- All Superinterfaces:
- Service
- All Known Implementing Classes:
- AnswerExtractionServiceWebClient
public interface AnswerExtractionService
- extends Service
Service capable of extracting Answer
s for a Query
from a set
of Document
s. The Document
s are presented to the
service using the QueryResult
object.
- Since:
- 1.0
- Author:
- Kirk Roberts
- See Also:
Answer
extractAnswers
List<Answer> extractAnswers(Query query,
List<QueryResult> queryResults)
- Extracts
Answer
s for the given Query
from the given
QueryResult
s.
- Parameters:
query
- Query
to find Answer
s for.queryResults
- QueryResult
s to find Answer
s to
the query in.
- Returns:
- A
List
of sorted Answer
s to the given
query.
Copyright © 2009. All Rights Reserved.