public interface MorphemesDependencyParserService
Modifier and Type | Method and Description |
---|---|
Chunk[] |
parseDependency(String language,
Morpheme[] morphs)
Analyzes the dependency relationship of morpheme array.
|
Chunk[] parseDependency(String language, Morpheme[] morphs) throws AccessLimitExceededException, InvalidParameterException, LanguageNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException
language
- Language of the input textmophs
- Input mopheme arrayAccessLimitExceededException
- 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.