# OfficeDocumentRecognitionEvidence

Immutable OCR provenance attached to recognized text. Missing values mean unknown, never approval.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[OfficeDocumentRecognitionEvidence.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L7)

**Modifiers**

sealed

Immutable OCR provenance attached to recognized text. Missing values mean unknown, never approval.

## Inheritance

- object
- OfficeDocumentRecognitionEvidence

## Remarks

Counts and confidence describe recognition checks, not the probability that text is correct.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [OfficeDocumentBlock.Recognition](/api/reader/officeimo-reader-officedocumentblock/#property-recognition)

Filter members 

Show inherited

## Constructors

`public OfficeDocumentRecognitionEvidence(string? provider = null, string? model = null, string? language = null, double? confidence = null, int? wordCount = null, int? lowConfidenceWordCount = null, int? unknownConfidenceWordCount = null, bool? confidenceChecksPassed = null, int? completedAttempts = null, bool? hasDisagreement = null, bool? comparisonIncomplete = null, bool? reviewRecommended = null, double? minimumWordConfidence = null, double? maximumUncertainWordFraction = null)` [#](#member-eba6dcafa753650104ceb045)

[OfficeDocumentRecognitionEvidence.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L7)

Captures bounded provider identity and available recognition/review measurements.

Parameters

**provider string? = null optional**

**model string? = null optional**

**language string? = null optional**

**confidence double? = null optional**

**wordCount int? = null optional**

**lowConfidenceWordCount int? = null optional**

**unknownConfidenceWordCount int? = null optional**

**confidenceChecksPassed bool? = null optional**

**completedAttempts int? = null optional**

**hasDisagreement bool? = null optional**

**comparisonIncomplete bool? = null optional**

**reviewRecommended bool? = null optional**

**minimumWordConfidence double? = null optional**

**maximumUncertainWordFraction double? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Provider { get; }` [#](#property-provider)

[OfficeDocumentRecognitionEvidence.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L26)

Non-secret provider identifier, when available.

`public string? Model { get; }` [#](#property-model)

[OfficeDocumentRecognitionEvidence.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L28)

Recognition model or engine version, when available.

`public string? Language { get; }` [#](#property-language)

[OfficeDocumentRecognitionEvidence.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L30)

Provider language expression, when available.

`public double? Confidence { get; }` [#](#property-confidence)

[OfficeDocumentRecognitionEvidence.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L32)

Aggregate provider confidence, not a correctness probability.

`public int? WordCount { get; }` [#](#property-wordcount)

[OfficeDocumentRecognitionEvidence.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L34)

Word spans assessed before any downstream retention loss.

`public int? LowConfidenceWordCount { get; }` [#](#property-lowconfidencewordcount)

[OfficeDocumentRecognitionEvidence.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L36)

Assessed words below the configured confidence threshold.

`public int? UnknownConfidenceWordCount { get; }` [#](#property-unknownconfidencewordcount)

[OfficeDocumentRecognitionEvidence.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L38)

Assessed words with unknown or invalid confidence.

`public bool? ConfidenceChecksPassed { get; }` [#](#property-confidencecheckspassed)

[OfficeDocumentRecognitionEvidence.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L40)

Whether configured confidence checks passed; null when not assessed.

`public int? CompletedAttempts { get; }` [#](#property-completedattempts)

[OfficeDocumentRecognitionEvidence.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L42)

Completed recognition variants, when recorded.

`public bool? HasDisagreement { get; }` [#](#property-hasdisagreement)

[OfficeDocumentRecognitionEvidence.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L44)

Whether completed variants disagreed; null when not compared.

`public bool? ComparisonIncomplete { get; }` [#](#property-comparisonincomplete)

[OfficeDocumentRecognitionEvidence.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L46)

Whether comparison or evidence retention was incomplete.

`public bool? ReviewRecommended { get; }` [#](#property-reviewrecommended)

[OfficeDocumentRecognitionEvidence.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L48)

Recorded need for review; false means checks passed, never human approval.

`public double? MinimumWordConfidence { get; }` [#](#property-minimumwordconfidence)

[OfficeDocumentRecognitionEvidence.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L51)

Threshold used to classify low-confidence words, when known.

`public double? MaximumUncertainWordFraction { get; }` [#](#property-maximumuncertainwordfraction)

[OfficeDocumentRecognitionEvidence.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Reader.Core/OfficeDocumentRecognitionEvidence.cs#L53)

Maximum uncertain fraction allowed by the recorded checks, when known.

<!-- PowerForge markdown artifact sha256:2E8C43F97C0C8EE6FF3ACB4A1382746FCCF8EC66DD206122858CA3C066442F4E -->
