THPDFContractCompareOptions

段落構成、文言の粒度、除外、類似度、リソース予算を制御します

宣言

THPDFContractCompareOptions = record
  Granularity: THPDFContractGranularity;
  IgnoreCase, IgnoreRepeatedHeadersFooters, NormalizeMarginDigits: Boolean;
  JoinPageContinuations: Boolean;
  HeaderMarginPoints, FooterMarginPoints, ParagraphGapFactor: Double;
  MinimumRepeatedPages: Integer;
  MinimumParagraphSimilarity: Double;
  ExcludedLineTexts: THPDFContractStrings;
  MaxPages, MaxParagraphs, MaxSemanticLines, MaxCharacters, MaxTokens, MaxDifferences: Integer;
  MaxAlignmentCells, MaxWorkUnits: Int64;
end;

ユニット

HPDFContractCompare

使用上の注意

HPDFDefaultContractCompareOptions で初期化します。明示的な定型文マッチングは、空白正規化後の行全体のリテラル一致であり、繰り返し現れるマージンの検出は各入力ごとに独立して異なるページ数を数えます

Checkpoint のデフォルトは nil で、抽出・段落・トークン・整列の作業境界で実行されます。呼び出し元の例外はそのまま伝播し、トークンのキャンセルは ccsCancelled を返します

関連項目

契約書比較