Giter Site home page Giter Site logo

xywang00 / sentimentanalysiswithbaiduai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pandasgb/sentimentanalysiswithbaiduai

0.0 0.0 0.0 8 KB

本项目介绍如何使用百度AI进行情感分析,其他自然语言处理类百度AI接口类似,换API即可使用

Python 100.00%

sentimentanalysiswithbaiduai's Introduction

SentimentAnalysisWithBaiduAI

本项目介绍如何使用百度AI进行情感分析,其他自然语言处理类百度AI接口类似,换API即可使用,普通用户QPS限制为5

使用步骤

1.在百度AI控制台申请应用,获取AK,SK

2.更换GetAccessToken类中的AK,SK

3.更改待分析文本所在文件夹地址,分析后的内容也会放回这个文件夹

4.根据自己文本的格式,修改读取文件的方式

5.运行程序

实现功能:

1.根据AK,SK获取AT

2.根据返回错误信息自动调整请求速度

3.情感分析

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.