さまざまなアルゴリズムを調査してきましたが、探しているものを正確に見つけられませんでした。
ハミング距離 (同じ長さの文字列にのみ有効) レーベンスタイン距離 (kitten や sitten などの類似語を検索)
私が探しているのは、同じ考えに関する文章を見つけるものです。
例えば:
Sentence 1: Josh got hurt while playing in the park. Sentence 2: Josh fell off the slide and got hurt at the park. Sentence 3: Be careful at the park, your kids could get hurt. Sentence 4: Josh likes to go shopping.
私が探しているのは
sentence 1 and 2
トピックについてですが、そうではありません sentence 3 or 4
。
文中の各単語を比較してみることができると思いますか?
私を正しい方向に向けることができる人なら誰でも大歓迎です。