Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想开发一个应用程序来检测重复的句子或问题。我可以使用 Cloud Natural Language API 服务来检测重复句子吗?
不是开箱即用。如,没有 API 调用,您提供 2 个句子,它会告诉您它们是否相同。但是,如果您需要基本上消除标点符号或类似的东西以使您的比较更加可靠,您可以在两个句子上调用 AnalyzeSyntax,识别标点符号并删除它们,然后在本地进行比较。