Skip to content

benbahrenburg/SentimentlySwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

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

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages