https://github.com/borud/sent
Command line sentiment analyzer
https://github.com/borud/sent
Last synced: 8 months ago
JSON representation
Command line sentiment analyzer
- Host: GitHub
- URL: https://github.com/borud/sent
- Owner: borud
- Created: 2019-09-01T20:33:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T20:36:41.000Z (almost 7 years ago)
- Last Synced: 2025-10-05T12:55:28.798Z (8 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentiment analyzer
Simple sentiment analyzer using
[BiDiSentiment](https://github.com/vmarkovtsev/BiDiSentiment) that
offers a slightly more elaborate interface than the CLI application
that comes with the library. Mostly made this for my own
entertainment. I'm not sure it is that useful.
## Build
Make sure you have `libtensorflow` installed since the application
depends on this library.
Make sure you set `GOOS` and `GOARCH` when building this. You can set
them and build like this:
GOOS=linux GOARCH=amd64 make
It is set up to build on macOS per default, so if you are on a Mac
just type:
make
## Command line options
$ bin/sent -h
Usage:
sent [OPTIONS]
Application Options:
-v, --verbose Verbose mode, show individual score for lines of file
-n, --negative-threshold= Threshold for when something is deemed negative (default: 0.600)
-p, --positive-threshold= Threshold for when something is deemed positive (default: 0.400)
Help Options:
-h, --help Show this help message