![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
AFINN sentiment analysis: a wordlist-based approach to sentiment analysis ported from the original Python implementation to Typescript.
yarn add afinn.ts
import Afinn from "afinn.ts";
const afinn = Afinn({ language: "en" });
afinn.score("This is utterly excellent!");
In Danish:
const afinn = Afinn({ language: "da" });
afinn.score("Hvis ikke det er det mest afskyelige flueknepperi...");
In Finnish:
const afinn = Afinn({ language: "fi" });
afinn.score("Siellä on uusi hyvä juttu, katsokaa ja kuunnelkaa ihmeessä.");
In Swedish:
const afinn = Afinn({ language: "sv" });
afinn.score("det är inte bra");
In Turkish:
const afinn = Afinn({ language: "tr" });
afinn.score("iyi de\u011Fil");
const afinn = Afinn({ language: "tr" });
afinn.score("iyi değil");
With emoticons:
const afinn = Afinn({ language: "emoticons" });
afinn.score("I saw that yesterday :)");
NOTE: there are plans to add emoticon support to all languages, as is done in the Python implementation.
Nielsen's original citation can be found here:
Finn Årup Nielsen, "A new ANEW: evaluation of a word list for sentiment analysis in microblogs", Proceedings of the ESWC2011 Workshop on 'Making Sense of Microposts': Big things come in small packages. Volume 718 in CEUR Workshop Proceedings: 93-98. 2011 May. Matthew Rowe, Milan Stankovic, Aba-Sah Dadzie, Mariann Hardey (editors)
FAQs
AFINN wordlist-based sentiment analysis
We found that afinn.ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.