Share via


EnglishRoberta.IdsToOccurrenceRanks(IReadOnlyList<Int32>) Method

Definition

Convert a list of tokens Ids to highest occurrence rankings.

public System.Collections.Generic.IReadOnlyList<int> IdsToOccurrenceRanks (System.Collections.Generic.IReadOnlyList<int> ids);
member this.IdsToOccurrenceRanks : System.Collections.Generic.IReadOnlyList<int> -> System.Collections.Generic.IReadOnlyList<int>
Public Function IdsToOccurrenceRanks (ids As IReadOnlyList(Of Integer)) As IReadOnlyList(Of Integer)

Parameters

ids
IReadOnlyList<Int32>

The Ids list to map to the high occurrence rank.

Returns

The list of ranks mapped from the list of Ids.

Applies to