Giter Club home page Giter Club logo

afinn-165's Introduction

afinn-165 Build Status

Easy access to AFINN 165. AFINN 165 contains 3382 entries. That’s 905 more than AFINN 111.

Installation

npm:

npm install afinn-165

Usage

var afinn = require('afinn-165');

afinn.xoxo; //=> 3
afinn.bankruptcy; //=> -3

API

afinn165

afinn-165 returns entries to valence ratings (Object.<string, number>).

Note! Be careful when accessing unknown properties on the afinn165 object, words such as “constructor” or “toString” might occur. It’s recommended to use a hasOwnProperty check beforehand.

Musings

In total, 905 entries were added and two were changed. Compared to AFINN 111, the following changed:

  • Many new words
  • damn is now rated as -2 (was -4)
  • exasperated, futile, irresponsible are now -2 (were 2)
  • New entries with spaces: damn cute, damn good, kind of, fucking awesome, fucking beautiful, fucking cute, fucking fantastic, fucking good, fucking great, fucking hot, fucking love, fucking loves, fucking perfect
  • New entries with hyphens: environment-friendly, game-changing, ill-fated, loving-kindness, non-approved, post-traumatic. self-abuse, self-contradictory, side-effect, side-effects, violence-related, well-being, well-championed, well-developed, well-established, well-focused, well-groomed, well-proportioned

Related

  • afinn-96 — AFINN list from 2009, containing 1468 entries
  • afinn-111 — AFINN list from 2011, containing 2477 entries
  • emoji-emotion — Like AFINN, but for emoji
  • polarity — Detect the polarity of text, based on afinn-169 and emoji-emotion

License

MIT © Titus Wormer

afinn-165's People

Contributors

wooorm avatar greenkeeper[bot] avatar

Watchers

James Cloos avatar

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.