Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeTextToken

OfficeIMO.TextAnalysis

Namespace
OfficeIMO.TextAnalysis
Assembly
OfficeIMO.Core
Source revision
ac7e6e1bad8a with working tree changes
Base
ValueType
Modifiers
sealed

One analysed token with its term and its location in the source text.

Inheritance

  • ValueType
  • OfficeTextToken

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

Constructors

public OfficeTextToken(string term, int start, int length, int position) #

Creates a token.

Parameters

term string required
start int required
length int required
position int required

Methods

public override string ToString() #

Returns the fully qualified type name of this instance.

Returns

string The fully qualified type name.

Properties

public string Term { get; } #

Normalized, folded index term.

public int Start { get; } #

Zero-based UTF-16 offset of the source word.

public int Length { get; } #

Source word length in UTF-16 code units.

public int Position { get; } #

Zero-based token position, used for phrase matching.