Nothing's plumb meaningless

    afinn-165
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.1 • Public • Published

    afinn-165

    Build Coverage Downloads Size

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

    Install

    This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

    npm:

    npm install afinn-165

    Use

    import {afinn165} from 'afinn-165'
    
    afinn165.xoxo //=> 3
    afinn165.bankruptcy //=> -3

    API

    This package exports the following identifiers: afinn165. There is no default export.

    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 with 1468 entries
    • afinn-111 — AFINN list from 2011 with 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

    Install

    npm i afinn-165

    DownloadsWeekly Downloads

    11,198

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    59.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar