public interface LookupAlgorithm
Modifier and Type | Method and Description |
---|---|
Collection<LookupHit> |
lookup(List<LookupToken> lookupTokenList,
Map<String,List<LookupAnnotation>> contextMap)
Lookup the given text specified via LookupToken objects.
|
Collection<LookupHit> lookup(List<LookupToken> lookupTokenList, Map<String,List<LookupAnnotation>> contextMap) throws Exception
lookupTokenList
- List of LookupTokens, must be sorted.contextMap
- Map where key=Impl specific String object and value=List of
LookupAnnotation objectsException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.