@nrailgun
2017-08-10T09:39:15.000000Z
字数 272
阅读 1011
程序设计
倒排索引(inverted index)也称为反向索引。
From sentences
T_0 = "it is what it is"
T_1 = "what is it"
T_2 = "it is a banana"
We can form inverted indexes:
"a": {2}
"banana": {2}
"is": {0, 1, 2}
"it": {0, 1, 2}
"what": {0, 1}
Searching for ('what', 'is', 'it')
obtains .