hyinghao

hyinghao / LexSent / 0.1.1

LexSent

1 Credit Royalty
Lexicon based chinese sentiment classifier. Input some texts, return the sentScore
Language
Python 3.x
Metrics
API Calls - 4,044 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
{
  "degreeWords": 0,
  "hitRate": 0.07692307692307693,
  "hits": 2,
  "negativeWords": 0,
  "paragraphs": 1,
  "sentScore": 0.5987198055,
  "words": 26
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



algo run hyinghao/LexSent/0.1.1 -d '软银在完成88亿美元投资成为优步最大股东后,要求优步将重点放在恢复美国市场份额及欧洲主要市场的增长上。' --timeout 300
  
CLI Docs