jp.go.nict.langrid.client.ws_1_2.protobuf.impl
クラス BackTranslationWithTemporalDictionaryClientImpl
java.lang.Object
jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.protobuf.impl.BackTranslationWithTemporalDictionaryClientImpl
- すべての実装されたインタフェース:
- BackTranslationWithTemporalDictionaryClient, ServiceClient
public class BackTranslationWithTemporalDictionaryClientImpl
- extends ServiceClientImpl
- implements BackTranslationWithTemporalDictionaryClient
The ProtobufRPC implementation of TranslationWithTemporalDictionaryClient.
- 作成者:
- Takao Nakaguchi
クラス jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl から継承されたメソッド |
addHeaders, convert, createChannel, execute, getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getPassword, getRequestHeaders, getTreeBindings, getUrl, getUserId, setPassword, setUserId |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackTranslationWithTemporalDictionaryClientImpl
public BackTranslationWithTemporalDictionaryClientImpl(URL url)
- Constructor.
- パラメータ:
url
- The invocation url of the service.
backTranslate
public BackTranslationResult backTranslate(Language sourceLang,
Language intermediateLang,
String source,
Translation[] temporalDictionary,
Language dictionaryTargetLang)
throws LangridException
- インタフェース
BackTranslationWithTemporalDictionaryClient
の記述:
- 翻訳を行う。
- 定義:
- インタフェース
BackTranslationWithTemporalDictionaryClient
内の backTranslate
- パラメータ:
sourceLang
- 翻訳元の言語intermediateLang
- 中間言語source
- 翻訳する文字列temporalDictionary
- 一時辞書データdictionaryTargetLang
- 辞書の対象言語。見出しの言語はsourceLangが使われる
- 戻り値:
- 翻訳結果
- 例外:
LangridException
- 翻訳サービスの呼び出しに失敗した