I tried using modules for approximate (fuzzy) string matching to narrow the selection of disks that are interesting.
我尝试用近似的(模糊的)字符串匹配模块来限制对感兴趣唱片的选择。
Listing 3 (full source is in words2.pl) USES the original idea but employs approximate matching through the String: : approx module (which you may have to install).
清单3(在words2 . pl中有完整的代码)采用了前一篇文章中的原始思想,但通过String: Approx模块(您可能必须要安装它)进行近似匹配。
Experiments demonstrate that the algorithm can solve such approximate string matching problem, and it can be used in the filed of sentence pattern matching and skip word matching.
实验结果表明,该算法的确能解决字符串有序跳跃模式匹配问题,完全可以适用于句型匹配与主题词跳词匹配。
应用推荐