Get instant insights into your text content. This function scans your input to calculate exactly how long it is (characters and words), how complex it is (sentences), and how much it might cost to process with AI models (estimated tokens). Perfect for checking text limits before submission.
快速获取文本内容的统计洞察。此函数会扫描您的输入内容,精确计算文本长度(字符数和单词数)、结构复杂度(句子数),以及使用 AI 模型处理时的预估成本(Token 数)。非常适合在提交内容前检查是否符合长度限制。
The analyzeText(input) function is a utility designed to process raw text strings and provide statistical metrics. It is particularly useful for content management systems, SEO tools, or LLM (Large Language Model) pre-processing checks.
analyzeText(input) 是一个用于处理原始文本字符串并提供统计指标的工具函数。它特别适用于内容管理系统、SEO 优化工具或大语言模型(LLM)的预处理检查。
function analyzeText(input): Object