|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl jp.go.nict.langrid.client.ws_1_2.protobuf.impl.LanguageIdentificationClientImpl
public class LanguageIdentificationClientImpl
言語識別サービス用のクライアントを作成する。
入れ子のクラスの概要 |
---|
クラス jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl から継承された入れ子のクラス/インタフェース |
---|
ServiceClientImpl.ServiceExecutor<T,U> |
コンストラクタの概要 | |
---|---|
LanguageIdentificationClientImpl(URL url)
Constructor. |
メソッドの概要 | |
---|---|
String[] |
getSupportedEncodings()
対応しているエンコーディング一覧を返す。 |
String[] |
getSupportedLanguages()
対応している言語一覧を返す。 |
String |
identify(String text,
String originalEncoding)
言語を識別する。 |
LanguageAndEncoding |
identifyLanguageAndEncoding(byte[] textBytes)
言語とエンコーディングを識別する。 |
クラス 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 LanguageIdentificationClientImpl(URL url)
url
- The invocation url of the service.メソッドの詳細 |
---|
public String identify(String text, String originalEncoding) throws LangridException
LanguageIdentificationClient
の記述:
LanguageIdentificationClient
内の identify
text
- 識別する文字列originalEncoding
- 文字列のエンコーディング
LangridException
- サービスの呼び出しに失敗したpublic LanguageAndEncoding identifyLanguageAndEncoding(byte[] textBytes) throws LangridException
LanguageIdentificationClient
の記述:
LanguageIdentificationClient
内の identifyLanguageAndEncoding
textBytes
- 識別する文字列
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedLanguages() throws LangridException
LanguageIdentificationClient
の記述:
LanguageIdentificationClient
内の getSupportedLanguages
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedEncodings() throws LangridException
LanguageIdentificationClient
の記述:
LanguageIdentificationClient
内の getSupportedEncodings
LangridException
- サービスの呼び出しに失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |