jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス QualityEstimationClientImpl
java.lang.Object
jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.QualityEstimationClientImpl
- すべての実装されたインタフェース:
- Serializable, QualityEstimationClient, ServiceClient
public class QualityEstimationClientImpl
- extends ServiceClientImpl
- implements QualityEstimationClient
- 関連項目:
- 直列化された形式
クラス jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl から継承されたメソッド |
convert, getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QualityEstimationClientImpl
public QualityEstimationClientImpl(URL serverUrl)
- コンストラクタ
- パラメータ:
serverUrl
- サービスのURL
estimate
public double estimate(Language sourceLang,
Language targetLang,
String source,
String target)
throws LangridException
- インタフェース
QualityEstimationClient
の記述:
- 品質評価を行う。
- 定義:
- インタフェース
QualityEstimationClient
内の estimate
- パラメータ:
sourceLang
- 翻訳元の言語targetLang
- 翻訳先の言語source
- 翻訳元の文字列target
- 翻訳後の文字列
- 戻り値:
- 評価結果
- 例外:
LangridException
- 翻訳サービスの呼び出しに失敗した
createStub
protected org.apache.axis.client.Stub createStub(URL url)
throws javax.xml.rpc.ServiceException
- 定義:
- クラス
ServiceClientImpl
内の createStub
- 例外:
javax.xml.rpc.ServiceException