Skip to content

Updated noPunctuation regexes to allow for hypens#12

Open
matthewotto wants to merge 1 commit intothinkroth:masterfrom
matthewotto:11-allow-hyphens-in-words
Open

Updated noPunctuation regexes to allow for hypens#12
matthewotto wants to merge 1 commit intothinkroth:masterfrom
matthewotto:11-allow-hyphens-in-words

Conversation

@matthewotto
Copy link

Updated the noPunctuation regexes for positivity and negativity to allow
for hypens so that the 8 hyphenated words in the AFINN list.

Also updated the regex to match the number 0 so that "n00b", the only
word in the list that contains a number is also matched.

This addresses issue #11.

Updated the noPunctuation regexes for positivity and negativity to allow
for hypens so that the 8 hyphenated words in the AFINN list.

Also updated the regex to match the number 0 so that "n00b", the only
word in the list that contains a number is also matched.

This addresses issue thinkroth#11.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant