Shopee/Lazada reviews in Malaysia are written in Malay, English, and everything in between ("barang ok tapi delivery lambat gila"). Off-the-shelf sentiment tools are trained on formal English and fail on this. That gap is your research.
A web dashboard where a seller pastes or uploads product reviews and gets: sentiment breakdown (positive/negative/neutral), trending complaint keywords, and per-aspect scores (delivery, quality, price, service).
Which approach handles MalayβEnglish code-switched text best? You benchmark three families of sentiment classifiers on the same datasets and report which wins, where, and why.
Pernyataan masalah: Malaysian SME sellers receive hundreds of mixed-language reviews they never analyze; existing sentiment tools misclassify code-switched Malay/Manglish text, so sellers can't act on customer feedback.
Same shape as a graded FYP: three controlled experiments, one comparison story.
| Experiment | Setup | What it proves |
|---|---|---|
| Eksperimen 1 Lexicon baseline |
VADER + a Malay sentiment lexicon (Malaya) on the review dataset, no training. | Baseline: how far rule-based methods get on code-switched text. |
| Eksperimen 2 Classical ML |
TF-IDF features β Naive Bayes vs SVM vs Logistic Regression, 80/20 train-test split. | Whether lightweight trainable models beat rules when trained on local data. |
| Eksperimen 3 Transformer |
Fine-tuned multilingual BERT (mBERT / MalayBERT) on the same 80/20 split. | Whether pretrained language models justify their cost on Malaysian text. |
Scrape/collect ~2,000β5,000 Shopee/Lazada reviews across 3 product categories; label a subset manually (with a labeling guideline β that's a methodology section by itself). Augment with the public Malaya sentiment corpus for pre-training comparisons β mirroring the "local dataset vs public dataset" comparison pattern examiners love.
| Metric | Why it matters here |
|---|---|
| Accuracy | Overall headline number for each of the 3 experiments. |
| Precision / Recall | Negative-review recall matters most to sellers β missing complaints is costly. |
| F1-score (macro) | Classes are imbalanced (most reviews are positive) β macro-F1 keeps you honest. |
| Confusion matrix per language mix | The novel part: slice results by pure-Malay vs pure-English vs code-switched rows. |
| Chapter | What goes in it (from this package) |
|---|---|
| Bab 1 β Pengenalan | Problem statement above, 3 objectives, scope (3 product categories, 3 model families), Gantt chart. |
| Bab 2 β Sorotan Kesusasteraan | Comparison tables: sentiment approaches (2019β2026 papers), code-switching NLP studies, Malay NLP resources (Malaya, MalayBERT). |
| Bab 3 β Metodologi | Data collection + labeling guideline, preprocessing pipeline (emoji, slang normalization), architecture diagram of dashboard + model API. |
| Bab 4 β Pembangunan & Pengujian | The 3 experiments, metric tables per experiment, per-language-mix analysis, dashboard screenshots. |
| Bab 5 β Dapatan Kajian | Which approach wins on code-switched text, limitations (labeling subjectivity, dataset size), future work (aspect-based SA). |
Pythonscikit-learnHugging Face MalayaStreamlit / FlaskPandas
β Back to all FYP ideas Β· Assignment Helper