MAIkit

Text Intelligence文本智能分析

Tokenise text, extract TF-weighted keywords and compare two documents with cosine similarity.

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

What is Text Intelligence?文本智能分析 是什么?

A text-intelligence workbench built on classic NLP techniques rather than a black-box model. It tokenises mixed Chinese/English input (Chinese by character plus bigrams, English by word), removes stop words for both languages, ranks the remaining terms by term frequency, and — when you paste a second document — measures how similar the two are with cosine similarity over their term-frequency vectors. It is a fast way to sanity-check keyword extraction and similarity before you wire up a heavier pipeline.

一个基于经典 NLP 技术而非黑盒模型的文本分析工作台。它对中英混排文本分词(中文按字切并扩展成二元组,英文按词切),去掉中英文停用词,按词频给剩余词条排序;再粘贴第二段文档时,用词频向量的余弦相似度衡量两段文本有多接近。这是一个在接入更重的流水线之前,快速验证关键词提取与相似度是否靠谱的工具。

How to use text intelligence如何使用 文本智能分析

  1. Paste the main text into the first box.
  2. Optionally paste a second document into the comparison box.
  3. Press Analyse to get token counts, top keywords and the cosine similarity score.
  4. Copy the keyword list if you need it downstream.
  1. 把主文本粘贴进第一个输入框。
  2. 可选:把第二段文档粘贴进对比框。
  3. 点"分析",得到词元数、高频关键词与余弦相似度。
  4. 需要时一键复制关键词列表。

Common uses常见用途

FAQ常见问题

How is Chinese text split into words?中文是怎么分词的?

Chinese is segmented per character and then expanded into character bigrams, which approximates word boundaries well for keyword work without shipping a multi-megabyte dictionary.

先按单字切分,再扩展成相邻两字的二元组。这种方式在不引入数 MB 词典的前提下,关键词效果接近分词,体积却小得多。

What is the similarity score based on?相似度是怎么算的?

Cosine similarity between the two term-frequency vectors. It ranges from 0 (nothing in common) to 1 (identical vocabulary distribution), and it ignores document length, which is usually what you want.

两段文本词频向量的余弦相似度。取值 0(毫无共同词汇)到 1(词分布几乎一致),且不受文本长度影响,这通常正是你想要的。

Does it understand meaning?它能理解语义吗?

No. It is lexical analysis, not semantic analysis. Two texts with the same words score high even if the sentences mean opposite things — that limitation is the point of the tool, and it is why it is fast and deterministic.

不能。这是词法分析而非语义分析:两段用词相同但意思相反的文本也会得高分。这正是它的边界所在,也因此它快速且结果稳定。

Is my text uploaded?我的文本会上传吗?

No. Tokenisation and scoring run entirely in the browser.

不会。分词与打分全在浏览器内完成。

Other tools其他工具

🧠

Machine Learning Lab机器学习实验台

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

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

💬

Sentiment Analysis情感分析

Score the sentiment of a review or message with a bilingual posi…

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

🔊

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 与文档工具