我想比较两个句子。我想要模式匹配技术
例如 :
The first thing you will do is choose a topic
Vs
The first thing you will do is choose a topic
预期结果是:Patten 匹配
The first thing will do is choose a topic
Vs
The first thing you will do is choose topic
在这种情况下,模式也匹配,但有一些错误。
这是一个简单的例子,我必须匹配复杂句子的模式。
我在谷歌上搜索并得到了点矩阵方法。这是正确的申请吗?任何其他方法都可以找出两个句子是否相互匹配。