This tool uses the Twitter RoBERTa base sentiment model to analyze the sentiment of a CSV file containing lines of text.
It is intended to be used for fast sentiment analysis of transcripts of recordings.
The quantized model is included in the repository and the generated apps, so you don't need to download it separately. The tool does not require an internet connection and does not send any data outside of your computer.
Reference papers
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (Devlin et al., NAACL 2019)
- RoBERTa: A Robustly Optimized BERT Pretraining Approach (Liu et al., arXiv preprint arXiv:1907.11692)
- TimeLMs: Diachronic Language Models from Twitter (Loureiro et al., arXiv:2202.03829)
Installation
macOS
At the moment, SwiftSentiment hasn't been code signed for macOS, which means that when you try to open the .dmg file,
and again the first time you try to open the app itself, macOS will show you some slightly alarming messages:
There is no malware in the file and all the code is open source - Apple are just very passionate about security.