kandi background
Explore Kits

negative-sentiment | 基于词典的负面舆情信息评分算法。

 by   ml-distribution Java Version: Current License: No License

 by   ml-distribution Java Version: Current License: No License

Download this library from

kandi X-RAY | negative-sentiment Summary

negative-sentiment is a Java library. negative-sentiment has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.
基于词典的负面舆情信息评分算法。
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • negative-sentiment has a low active ecosystem.
  • It has 24 star(s) with 22 fork(s). There are 11 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 2 open issues and 0 have been closed. On average issues are closed in 1261 days. There are no pull requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of negative-sentiment is current.
negative-sentiment Support
Best in #Java
Average in #Java
negative-sentiment Support
Best in #Java
Average in #Java

quality kandi Quality

  • negative-sentiment has 0 bugs and 0 code smells.
negative-sentiment Quality
Best in #Java
Average in #Java
negative-sentiment Quality
Best in #Java
Average in #Java

securitySecurity

  • negative-sentiment has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • negative-sentiment code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
negative-sentiment Security
Best in #Java
Average in #Java
negative-sentiment Security
Best in #Java
Average in #Java

license License

  • negative-sentiment does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
negative-sentiment License
Best in #Java
Average in #Java
negative-sentiment License
Best in #Java
Average in #Java

buildReuse

  • negative-sentiment releases are not available. You will need to build from source code and install.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • negative-sentiment saves you 373 person hours of effort in developing the same functionality from scratch.
  • It has 889 lines of code, 67 functions and 18 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
negative-sentiment Reuse
Best in #Java
Average in #Java
negative-sentiment Reuse
Best in #Java
Average in #Java
Top functions reviewed by kandi - BETA

kandi has reviewed negative-sentiment and discovered the below as its top functions. This is intended to give you an instant insight into negative-sentiment implemented functionality, and help decide if they suit your requirements.

  • get sentiment score based on sentiment level
  • Gets a list of sentences .
  • Test driver .
  • Analyze text to a list of strings .
  • Starts the application .
  • Imports the text score router .
  • Initialize the application .
  • Returns a string describing the evolution dictionary .
  • Returns the sentiment level .
  • Gets the button text .

negative-sentiment Key Features

基于词典的负面舆情信息评分算法。

基于词典的负面舆情信息评分算法。

copy iconCopydownload iconDownload
NegativeSentiment negativeSentiment = new NegativeSentiment();
  	String text = "四川在线—绵阳频道讯 (周兰兰 记者 付江)8月7日,绵阳涪城区法院对5名“90后”被告人犯抢劫罪一案进行了公开宣判。"
				+ "5名被告人分别被处以有期徒刑10至13年,并处罚金1万元至1.5万元不等,剥夺政治权利1至2年。该案的处理秉承了该院对于刑事"
				+ "暴力犯罪案件长期以来的严打高压态势。经审理查明,被告人小平、小涛、小春、小虎、小洋5人经事先预谋,在2013年12月24日"
				+ "至2014年1月1日不到10天的时间内,驾驶一辆红色“英伦”轿车,先后7次在绵阳城区、江油、三台、成都等地采取蒙面、持刀拦路"
				+ "、语言威胁、搜身、殴打等方式,抢劫过路行人手机、钱包等贵重物品。2014年1月10日,被告人小平、小涛被公安机关抓获归案"
				+ ",小涛在被公安机关抓获后协助公安机关抓获同案被告人小虎、小春。2014年1月11日,被告人小洋被公安机关抓获归案。审理期"
				+ "间,5被告亲属分别代被告人退赔赃款及赔偿款人民币各1万元。并与受害人之一雷某达成民事赔偿协议并已履行,取得被害人谅解"
				+ "。法院认为,五名被告以非法占有为目的,采取暴力、胁迫方式,强行劫取公私财物,其行为触犯了国家刑律,均已构成抢劫罪,"
				+ "且属“多次抢劫”。应依法惩处。被告人小涛协助公安机关抓获同案被告人,属立功,可以从轻或者减轻处罚。五名被告当庭自愿认"
				+ "罪,且积极退赃款,并主动赔偿给被害人造成的损失,取得被害人谅解,可酌情从轻处罚。最终,依照《中华人民共和国刑法》第"
				+ "二百六十三条“以暴力、胁迫或者其他方法抢劫公私财物的,处三年以上十年以下有期徒刑,并处罚金;有‘多次抢劫或者抢劫数额"
				+ "巨大的’等情形之一的,处十年以上有期徒刑、无期徒刑或者死刑,并处罚金或者没收财产”之规定,法院作出前诉判决。据该案的"
				+ "主审法官介绍,该案的5名被告文化程度都不高,均是小学文化,从小未受到良好的教育,加之好逸恶劳,梦想不劳而获,几个同龄"
				+ "人一拍即合,才会犯下这样的罪行。不仅给受害人身心造成了严重伤害,也让自己的家人伤心、失望,庭审中,5名当事人都表示追"
				+ "悔莫及。奉劝那些期望通过“特殊途径”致富的人及时悬崖勒马,勤劳致富方能长久。";
		System.out.println(negativeSentiment.getTextScore(text));
		negativeSentiment.cleanup();

Community Discussions

No Community Discussions are available at this moment for negative-sentiment.Refer to stack overflow page for discussions.

No Community Discussions are available at this moment for negative-sentiment.Refer to stack overflow page for discussions.

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install negative-sentiment

You can download it from GitHub.
You can use negative-sentiment like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the negative-sentiment component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Share this Page

share link
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.