Skip to content

Sentimental never reaches certain AFINN words #11

Description

@wooorm

The first expression in noPunctuations takes out hyphens, wheres some words with hyphens exist in the AFINN database.

For example, "self-deluded" is mapped to -3, whereas "self" and "deluded" don’t exist in the AFINN database (thus result in a score of 0).

This can be fixed by allowing the hyphen in tokens.

Note: I haven’t tested if other punctuation exists in AFINN words.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions