public interface SemanticTagProvider
Modifier and Type | Method and Description |
---|---|
String |
getSemanticTag(List<Token> tokens)
Get a semantic tag for a list of tokens (e.g.
|
String |
getSemanticTag(Token token)
Get a semantic tag for a token.
|
String getSemanticTag(Token token) throws org.apache.uima.resource.ResourceAccessException
token
- token to tagorg.apache.uima.resource.ResourceAccessException
- if the semantic resource cannot be accessed.String getSemanticTag(List<Token> tokens) throws org.apache.uima.resource.ResourceAccessException
tokens
- list of tokens to tagorg.apache.uima.resource.ResourceAccessException
- if the semantic resource cannot be accessed.Copyright © 2007–2016 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.