jp.go.nict.langrid.client.ws_1_2
インタフェース TranslationWithTemporalDictionaryClient

すべてのスーパーインタフェース:
ServiceClient
既知の実装クラスの一覧:
TranslationWithTemporalDictionaryClientImpl, TranslationWithTemporalDictionaryClientImpl

public interface TranslationWithTemporalDictionaryClient
extends ServiceClient

一時辞書あり翻訳サービスのクライアントが実装するインターフェース。

バージョン:
$Revision: 8830 $
作成者:
$Author: kkadowaki $

メソッドの概要
 String translate(Language sourceLang, Language targetLang, String source, Translation[] temporalDict, Language dictTargetLang)
          翻訳を行う。
 
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
 

メソッドの詳細

translate

String translate(Language sourceLang,
                 Language targetLang,
                 String source,
                 Translation[] temporalDict,
                 Language dictTargetLang)
                 throws LangridException
翻訳を行う。

パラメータ:
sourceLang - 翻訳元の言語
targetLang - 翻訳先の言語
source - 翻訳する文字列
temporalDict - 一時辞書データ
dictTargetLang - 辞書の対象言語。見出しの言語はsourceLangが使われる
戻り値:
翻訳結果
例外:
LangridException - 翻訳サービスの呼び出しに失敗した