EnglishRoberta.IdsToOccurrenceRanks(IReadOnlyList<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.