Skip to content

b-gran/signal-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

signal-sentiment-analysis

Runs sentiment analysis on exported Signal messages located on the file system. The export format should be the default XML "plaintext backup."

This project was created partially to experiment with the Ramda library and point-free style, so some functions are more verbose than they otherwise could be.

BE CAREFUL WITH YOUR PLAINTEXT BACKUPS!

Installation and Usage

signal-sentiment-analysis is a command line utility that has dependencies on npm.

Installation

git clone https://github.com/b-gran/signal-sentiment-analysis
cd signal-sentiment-analysis
npm i

Usage

# Generate a CSV analysis file for your messages with someone
# The analysis is written to stdout
node main.js --number 'phone number to analyse' --input backup.xml > analysis.csv

# Print out the possible phone numbers to analyse
node main.js --input backup.xml

# Get more info about the CLI options
node main.js --help

About

Perform sentiment analysis on exported Signal messages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published