indices和Index的不同
Both "indexes" and "indices" are acceptable plural forms of the word "index" or to refer to more than one index. Index is one of those rare words that have two different plurals in English. "Indices" is originally a Latin plural, while "Indexes" has taken the English way of making plurals, using –s or –es.
"token indices"是"token index"的复数形式,它指的是多个单词在文本中对应的数字表示。例如,如果我们有一个句子:"I love natural language processing",我们可以将其分解为单词并将每个单词映射到一个唯一的数字,如下所示:
"I" -> 1 "love" -> 2 "natural" -> 3 "language" -> 4 "processing" -> 5
这里,每个单词都对应一个"token index",而这些"token indices"共同组成了一个数字序列。在这个例子中,这个数字序列就是1 2 3 4 5,它由这些"token indices"组成。因此,"token indices"是指代文本中多个单词对应的数字表示,而"token index"则是指代单个单词的数字表示。