3 ms·
"Related Questions": tokenize => random hash/project (tokens) => TD-IDF => KD-tree lookup "automatically infer tag": tokenize / shingle q&a, ORDER token+bigram
by ogrisel 16y ago
"Related Questions": tokenize => random hash/project (tokens) => TD-IDF => KD-tree lookup
"automatically infer tag": tokenize / shingle q&a, ORDER token+bigrams BY TF-IDF(token + bigrams)
In both cases a global IDF estimate can be held in memory using a Counting Bloom Filter (or a traditional solr index).