Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/warrest/aliyun-nlp-sdk

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/warrest/aliyun-nlp-sdk

  • v0.0.0-20201026040331-7849540a9966
  • Source
  • Go
  • Socket score

Version published
Created
Source

aliyun-nlp-sdk

sdk for aliyun nlp service:1.0

阿里云官方没有提供nlp:1.0版本的golang SDK,自己简单封装了一个

Feature

  • 多语言分词 WordSegment
  • 词性标注 WordPos
  • 命名实体 Entity
  • 情感分析
  • 中心词提取
  • 智能文本分类
  • 文本信息抽取
  • 商品评价解析

Install

go get -u github.com/wArrest/aliyun-nlp-sdk

Usage

client := NewNlpClient(AccessKeyId, AccessKeySerect, RegionId)
resp, err := client.ExecApi(
	        "wordsegment",
		[]byte(`{"lang":"ZH","text":"Iphone专用数据线"}`),
		"general",
		)
//handle resp ....

FAQs

Package last updated on 26 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc