ClassifyDocumentResult クラス

ClassifyDocumentResult は、特定のドキュメントの分類を含む結果オブジェクトです。

継承
azure.ai.textanalytics._dict_mixin.DictMixin
ClassifyDocumentResult

コンストラクター

ClassifyDocumentResult(**kwargs: Any)

メソッド

get
has_key
items
keys
update
values

get

get(key: str, default: Any | None = None) -> Any

パラメーター

名前 説明
key
必須
default
既定値: None

has_key

has_key(k: str) -> bool

パラメーター

名前 説明
k
必須

items

items() -> Iterable[Tuple[str, Any]]

keys

keys() -> Iterable[str]

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> Iterable[Any]

属性

classifications

認識された分類結果がドキュメントに表示されます。

classifications: List[ClassificationCategory]

id

空でない一意のドキュメント識別子。

id: str

is_error

結果の一覧を反復処理する際のエラー項目のブールチェック。 ClassifyDocumentResult のインスタンスの場合は常に False です。

is_error: Literal[False] = False

kind

テキスト分析の種類 - "CustomDocumentClassification"

kind: Literal['CustomDocumentClassification'] = 'CustomDocumentClassification'

statistics

要求で show_stats=True が指定されている場合、このフィールドにはドキュメント ペイロードに関する情報が含まれます。

statistics: TextDocumentStatistics | None = None

warnings

ドキュメントの処理中に警告が発生しました。

warnings: List[TextAnalyticsWarning]