A sentiment analyzer for text and articles using TensorFlow's toxicity model.
- body-parser
- parse incoming body requests
- cors
- middleware for enabling cross origin resource sharing
- textract
- extract text from url
- express
- server framework
- tensorflow/tfjs
- js library for deploying ml models
- tensorflow-models
- tensorflow built models
- buefy
- vue ui components based on bulma
- vue
- front end framework
- concurrently
- run multiple npm command line commands
/public
/src
/utils
toxicityAnalyzer.js -- import and load toxicity model from tensorflow
App.vue -- main functionality
main.js -- register ui framework
package.json -- required dependencies
server.js -- server to perform textract
Install dependencies
npm install
Run both frontend and server on localhost:8080 and localhost:3000
npm run start