|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl jp.go.nict.langrid.client.ws_1_2.protobuf.impl.BilingualDictionaryWithLongestMatchSearchClientImpl
public class BilingualDictionaryWithLongestMatchSearchClientImpl
入れ子のクラスの概要 |
---|
クラス jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl から継承された入れ子のクラス/インタフェース |
---|
ServiceClientImpl.ServiceExecutor<T,U> |
コンストラクタの概要 | |
---|---|
BilingualDictionaryWithLongestMatchSearchClientImpl(URL url)
Constructor. |
メソッドの概要 | |
---|---|
Calendar |
getLastUpdate()
辞書データの最終更新日を返す。 |
LanguagePair[] |
getSupportedLanguagePairs()
辞書の対応言語を取得する。 |
String[] |
getSupportedMatchingMethods()
辞書ラッパーが対応している検索手法を返す。 |
Translation[] |
search(Language headLang,
Language targetLang,
String headWord,
MatchingMethod matchingMethod)
指定された検索語・検索方法で対訳辞書を検索し、対訳を返します。 |
TranslationWithPosition[] |
searchLongestMatchingTerms(Language headLang,
Language targetLang,
Morpheme[] morphemes)
形態素の配列を元に検索を行います。 |
クラス 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 |
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド |
---|
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId |
コンストラクタの詳細 |
---|
public BilingualDictionaryWithLongestMatchSearchClientImpl(URL url)
url
- The invocation url of the service.メソッドの詳細 |
---|
public Translation[] search(Language headLang, Language targetLang, String headWord, MatchingMethod matchingMethod) throws LangridException
BilingualDictionaryClient
の記述:
BilingualDictionaryClient
内の search
headLang
- 対訳の元言語(RFC3066準拠.prefixのみ一致した場合は,一致した言語が1つの場合のみ呼び出し可能(例:対訳言語対にzh-Hansがあったときに,headLangにzhを指定した場合))targetLang
- 対訳の対象言語(RFC3066準拠.prefixのみ一致した場合は,一致した言語が1つの場合のみ呼び出し可能(例:対訳言語対にzh-Hansがあったときに,targetLangにzhを指定した場合))headWord
- 対訳を検索する語matchingMethod
- 検索方法("COMPLETE","PREFIX","SUFFIX","PARTIAL","REGEX"のいずれか)
LangridException
- サービスの呼び出しに失敗したpublic TranslationWithPosition[] searchLongestMatchingTerms(Language headLang, Language targetLang, Morpheme[] morphemes) throws LangridException
BilingualDictionaryWithLongestMatchSearchClient
の記述:
BilingualDictionaryWithLongestMatchSearchClient
内の searchLongestMatchingTerms
headLang
- 検索する見出し言語targetLang
- 対訳言語morphemes
- 形態素
LangridException
- 処理に失敗したpublic LanguagePair[] getSupportedLanguagePairs() throws LangridException
BilingualDictionaryClient
の記述:
BilingualDictionaryClient
内の getSupportedLanguagePairs
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedMatchingMethods() throws LangridException
BilingualDictionaryClient
の記述:
BilingualDictionaryClient
内の getSupportedMatchingMethods
LangridException
- サービスの呼び出しに失敗したpublic Calendar getLastUpdate() throws LangridException
BilingualDictionaryClient
の記述:
BilingualDictionaryClient
内の getLastUpdate
LangridException
- サービスの呼び出しに失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |