Skip to content

benbahrenburg/SentimentlySwift

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

SentimentlySwift

A Sentiment Analysis Swift Playground using the AFINN-165 wordlist and Emoji Sentiment Ranking to perform sentiment analysis on a given phrase.

More details available in this blog post.

Features

  • Provider own weight adjustments or use the defaults
  • Phrase tokenized using NSLinguisticTagger - Lemmatization word matching used to determine weights
  • Override / provide weights at an instance or phrase level

Considerations

  • English only, ie AFINN and Emoji Ranking are in English. Would be grateful for PRs with additional language support
  • Swift 3 support, only at the moment

Roadmap

  • CocoaPods Support
  • Swift 4

SentimentlySwift is based on the sentiment and sentiment-v2 node.js packages.

About

Sentiment Analysis Swift Playground

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages