Realtime Node.js chatroom using Socket.io with sentiment analysis via Natural.js.
-
Create a realtime chatroom which communicates data via the websocket protocol, where available
-
Analyse the sentiment of each message sent by users
-
Present the evaluation data to the user via realtime sentiment analysis charts and a user analysis table
-
Ensure Node.js is installed and up to date
-
Clone this repository to the desired directory
-
Enter the directory
cd directorypath
- Install the required node modules
npm install
- Install emoji-short-name (emoji string equivalent dictionary)
npm install emoji-short-name
- Install socket.io (real-time bi-directional event-based communication)
npm install socket.io
- Install natural (natural language facility)
npm install natural
npm start
User Prompt
Landing Page (chat and monitor)
Add emojis to messages
Data analysis via chart and table
Datapoint hover
Video Example of system in full project (Chaperon Chat Monitor)