Class
EntityRecognitionContext
OfficeIMO.Entities
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
- Method IEntityRecognizer.Recognize
Methods
public void Add(EntityCandidate candidate) #Submits a valid reading within the searched logical text.
Parameters
- candidate OfficeIMO.Entities.EntityCandidate
public IEnumerable<EntityToken> GetTokens(EntityTokenShape shapes) #Enumerates shared tokens that have any of the requested shapes.
Parameters
- shapes OfficeIMO.Entities.EntityTokenShape
Returns
IEnumerable<EntityToken>public bool IsEnabled(EntityScheme scheme) #Reports whether the active finder options permit this scheme.
Parameters
- scheme OfficeIMO.Entities.EntityScheme
Returns
boolInherited Methods
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.