Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EntityRecognitionContext

OfficeIMO.Entities

Namespace
OfficeIMO.Entities
Assembly
OfficeIMO.Core
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Access to a logical text chain, its shared tokens and the candidate sink.

Inheritance

  • object
  • EntityRecognitionContext

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.

Accepted by parameters 1

Methods

public void Add(EntityCandidate candidate) #

Submits a valid reading within the searched logical text.

Parameters

candidate OfficeIMO.Entities.EntityCandidate required
public IEnumerable<EntityToken> GetTokens(EntityTokenShape shapes) #

Enumerates shared tokens that have any of the requested shapes.

Parameters

shapes OfficeIMO.Entities.EntityTokenShape required

Returns

IEnumerable<EntityToken>
public bool IsEnabled(EntityScheme scheme) #

Reports whether the active finder options permit this scheme.

Parameters

scheme OfficeIMO.Entities.EntityScheme required

Returns

bool

Properties

public string Text { get; } #

The searched logical text, with continued segments joined verbatim.

public EntityTextSegment Segment { get; } #

Metadata from the first segment in the logical text.

public int SegmentIndex { get; } #

Zero-based index of the first segment in the logical text.

public CancellationToken CancellationToken { get; } #

Cancellation token provided by the caller.