我正在使用 PHP 的similar_text() 调用来比较两个字符串,但是,我没有得到足够好的结果,例如,我得到的最好结果是 80.95% 的匹配,我希望看到 100%。
我可以使用哪些其他函数来将字符串深入到核心?
<!-- Overcast, Rain or Showers compared Overcast, Rain or Showers is 80.9523809524 -->
<!-- Overcast, Risk of Rain or Showers compared Overcast, Rain or Showers is 86.2068965517 -->
<!-- Overcast, Chance of Rain or Showers compared Overcast, Rain or Showers is 83.3333333333 -->