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

stimmung

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stimmung

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Stimmung

Simple sentiment analysis for the German language

Gem Version Installs

Usage


# use this to init with the default dictionaries
stimmung = Stimmung.new

# or this to init with your dictionaries
stimmung = Stimmung.new('my_dict1.txt', 'my_dict2.txt', '...')

# you can always load additional dictionaries later on with
stimmung.load_dictionary('my_dict.txt')

# and to get an analysis you just do
stimmung.score('irgendein toller text')
# => 0.5066 

# this score will be between -1 (super negative) and 1 (super positive)

Dictionaries

The German dictionary is based on SentiWS.

SentiWS is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License (http://creativecommons.org/licenses/by-nc-sa/3.0/).

The latest version of SentiWS can be found at http://wortschatz.informatik.uni-leipzig.de/download/

You can use the crude importer script to import new files in case there is a new version. Hey why don't you open an issue or make a pull request when that happens too? It would be appreciated :)

Installation

gem install stimmung

FAQs

Package last updated on 11 Jul 2015

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