{"uid":"cap_18gDmy1n1BTKJuI6N0brw","slug":"kihustle-type-token-ratio-calculator-fe55eca3","name":"KiHustle Type-Token Ratio Calculator","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/agents/api/v1/type-token-ratio?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oYvXvuBxNTlbcPuItAp--","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the type-token ratio (TTR) of a given text, a lexical diversity metric measuring unique word types relative to total tokens","exampleAgentPrompt":"Can you calculate the type-token ratio for this text: 'The quick brown fox jumps over the lazy dog and the fox runs away quickly'? I want to know how lexically diverse it is.","exampleUseCases":[{"title":"Essay vocabulary diversity check","prompt":"I just wrote this essay paragraph and want to know how varied my vocabulary is — can you compute the type-token ratio for it? Here it is: 'Education is the foundation of growth. Through learning, individuals grow, develop skills, and build better futures for themselves and society.'"},{"title":"Comparing AI-generated vs human text","prompt":"I have two text samples — one written by a human and one by an AI — and I want to compare their lexical diversity. Can you calculate the type-token ratio for this AI-generated snippet: 'The system processes data efficiently. The data is then stored and the stored data is retrieved efficiently.'?"},{"title":"Content quality scoring for NLP pipeline","prompt":"I'm running a content quality pipeline and need to score this blog excerpt for lexical richness using type-token ratio — please analyze this: 'Automation tools help creators save time, reduce repetitive tasks, and focus on creative work that drives real value.'"}],"resultDescription":"Returns a JSON object containing the computed type-token ratio result and a success status indicator. The TTR value reflects the proportion of unique word types to total tokens in the submitted text, serving as a lexical diversity metric.","failureModes":["Empty or missing text field returns an error or undefined result","Extremely short texts (1-2 words) produce TTR of 1.0 which may be misleading","Very long texts may produce artificially low TTR due to natural word repetition","Non-text or heavily numeric input may yield unreliable diversity scores","Malformed JSON request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost lexical diversity metric for a single text sample. It is well-suited for NLP preprocessing pipelines, content quality scoring, plagiarism analysis workflows, or language learning applications where vocabulary richness needs to be quantified. Prefer it over full NLP suites when you only need the TTR statistic without sentiment, POS tagging, or other linguistic annotations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:50:30.690Z","isFirstParty":false,"canonicalSlug":"kihustle-type-token-ratio-calculator-fe55eca3"}