public interface ExampleBasedTranslationService
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
appendExamples(String corpusId,
String sourceLang,
String targetLang,
ParallelText[] examples) |
String |
createTrainingCorpus(String sourceLang,
String targetLang,
ParallelText[] examples) |
void |
destroyTrainingCorpus(String corpusId) |
TrainingCorpusInfo |
getTrainingCorpusInfo(String corpusId) |
void |
replaceExamples(String corpusId,
String sourceLang,
String targetLang,
ParallelText[] examples) |
String |
translate(String sourceLang,
String targetLang,
String source) |
String |
translateWithTrainingCorpus(String[] corpusIds,
String sourceLang,
String targetLang,
String source) |
String createTrainingCorpus(String sourceLang, String targetLang, ParallelText[] examples) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
void destroyTrainingCorpus(String corpusId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException
TrainingCorpusInfo getTrainingCorpusInfo(String corpusId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException
void appendExamples(String corpusId, String sourceLang, String targetLang, ParallelText[] examples) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
void replaceExamples(String corpusId, String sourceLang, String targetLang, ParallelText[] examples) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
String translateWithTrainingCorpus(String[] corpusIds, String sourceLang, String targetLang, String source) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
String translate(String sourceLang, String targetLang, String source) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
Copyright © 2019. All rights reserved.