> ## 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.

# 仮説ツリー

> Extraction Rules アクティビティが仮説ツリーを構築し、品質値を乗算して経路を評価し、ツリー内で最高評価の経路を選択する仕組み。

各 Extraction Rules アクティビティのマッチング時に、プログラムは作成されたすべての要素について順次仮説を構築します。要素の仮説は (ツリー内の最初の要素から最後の要素へ) 順に定式化されます。定式化された仮説に基づいて仮説ツリーが作成されます。バリアントが正常にマッチした場合、仮説ツリーは **Tree of Hypotheses** ペインに表示されます。

<img src="https://mintcdn.com/abbyy/Bmjdl5TjCaidPxKi/images/vantage/advanced-designer/ad_extractionrules_hyptree.png?fit=max&auto=format&n=Bmjdl5TjCaidPxKi&q=85&s=8b4a317b35e08fc8325eafb2fe0d4657" alt="Hypothesis Tree Example" width="658" height="315" data-path="images/vantage/advanced-designer/ad_extractionrules_hyptree.png" />

複数のバリアントがマッチした場合は、最初にマッチしたバリアントの仮説ツリーのみが表示されます。アクティビティがマッチしなかった場合は、最初のバリアントの仮説ツリーが表示されます。

プログラムは仮説ツリーを用いて最適パス、すなわちツリー内の最後の要素に対して定式化された仮説へ至る最高評価の経路を選択します。経路は、その経路上の要素に対するすべての仮説の品質値を乗算して評価されます。アクティビティ ブロックの位置は、該当する仮説ツリーの最適パス上にある各要素について定式化された仮説に基づいて算出されます。

<div id="view-element-hypotheses">
  ## 要素の仮説を表示する
</div>

グループ要素の仮説を表示するには、次の操作を行います。

<Steps>
  <Step title="仮説を選択">
    **Tree of Hypotheses** ペインで仮説をクリックします。
  </Step>

  <Step title="詳細を表示">
    Enter キーを押すか、コンテキストメニューの 詳細を表示 コマンドを使用します。
  </Step>
</Steps>

1 つ上のレベルに戻るには、コンテキストメニューの 1 レベル上へ移動 コマンドを使用します。

<div id="understand-the-hypothesis-tree">
  ## 仮説ツリーの理解
</div>

仮説ツリーの左列には、要素ツリーに記載されているのと同じ順序で、ネストレベル1の要素が一覧表示されます。右列には、その要素に対する仮説を表す専用アイコンが表示されます。作成された仮説は、その作成順を示す線で結ばれます。最適パスの仮説は緑の線で結ばれ、それ以外の線は灰色です。

<div id="hypothesis-icons">
  ## 仮説アイコン
</div>

| Icon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | 説明                                                                                     |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------- |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_best.gif?s=4ae3c600a50f3b0dae56afb020abfa05" alt="最適パス" style={{ width:"51%" }} width="15" height="16" data-path="images/vantage/advanced-designer/hyp_best.gif" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 最適パスに属する仮説。                                                                            |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_nobest.gif?s=b9081e47287a1d7e6c4a5e5d5ee23153" alt="最適パス以外" style={{ width:"49%" }} width="15" height="16" data-path="images/vantage/advanced-designer/hyp_nobest.gif" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 最適パスに属さない仮説。                                                                           |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_best.gif?s=0fb8724e889ae91490aebe740e980edc" alt="最適パスのヌル" style={{ width:"49%" }} width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_best.gif" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 最適パスに属するヌル仮説。                                                                          |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_nobest.gif?s=2113056cd069fa6796d820309b7dbc00" alt="最適パス以外のヌル" style={{ width:"47%" }} width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_nobest.gif" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 最適パスに属さないヌル仮説。                                                                         |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_red.gif?s=4ee5e676327900298242ff04d5db376f" alt="不完全なチェーン" style={{ width:"46%" }} width="15" height="16" data-path="images/vantage/advanced-designer/hyp_red.gif" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | グループ要素 (Group、繰り返しグループ、Header、Footer) の仮説チェーンが未完成。未検出の要素を特定するため、未完成の仮説チェーンを表示できます。     |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_best_plus.gif?s=83d88ab82621816f8432fad8291cba73" alt="Best path+" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_best_plus.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_nobest_plus.gif?s=fe4c43b76ab3309a224ab1fd76645f92" alt="Non-best+" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_nobest_plus.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_best_plus.gif?s=58f60aaa16dac8fac7858c9b2814a6f2" alt="Null best+" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_best_plus.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_nobest_plus.gif?s=46dde5c418ae3dccd6eb94a39a9263ff" alt="Null non-best+" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_nobest_plus.gif" />                                                                                                                                                                                                                                                                                                                                        | 要素のブランチには最適パスの仮説が表示されます。すべての仮説を表示するには「+」を押すか、ショートカットメニューで**Expand Active**を選択します。      |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_best-.gif?s=75cc8d5b6b187562c27f8180ea3e50bb" alt="Best path-" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_best-.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_nobest-.gif?s=1ebbad706c42f0a4d37f66528fe458f8" alt="Non-best-" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_nobest-.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_best-.gif?s=36fe18f802edfda5aea73865fc7e054e" alt="Null best-" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_best-.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_nobest-.gif?s=26ded10da3e55707bd2e26673f435dd9" alt="Null non-best-" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_nobest-.gif" />                                                                                                                                                                                                                                                                                                                                                                        | 要素のブランチ内のすべての仮説を表示します。最適パス以外の仮説を非表示にするには「-」を押すか、ショートカットメニューで**Collapse Active**を選択します。 |
| <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_best_end.gif?s=f3fcd82e8ee22b66faec26f4bb2a415c" alt="Best end" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_best_end.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_nobest_end.gif?s=e1af6b78c8ae119a9536f9905b1cbc6e" alt="Non-best end" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_nobest_end.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_best_end.gif?s=3178d86e50f26d6fa915511f1e7b184b" alt="Null best end" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_best_end.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/null_hyp_nobest_end.gif?s=f81433a024fea33f8a00ab6ca9027009" alt="Null non-best end" width="15" height="16" data-path="images/vantage/advanced-designer/null_hyp_nobest_end.gif" />     <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/hyp_red_striked.gif?s=5beddcc9a058ef49e7394678be9b6def" alt="Red striked" width="15" height="16" data-path="images/vantage/advanced-designer/hyp_red_striked.gif" /> | この時点で当該要素の仮説サブブランチは終了しています。                                                            |
