Sentiment Analysis using VADER in JavaScript

This post is a simple implementation of how to use the VADER sentiment analysis in a paragraph. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a “lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media.” For the project page, please go here Enter text to be analysed: Sentiment analysis studies the subjective information in an expression, that is, the opinions, appraisals, emotions, or attitudes towards a topic, person or entity....

October 20, 2022 · 1 min · Jian

UML Statecharts

This post attempts to explain UML Statecharts as simple as possible.

October 24, 2021 · 9 min · Jian

Min and Max value of an Array (Java)

Getting the min and value of an array in Java

November 6, 2019 · Jian

Singleton & Observer Pattern (Java)

This blog post will demonstrate a simple use case where the singleton and observable design pattern becomes important. Let’s imagine if you are in the arcade and there is a Lucky Dip Machine. The reason I like call it the LuckyDipMachine is because it is one of the feature assignments in the Programming Foundation Units in Monash University and it is often times made fun at. However, the solution for assignment itself can be engineered to be better....

November 3, 2019 · Jian

k-Nearest Neighbour on Maps

One of the most common queries when working with maps is the nearest neighbour query. This blog post will use Voronoi Diagrams to explain more regarding the nearest neighbour query. Below is an example of a Voronoi diagram generated using d3.js. One of the good use cases of a voronoi diagram in real-life applications would be where would be finding a place to build emergency services. This place should have the most number of neighbouring regions....

October 27, 2019 · 4 min · Jian