MAIkit

Sentiment Analysis中英文情感分析

Score the sentiment of a review or message with a bilingual positive/negative lexicon and negation handling.

用中英文正负情感词典对评论、留言打分,正确处理"不""没"等否定词,列出命中的正负词。

What is Sentiment Analysis?中英文情感分析 是什么?

A lexicon-based sentiment analyser that works on both Chinese and English text. It scans the tokenised text against positive and negative word lists, counts how many of each it hit, and subtracts a penalty for negations such as "not", "no", "不" and "没" so that phrases like "not good" are not scored as praise. The output is a score, a label, and the exact words that drove the decision — which makes it easy to audit and tune for your own domain.

一个基于情感词典的分析器,中英文都能处理。它把文本分词后逐词匹配正负情感词表,分别统计命中数量,并对 "not"、"no"、"不"、"没" 等否定词施加惩罚,所以 "not good" 和 "不好" 不会被当成表扬。输出包含得分、判定标签,以及具体命中的词——便于审计,也便于针对你的业务词表自行扩展。

How to use sentiment analysis如何使用 中英文情感分析

  1. Paste the review, comment or message into the box.
  2. Press Analyse sentiment.
  3. Read the score, the label and the matched positive/negative words.
  4. Use the matched words to spot sarcasm or unusual vocabulary the lexicon misses.
  1. 把评论、留言或一段文字粘贴进输入框。
  2. 点"分析情感"。
  3. 查看得分、判定与命中的正/负词。
  4. 根据命中词发现反讽或词典没收录的生僻表达。

Common uses常见用途

FAQ常见问题

Is this the same as a modern AI sentiment model?这和现在的大模型情感分析一样吗?

No, and that is deliberate. A lexicon is transparent, instant, free and works offline, while a trained model needs a download and a service. For triage and teaching, the lexicon often tells you more because you can see every word it used.

不一样,而且是有意为之。词典法透明、即时、免费、可离线;训练好的模型需要下载和服务。做初筛与教学时,词典反而信息量更大——因为你能看到它依据的每一个词。

How are negations handled?否定词怎么处理?

A negation word immediately before a sentiment word applies a 0.5 penalty, so "not good" and "不好" both pull the score down instead of being counted as praise.

情感词前紧邻的否定词会扣 0.5 分,"not good" 和 "不好" 都会拉低总分,而不是被当作赞扬。

What about sarcasm and slang?反讽和俚语怎么办?

Lexicon methods miss them — a sarcastic "great job" still scores positive. The matched-words list is the fastest way to spot that case and extend the word list for your own domain.

词典法会漏掉它们——反讽的"干得漂亮"仍然是正分。查看命中词列表是发现这类情况、并按你的领域扩充词表最快的方式。

Is my text sent anywhere?文本会上传吗?

No. The scoring is pure JavaScript in your browser.

不会。打分是浏览器内的纯 JavaScript。

Other tools其他工具

🧠

Machine Learning Lab机器学习实验台

Train linear regression, logistic regression and K-means cluster…

在浏览器里直接训练线性回归、逻辑回归与 K-means 聚类,实时画出拟合直线、…

🔬

Text Intelligence文本智能分析

Tokenise text, extract TF-weighted keywords and compare two docu…

对中英文文本分词、去停用词、提取 TF 加权关键词,并用余弦相似度比较两段文本的…

🔊

Text to Speech语音合成

Turn text into spoken audio with the browser speech engine, adju…

调用浏览器内置语音引擎朗读文本,可调语速与音调,支持中文、英文、日文与韩文。…

🎤

Speech to Text语音识别

Dictate with your microphone and get live transcribed text using…

用麦克风实时听写,自动转成文字,支持中英文识别,结果可一键复制。…

🧩

Prompt Engineer提示词工程助手

Build structured prompts from role, task, context and constraint…

按角色、任务、背景、约束、输出格式拼出结构化提示词,估算 token 数量与成本…

🖼️

AI Image OperatorsAI 图像算子

Run classic computer-vision operators on an image: Sobel edges, …

在本地对图片运行经典计算机视觉算子:Sobel 边缘检测、Otsu 自动阈值、直…

Sister sites友情链接 MonkeyDev dev tools hub工具总站 FreePDFKit PDF toolsPDF 工具集 ImageToolKit image tools图片工具集 AI 咒语库 AI prompt libraryAI 提示词库 DevTools developer toolkit开发工具箱 CalcKit finance calculators财务计算器 OfficeKit office utilities办公工具箱 DataKit data & spreadsheet tools数据与表格工具 ChartKit diagrams & charts图表与可视化 DocKit markdown & document toolsMarkdown 与文档工具