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

JavaScript Promise All - Parsing Hackernews Stories using Promise.all

This post is an entry to describe a use case when the Promise.all JavaScript method is needed. The official reference can be found here. This assumes that the reader has a basic understanding of how promises work. Before we start, there is a need to understand how certain RESTful services are structured. For example, the Hacker News API has an end-point called topstories. This end-point however, does not contain any other information besides a list of item IDs....

October 25, 2019 · Jian