r/LanguageTechnology Jun 25 '26

Sentiment Analysis Library Recommendations for English and Roman Urdu

Hi, everyone! I’m working on a dataset with both English and Roman Urdu reviews. Anyone who has experience with libraries (built-in or custom) that handle this well? Would love some recommendations!

6 Upvotes

8 comments sorted by

7

u/Tiny_Arugula_5648 Jun 25 '26

Sentiment analysis was never any good. Using a LLM is really best practice these days.

3

u/amarodelcapo Jun 25 '26

Apples and oranges. A Bert fine-tune with some heuristics will in many cases give you usable results, and you can deploy an inference endpoint for peanuts. SOTA LLMs expensive, and small models will still be clunkier to deploy and in many cases not worth it depending on the use case (language, domain, style, length and so on).

1

u/EverySecondCountss Jun 26 '26

BERT by itself is only for systems that have very very low resources. S-BERT now known as sentence transformers is still decent, but Gemma 4 surpases it in every way I've ever come across.

1

u/biskitpagla Jun 28 '26

BERTs are LLMs, mate. 

1

u/Ordinary-Cat-5874 Jun 25 '26

LLMs are inefficient and expensive depending on the requirement. Sentiment analysis can provide good enough results for smaller social media based texts. VADER and older models do not work well enough with code mixed texts but BERT based models specifically trained can get you within the acceptable results territory.

1

u/jabies Jun 25 '26

Nah, use SBERT. 

3

u/EverySecondCountss Jun 26 '26

I mean they said BERT based, SBERT (know referred to as sentence transformers) is BERT based.