|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.nict.langrid.servicecontainer.service.AbstractService jp.go.nict.langrid.wrapper.ws_1_2.AbstractService jp.go.nict.langrid.wrapper.ws_1_2.AbstractLanguagePairService jp.go.nict.langrid.wrapper.ws_1_2.paralleltext.AbstractMetadataForParallelTextService
public abstract class AbstractMetadataForParallelTextService
用例対訳用メタデータサービスの基底クラスです.
フィールドの概要 |
---|
クラス jp.go.nict.langrid.wrapper.ws_1_2.AbstractService から継承されたフィールド |
---|
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS |
コンストラクタの概要 | |
---|---|
AbstractMetadataForParallelTextService()
コンストラクタ。 |
|
AbstractMetadataForParallelTextService(Collection<LanguagePair> supportedPairs)
コンストラクタ。 |
|
AbstractMetadataForParallelTextService(ServiceContext serviceContext,
Collection<LanguagePair> supportedPairs)
コンストラクタ。 |
メソッドの概要 | |
---|---|
protected abstract String[] |
doGetMetadata(String Id)
メタデータを取得する。 |
protected abstract String[] |
doGetMetadataSchema()
メタデータのスキーマを取得する。 |
protected abstract String[] |
doSearchCandidatesWithMetadata(String query,
MatchingMethod matchingMethod)
メタデータを元に検索を行う。 |
String[] |
getMetadata(String Id)
指定した用例のIDに関連付けられたメタデータを取得する。 |
String[] |
getMetadataSchema()
どのようなメタデータが付与されているのかが分かるようにメタデータのスキーマを返す。 |
String[] |
searchCandidatesWithMetadata(String query,
String matchingMethod)
指定されたqueryとマッチング方法にマッチしたメタデータが付与された用例対訳のIDの一覧を返す。 |
protected void |
setSupportedMatchingMethods(Set<MatchingMethod> supportedMatchingMethods)
対応する検索方法を設定します. |
クラス jp.go.nict.langrid.wrapper.ws_1_2.AbstractLanguagePairService から継承されたメソッド |
---|
getSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairs |
クラス jp.go.nict.langrid.servicecontainer.service.AbstractService から継承されたメソッド |
---|
getComponentServiceFactory, setComponentServiceFactory |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public AbstractMetadataForParallelTextService()
public AbstractMetadataForParallelTextService(Collection<LanguagePair> supportedPairs)
supportedPairs
- 対応する言語対の集合public AbstractMetadataForParallelTextService(ServiceContext serviceContext, Collection<LanguagePair> supportedPairs)
serviceContext
- サービスコンテキストsupportedPairs
- 対応する言語対メソッドの詳細 |
---|
public String[] getMetadata(String Id) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
MetadataForParallelTextService
の記述:
MetadataForParallelTextService
内の getMetadata
Id
- 用例のID
AccessLimitExceededException
- アクセス制限に違反した
InvalidParameterException
- 不正なパラメータが渡された
LanguagePairNotUniquelyDecidedException
- 複数の言語対候補が見つかった
UnsupportedLanguagePairException
- 指定された言語対はサポートされていない
NoAccessPermissionException
- 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException
- 有効なエンドポイントが無い
ProcessFailedException
- 検索処理に失敗した
ServerBusyException
- サーバが混雑していて処理が実行できない
ServiceNotActiveException
- サービスはアクティブではない
ServiceNotFoundException
- 指定されたサービスが見つからないpublic String[] getMetadataSchema() throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
MetadataForParallelTextService
の記述:
MetadataForParallelTextService
内の getMetadataSchema
AccessLimitExceededException
- アクセス制限に違反した
InvalidParameterException
- 不正なパラメータが渡された
LanguagePairNotUniquelyDecidedException
- 複数の言語対候補が見つかった
UnsupportedLanguagePairException
- 指定された言語対はサポートされていない
NoAccessPermissionException
- 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException
- 有効なエンドポイントが無い
ProcessFailedException
- 検索処理に失敗した
ServerBusyException
- サーバが混雑していて処理が実行できない
ServiceNotActiveException
- サービスはアクティブではない
ServiceNotFoundException
- 指定されたサービスが見つからないpublic String[] searchCandidatesWithMetadata(String query, String matchingMethod) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
MetadataForParallelTextService
の記述:
MetadataForParallelTextService
内の searchCandidatesWithMetadata
query
- メタデータの検索クエリmatchingMethod
- 検索方法
AccessLimitExceededException
- アクセス制限に違反した
InvalidParameterException
- 不正なパラメータが渡された
LanguagePairNotUniquelyDecidedException
- 複数の言語対候補が見つかった
UnsupportedLanguagePairException
- 指定された言語対はサポートされていない
NoAccessPermissionException
- 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException
- 有効なエンドポイントが無い
ProcessFailedException
- 検索処理に失敗した
ServerBusyException
- サーバが混雑していて処理が実行できない
ServiceNotActiveException
- サービスはアクティブではない
ServiceNotFoundException
- 指定されたサービスが見つからないprotected abstract String[] doGetMetadata(String Id) throws InvalidParameterException, ProcessFailedException
Id
- メタデータID
InvalidParameterException
- 不正なパラメータが渡された
ProcessFailedException
- 処理に失敗したprotected abstract String[] doGetMetadataSchema() throws ProcessFailedException
ProcessFailedException
- 処理に失敗したprotected abstract String[] doSearchCandidatesWithMetadata(String query, MatchingMethod matchingMethod) throws InvalidParameterException, ProcessFailedException
query
- クエリmatchingMethod
- マッチング方法
InvalidParameterException
- 不正なパラメータが渡された
ProcessFailedException
- 処理に失敗したprotected void setSupportedMatchingMethods(Set<MatchingMethod> supportedMatchingMethods)
supportedMatchingMethods
- 対応する検索方法の集合
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |