# OcrQualityAssessment

Word-level uncertainty counts for one owned OCR result.

Class 

`OfficeIMO.Ocr`

**Namespace**

`OfficeIMO.Ocr`

**Assembly**

`OfficeIMO.Ocr`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OcrReviewPolicy.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L73)

**Modifiers**

sealed

Word-level uncertainty counts for one owned OCR result.

## Inheritance

- object
- OcrQualityAssessment

## Usage

Explore 4 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 4

- Property [AdaptiveOcrResult.Quality](/api/ocr/officeimo-ocr-adaptiveocrresult/#property-quality)
- Property [OcrAttemptAssessment.Quality](/api/ocr/officeimo-ocr-ocrattemptassessment/#property-quality)
- Property [OcrReviewEvidence.Quality](/api/ocr/officeimo-ocr-ocrreviewevidence/#property-quality)
- Method [OcrReviewPolicy.Assess](/api/ocr/officeimo-ocr-ocrreviewpolicy/#method-assess-officeimo-ocr-ocrresult)

Filter members 

Show inherited

## 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 double MinimumWordConfidence { get; }` [#](#property-minimumwordconfidence)

[OcrReviewPolicy.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L73)

Configured threshold used for these word counts.

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

[OcrReviewPolicy.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L75)

Configured maximum uncertain fraction used for these checks.

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

[OcrReviewPolicy.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L77)

Number of nonempty word spans; line/character spans are not counted twice.

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

[OcrReviewPolicy.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L79)

Words below the configured threshold.

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

[OcrReviewPolicy.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L81)

Words whose confidence is absent or invalid.

`public double UncertainWordFraction { get; }` [#](#property-uncertainwordfraction)

[OcrReviewPolicy.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L83)

Fraction of low or unknown words; one when no word evidence exists.

`public bool MeetsThresholds { get; }` [#](#property-meetsthresholds)

[OcrReviewPolicy.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L85)

Whether configured checks pass. This is not semantic or human approval.

`public bool HasWarningsOrErrors { get; }` [#](#property-haswarningsorerrors)

[OcrReviewPolicy.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L87)

Whether warning/error diagnostics exist or diagnostics were omitted.

`public bool HasOmittedSpans { get; }` [#](#property-hasomittedspans)

[OcrReviewPolicy.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Ocr/OcrReviewPolicy.cs#L89)

Whether span retention omitted evidence.

<!-- PowerForge markdown artifact sha256:6048C8D796A37CBEF8374FEE713F41FB421C542A70FFD92C682CB47EB005335D -->
