analyze
public Morpheme[] analyze(String language,
String text)
throws AccessLimitExceededException,
InvalidParameterException,
LanguageNotUniquelyDecidedException,
NoAccessPermissionException,
NoValidEndpointsException,
ProcessFailedException,
ServerBusyException,
ServiceNotActiveException,
ServiceNotFoundException,
UnsupportedLanguageException
Morphologically analyzes the text specified by text, language, returns the results.
- Specified by:
analyze
in interface MorphologicalAnalysisService
- Parameters:
language
- Language of text(RFC3066 compliant)text
- Text (required)
- Returns:
- Results of morphemic analysis
- Throws:
AccessLimitExceededException
- Violated an access restriction
InvalidParameterException
- Either text or language is null or else an empty string.language does not comply with RFC3066
LanguageNotUniquelyDecidedException
- A supported language candidate could not be singly determined (Ex: when the language is specified as zh, the case where zh-Hans and zh-Hant exist as supported languages)
UnsupportedLanguageException
- The specified language is not supported
NoAccessPermissionException
- The user executing the call lacks execution privileges
NoValidEndpointsException
- There is no valid endpoint
ProcessFailedException
- Response search failed due to some cause
ServerBusyException
- The server is loaded and cannot process it.
ServiceNotActiveException
- Service not active
ServiceNotFoundException
- The specified service was not found