【问题标题】:How to find the semantic similarity between 2 sentences?如何找到两个句子之间的语义相似度?
【发布时间】:2016-12-14 02:40:25
【问题描述】:

请告诉我一些查找句子之间语义相似度的方法。

For example:

Sen1 :- Ram killed Ravan
Sen2 :- Sam was killed by Ravan

这两个句子的相似之处是什么?

【问题讨论】:

标签: nlp


【解决方案1】:

寻找句子语义相似度的方法: 检查向量表示模型 - 通过 Doc 矩阵形成单词并找到每个维度之间的余弦相似度。

check LSA (Latent Semantic Analysis)

https://en.wikipedia.org/wiki/Latent_semantic_analysis

这种方法有助于在车辆和汽车等词之间提供语义相似性。但是,这是一个词袋模型(BOW)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-01-03
    • 2015-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-19
    • 2020-04-21
    • 1970-01-01
    相关资源
    最近更新 更多