5

JCJC错别字检测系统接口API文档-添加错误词与正确词匹配

 8 months ago
source link: https://blog.csdn.net/accesine960/article/details/135078652
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

JCJC错别字检测系统接口API文档-添加错误词与正确词匹配

original.png
JCJC错别字检测-田春峰 newUpTime2.png 已于 2023-12-19 10:34:50 修改
articleReadEyes2.png 阅读量265
newHeart2023Active.pngnewHeart2023Black.png 点赞数 8

JCJC错别字检测系统接口API文档更新,字典功能新增:错误词与正确词匹配。

JCJC错别字检测功能字典支持类型:

  • 1)黑名单(敏感词)
  • 2)白名单
  • 3)配对词:正确词 -> 错误词

Python 示例代码如下:

newCodeMoreWhite.png

针对用户反馈,需要针对特殊的正确词与错误词配对提示的需求,我们新增了该接口。

接口地址为: /spellcheck/add_pair_words_right_to_wrong  。

参数说明:

  1.  content: 正确词
  2.  content2:错误词

词语新增完成后自动生效。

参考文档:

白名单、黑名单API 接口文档:

https://tianchunfeng.blog.csdn.net/article/details/116095794


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK