jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス BilingualDictionaryWithLongestMatchSearchClientImpl

java.lang.Object
  上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
      上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.langservice.BilingualDictionaryClientImpl
          上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.langservice.BilingualDictionaryWithLongestMatchSearchClientImpl
すべての実装されたインタフェース:
Serializable, BilingualDictionaryClient, BilingualDictionaryWithLongestMatchSearchClient, ServiceClient

public class BilingualDictionaryWithLongestMatchSearchClientImpl
extends BilingualDictionaryClientImpl
implements BilingualDictionaryWithLongestMatchSearchClient

最適化版用の対訳辞書クライアント実装クラス。

バージョン:
$Revision: 8830 $
作成者:
$Author: kkadowaki $
関連項目:
直列化された形式

コンストラクタの概要
BilingualDictionaryWithLongestMatchSearchClientImpl(URL serviceUrl)
          コンストラクタ。
 
メソッドの概要
protected  org.apache.axis.client.Stub createStub(URL url)
           
 TranslationWithPosition[] searchLongestMatchingTerms(Language headLang, Language targetLang, Morpheme[] morphemes)
          形態素の配列を元に検索を行います。
 
クラス jp.go.nict.langrid.client.ws_1_2.impl.langservice.BilingualDictionaryClientImpl から継承されたメソッド
getLastUpdate, getSupportedLanguagePairs, getSupportedMatchingMethods, search
 
クラス 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
 
インタフェース jp.go.nict.langrid.client.ws_1_2.BilingualDictionaryClient から継承されたメソッド
getLastUpdate, getSupportedLanguagePairs, getSupportedMatchingMethods, search
 
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
 

コンストラクタの詳細

BilingualDictionaryWithLongestMatchSearchClientImpl

public BilingualDictionaryWithLongestMatchSearchClientImpl(URL serviceUrl)
コンストラクタ。

パラメータ:
serviceUrl - サービスが配備されているURL
メソッドの詳細

searchLongestMatchingTerms

public TranslationWithPosition[] searchLongestMatchingTerms(Language headLang,
                                                            Language targetLang,
                                                            Morpheme[] morphemes)
                                                     throws LangridException
インタフェース BilingualDictionaryWithLongestMatchSearchClient の記述:
形態素の配列を元に検索を行います。 動詞を除く形態素を連結し、得られた語を検索します。 見つかった語の中から最も長いものを検索結果に追加します。 複数の検索が行われ、見出し語のことなる検索結果が複数返される可能性があります。

定義:
インタフェース BilingualDictionaryWithLongestMatchSearchClient 内の searchLongestMatchingTerms
パラメータ:
headLang - 検索する見出し言語
targetLang - 対訳言語
morphemes - 形態素
戻り値:
結果の配列
例外:
LangridException - 処理に失敗した

createStub

protected org.apache.axis.client.Stub createStub(URL url)
                                          throws javax.xml.rpc.ServiceException
オーバーライド:
クラス BilingualDictionaryClientImpl 内の createStub
例外:
javax.xml.rpc.ServiceException