{"uid":"cap_IzrI4oI_3av3mCkXWNUHL","slug":"irantools-persian-sentence-splitter-3331e55c","name":"IranTools Persian Sentence Splitter","description":"Persian and Iranian utilities for AI agents, plus general text/Unicode tooling. Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, keyword extraction, sentence splitting, similarity, HTML stripping, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, date description, business-day counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, byte sizes. Pay per call in USDC on Base via x402 - no signup, no API key, no KYC. The same tools are also exposed as MCP tools at /mcp.","url":"https://irantools.johnaio281.workers.dev/api/iran/persian_sentences?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QbxYEZCQYvYyrn6d3VDTW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits Persian (Farsi) text into individual sentences using linguistically aware tokenization","exampleAgentPrompt":"Split this Persian paragraph into individual sentences: 'سلام. امروز هوا خوب است. من به بازار رفتم و میوه خریدم.'","exampleUseCases":[{"title":"Persian news article sentence extraction","prompt":"I have a Persian news article and need it broken into individual sentences so I can process each one separately — can you split this text for me: 'دولت تصمیم جدیدی گرفت. قیمت‌ها افزایش یافت. مردم اعتراض کردند.'"},{"title":"Persian chatbot response segmentation","prompt":"My chatbot generates long Persian responses and I need to split them into sentences for display — please segment this Farsi text: 'این محصول بسیار مفید است. کیفیت آن عالی است. قیمت مناسبی دارد.'"},{"title":"Persian document preprocessing for NLP pipeline","prompt":"I'm building an NLP pipeline and need to tokenize this Persian document into sentences before running further analysis: 'دانشگاه تهران یکی از بزرگترین دانشگاه‌های ایران است. این دانشگاه در سال ۱۳۱۳ تأسیس شد.'"}],"resultDescription":"Returns an object containing an array of extracted sentences from the input Persian text, with each sentence as a separate string element preserving original Persian script and punctuation","failureModes":["Empty text input returns empty array or error","Non-Persian text may produce unexpected segmentation boundaries","Very long texts may hit request size limits","Ambiguous sentence boundaries (e.g. abbreviations with periods) may cause incorrect splits","Payment failure (402) if USDC balance insufficient on Base network"],"whenToPreferThis":"Choose this endpoint when you need linguistically correct sentence segmentation for Persian/Farsi text, especially when handling right-to-left script, Persian punctuation marks (like '؟' and '،'), and mixed Persian-Arabic content. Prefer over generic sentence splitters that lack Persian-specific rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:35.264Z","isFirstParty":false,"canonicalSlug":"irantools-persian-sentence-splitter-3331e55c"}