Native text editor that reports NPL sentiment analysis.
Download and Install here: https://github.com/Thomascountz/relay/releases
Use as you would a simple text editor. You can save your file, as well as the analysis, as a .relay
file, you can open both .relay
and .txt
files, and when you click "Analyze," the magic happens!
At the top of the editor is the "ToneBar," this bar displays the overall tone of your document. It is not just the averaging of the tones found in each of the sentences, it's a seperate analysis that takes into account more that just the individual parts.
Within the editor, you will see your sentences highlight in order to indicate the individual sentence's tone. This represents the most prevalent tone found in your sentence that peaks about a 5.0
. As you continue to type, your analysis will remain the same until you click "Analyze" once again.
- Opening a document within the edtior will override any unsaved changes WITHOUT WARNING
- The external API may be sleeping when you first analyze your document. It may take up to 20 seconds for your analysis to appear
Released here: https://github.com/Thomascountz/relay/releases
- Electron - Desktop app javascript framework
- React - View templating framework
- Babel - ES6/JSX transformation
- Webpack - Asset manager/bundler
- npm - Javascript package manager
- Jest - Javascript test runner written for React
- Enzyme - Javascript testing utilities written for React
- NPL API - Relay-service
Based on the boilerplate here: https://github.com/Thomascountz/react-electron-webpack
- Clone this repo:
https://github.com/Thomascountz/relay.git
cd
intorelay
- Run
npm install
- Hack away!
npm test # - or - # jest --watchAll
Runs Jests and watches for file changes before automatically rerunning specs
npm run-script start # - or - # npm start
Runs both webpack --mode development
to package app into /dist
, and electron .
to serve the app, in parallel
npm run-script rebuild
Runs electron-packager
, for darwin
only, and outputs/overwrites results into /builds