語言

TokenizerResult.Offsets 屬性

定義

拿到抵消清單。 這些偏移量讓你切入輸入字串,從而取得導致產生對應標記的原始部分。

[System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Index", "End" })]
public System.Collections.Generic.IReadOnlyList<(int Index, int End)> Offsets { get; }
[<System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Index", "End" })>]
member this.Offsets : System.Collections.Generic.IReadOnlyList<ValueTuple<int, int>>
Public ReadOnly Property Offsets As IReadOnlyList(Of ValueTuple(Of Integer, Integer))

屬性值

屬性

適用於