2017 © Pedro Peláez
 

library ali-green-api

the ali-green-api of checking content [阿里内容检测服务封装,包括垃圾文本、关键词文本检测以及对图片涉黄、暴恐、敏感检测]

image

kewin.cheng/ali-green-api

the ali-green-api of checking content [阿里内容检测服务封装,包括垃圾文本、关键词文本检测以及对图片涉黄、暴恐、敏感检测]

  • Tuesday, November 28, 2017
  • by chenghongqiang
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 100 % Grown

The README.md

AliGreenAPI

阿里内容检测服务, (*1)

阿里内容检测服务封装,包括垃圾文本、关键词文本检测以及对图片涉黄、暴恐、敏感检测, (*2)

使用方法:

$aliGreentAPI = AliGreenAPI::getInstance();, (*3)

------------单一数据---------------, (*4)

$aliGreentAPI->checkText("在哪里场所可以进行xingjiaoyi");, (*5)

$aliGreentAPI->checkImg("http://nos.netease.com/yidun/2-0-0-4f903f968e6849d3930ef0f50af74fc2.jpg");, (*6)

------------多条数据---------------, (*7)

文本检测, (*8)

$textArr = array("haha", "放学了", "交易");, (*9)

$aliGreentAPI->checkText($textArr);, (*10)

图片检测, (*11)

$imgArr = array("http://dun.163.com/res/web/case/terror_danger_3.jpg?3febae60454e63d020d04c66015a65e3","http://nos.netease.com/yidun/2-0-0-4f903f968e6849d3930ef0f50af74fc2.jpg");, (*12)

$aliGreentAPI->checkImg($imgArr);, (*13)

The Versions

28/11 2017

dev-master

9999999-dev https://github.com/chenghongqiang/AliGreenAPI

the ali-green-api of checking content [阿里内容检测服务封装,包括垃圾文本、关键词文本检测以及对图片涉黄、暴恐、敏感检测]

  Sources   Download

MIT

The Requires

  • php >=5.3.2