> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 一致済みのセクションのバリアントの取得

特定のドキュメントに一致したセクションのバリアントを取得する必要が生じる場合があります。たとえば、バリアントごとに[フィールド抽出を学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/fieldsextractiontraining.md)させる場合などです。

一致済みのセクションのバリアントには、ABBYY FlexiCapture SDK API からはアクセスできません。これを回避するには、FlexiCapture 開発者パッケージで Document Definition を設定し、セクションのバリアントに対応するデータセットレコードを返すサービスフィールドを追加します。詳細については、[ABBYY FlexiCapture オンラインヘルプ](http://help.abbyy.com/en-us/flexicapture/12/distributed_administrator/fieldtraining_servicefield)を参照してください。

この種類のサービスフィールドを含む Document Definition を使用した sample プロジェクトは、%ProgramData%\ABBYY\FCSDK\12\FlexiCapture SDK **\Samples\FieldsExtractionWorkingPlace** にあります。このプロジェクトは、[フィールド抽出の学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#fieldsextractiontraining) コードサンプルで使用されています。

## 関連項目

[ドキュメント分類の学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/documentclassificationtraining.md)

[フィールド抽出の学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/fieldsextractiontraining.md)
