inverted index
生活随笔
收集整理的這篇文章主要介紹了
inverted index
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
Index是啥?
書后面的index實際上是inverted index,是用來查找的。
是一個詞,出現(xiàn)在document的什么地方,page number。f(Word) returns a set of locations (e.g., pages or documents).
Invert的意思是Turn it upside down.
Inverted index是用來記錄一個詞出現(xiàn)在哪個文檔,以及在哪個文檔中出現(xiàn)的頻率。
相對的是forward index。Crawler把文檔爬下來,然后分析,看這樣一個文檔,你知道有哪些詞出現(xiàn)過,每個詞出現(xiàn)的頻率。f(locations_eg_pages_or_documents) = set of words and their corresponding frequency.
2 dimensional
word1, word2, word3D1 y x
D2 z
D3 x
從Document查word list是forward index。從word查文檔是inverted index。
這篇講的好
總結
以上是生活随笔為你收集整理的inverted index的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 政务大数据服务安全能力要求分级方法
- 下一篇: 清河机械:用宜搭建设工厂数字化系统,节省