Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
つまり、400 のドキュメントにインデックスを付けました。次に、2 つのドキュメントと lucene を指定して、これら 2 つのドキュメントの類似性を返したいと思います。それは可能ですか?前もって感謝します。
簡単に言えば。2 つの文書ベクトルのコサインを計算します。
サンプルコード