ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Sentiment Analyzer live preview
โปรเจกต์ทั้งหมด

Sentiment Analyzer

Check the tone of a piece of text without a paid NLP subscription.

Gauging sentiment in feedback or social mentions required paid NLP services or a complex model setup for a simple tone check.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ต้นแบบ|Next.js, TypeScript

มีต้นแบบสาธารณะเพื่อแสดง interaction โดยจำกัดขอบเขตและข้อมูลไว้อย่างชัดเจน

กรณีศึกษา

ก่อนใช้งาน

Gauging the tone of feedback or a draft required paid NLP services or a model setup for a simple check.

หลังใช้งาน

The demo shows a tone label with every contributing word visible, as a hint rather than a verdict.

วิธีแก้ปัญหา

Built a tone bench on the App shell using a hand-weighted word list with negation, intensifiers and contrast words (lib/sentiment.ts). Paste a sentence to get a positive, negative or neutral label, a score and the matched words. Text stays in the browser.

สิ่งที่ยังไม่แก้

A word list, not a model: no confidence scores or batch mode, and it misreads sarcasm and context.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev