Hi all,
I need to build that matrix but I can't find a way to compute normalized
tf-idf for each cell. The normalization I would perform is
cosine-normalization that is divide tf-idf (computed using DefaultSimilarity
) per 1/sqrt(sumOfSquaredtf-idf in the column).
Does anyone know a way to perform that?
Thanks in advance
Antonio
--
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-How-to-build-a-term-doc-matrix-tp2300351p2300351.html
Sent from the Lucene - General mailing list archive at Nabble.com.