public interface DependencyParserService
Modifier and Type | Method and Description |
---|---|
Chunk[] |
parseDependency(String language,
String sentence)
Analyzes the dependency relationship.
|
Chunk[] parseDependency(String language, String sentence) throws AccessLimitExceededException, InvalidParameterException, LanguageNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException
language
- Language of the input textsentence
- Input sentenceAccessLimitExceededException
- Exceeded an access restrictionInvalidParameterException
- An invalid parameter was passed.LanguageNotUniquelyDecidedException
- Multiple searchable languages exist, and one is not singly determined.NoAccessPermissionException
- The user executing the call lacks execution privilegesProcessFailedException
- No valid endpoint exists.NoValidEndpointsException
- The process failed.ServerBusyException
- Cannot complete the process as the server is in a busy state.ServiceNotActiveException
- The service is not active.ServiceNotFoundException
- The requested service was not found.UnsupportedLanguageException
- An unsupported language was specified.