org.eaglei.lexical
Interface EntityExtractionProvider


public interface EntityExtractionProvider

Interface for classes that support entity extraction from text. The exact extraction behavior is determined by the implementation (i.e. may be customized for an auto-suggest feature and use an EdgeNGram anlyzer or may be customized for use with entity extraction on full text and use a PorterStemAnalyzer).

Author:
rfrost

Method Summary
 java.util.List<EntityMatch> match(EntityMatchRequest request)
          Attempts to extract entities from the specified request.
 

Method Detail

match

java.util.List<EntityMatch> match(EntityMatchRequest request)
                                  throws java.io.IOException
Attempts to extract entities from the specified request.

Parameters:
request - The match request.
Returns:
List of matches in relevance rank order.
Throws:
java.io.IOException - Thrown if an error is encountered.


Copyright © 2009-2010 Eagle-I. All Rights Reserved.