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 $
- 関連項目:
- 直列化された形式
クラス 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 |
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