TokenizerResult.Offsets 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取偏移量的列表。 这些偏移量可对输入字符串进行切片,从而检索导致生成相应令牌的原始部分。
[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))
属性值
- 属性