
A Better Persian Voice Interface: Language Is More Than Transcription
Persian voice products must handle formal and colloquial speech, dialects, code-switching, names, numbers, and culturally appropriate repair.
Read MoreZharfAI Team

A product does not become Persian because its model can answer in Persian. A production system has to recognize how people type, preserve what a document actually says, retrieve across spelling variants, understand domain terminology, render mixed right-to-left and left-to-right content safely, and know when fluency exceeds evidence.
Persian is not a low-resolution copy of English or Arabic. Its morphology, clitics, ezafe construction, optional short vowels, script variants, half-space conventions, colloquial forms, named entities, calendars, digits, and bidirectional layout all affect accuracy. Formal Iranian Persian is also not interchangeable with Dari, Tajik, every regional variety, or every diaspora writing practice.
This guide reflects public research and standards available on 30 July 2026. Benchmarks establish a limited comparison under their dataset and split; they do not prove fitness for a product, domain, population, or high-impact decision.
“Support Persian” is not a testable requirement. Specify:
Keep Dari and Tajik as explicit locale decisions. Shared linguistic history does not erase different scripts, vocabulary, morphology, institutions, dates, currencies, or user expectations. Evaluate each supported variety with speakers from that context.
Start with one outcome. “Find the correct Persian return-policy passage and draft a cited answer” is measurable. “Build a Persian copilot” is not. Connect the workflow to enterprise knowledge and search rather than assessing the chat layer alone.
Persian pipelines face characters that look similar but are not the same code point. Common examples include Persian yeh ی (U+06CC) versus Arabic yeh ي (U+064A), Persian kaf ک (U+06A9) versus Arabic kaf ك (U+0643), and zero-width non-joiner or ZWNJ (U+200C). Users also mix Persian, Arabic, and Latin digits and use inconsistent spaces around affixes.
Do not solve this by destructively rewriting every stored string. Keep four layers:
Legal names, account references, quoted evidence, hashes, signatures, identifiers, and source documents may require byte-accurate preservation. Normalization should improve retrieval without silently changing the evidence shown to a reviewer.
Version the normalizer. Test characters that should remain distinct, emoji, combining marks, Arabic diacritics, ZWNJ, nonbreaking spaces, URLs, email, IBAN-like values, dates, negative numbers, and code. Store which transformations produced a match so an operator can explain why two records were linked.
Persian carries information through prefixes, suffixes, clitics, compounds, and spacing. The same lexical item can appear joined, separated, or with ZWNJ. Ezafe is usually not visibly marked. Short vowels are generally omitted, increasing ambiguity. Colloquial writing changes pronouns, verbs, word boundaries, and spelling; social and support channels add typos, elongation, emojis, transliteration, and code-switching.
A robust pipeline combines:
Do not assume an embedding model will absorb every orthographic issue. Test exact, lexical, and semantic retrieval separately. For high-stakes fields, an exact protected identifier should outrank a semantically similar narrative.
Persian NLP research provides valuable baselines:
These datasets differ in task, era, genre, annotation, population, and metric. A score on one does not imply reliable financial extraction, modern support language, colloquial chat, OCR, code-switching, or safe agent behavior. Benchmark contamination is also a concern when evaluating large general-purpose models on public test sets.
Use public results to select candidates and understand failure modes. Create a product evaluation from real, permissioned examples, including cases after the model’s training cutoff where possible. Separate development and locked test sets, deduplicate against retrieval corpora, document annotator instructions, and report uncertainty instead of a single unqualified score.
Persian retrieval quality often fails before generation. Index both protected source text and carefully normalized fields. At query time, retain the original query, generate bounded aliases, search exact and semantic channels, merge with calibrated ranking, enforce access control before retrieval, and return source spans with document version and date.
Useful retrieval tests include:
Answers should cite the retrieved passage and distinguish source language from generated translation. If the authoritative document is English, mark the Persian rendering as a translation. If sources conflict or do not support the requested claim, abstain and show the conflict.
For speech input, use the same discipline. The Persian speech-technology guide explains why transcription quality must be measured by domain, speaker, noise, number handling, and downstream task—not only average word error rate.
Persian layout is a system property. The Unicode Bidirectional Algorithm, UAX #9, defines how mixed-direction text is ordered. It does not decide the correct product layout, alignment, truncation, or interaction.
Use semantic dir="rtl" at an appropriate container and isolate inserted user or machine values with dir="auto" or bidirectional isolation rather than manually reversing strings. Logical CSS properties such as margin-inline-start, padding-inline-end, and text-align: start are safer than duplicating left/right rules. Never reverse digits, code, URLs, email addresses, file paths, or identifiers.
The W3C Arabic and Persian Layout Requirements is a useful catalogue of writing-system needs, but as of this date it is a Working Group Draft Note, work in progress rather than an endorsed W3C Recommendation. Treat it as engineering guidance and verify behavior in the browsers, fonts, operating systems, and assistive technologies you support.
Test:
Sanitize unexpected bidi controls where security policy requires, while preserving legitimate source evidence in a protected view. A visually reordered identifier can cause financial and security mistakes.
Consider a support assistant that answers Persian questions about invoices while the accounting system, product names, and some contracts remain English. A user writes: «فاکتور ١٢۳۴ چرا دوباره محاسبه شده؟» using mixed Arabic and Persian digits.
The pipeline keeps the original message, derives a normalized query, recognizes the protected invoice identifier, and resolves the authorized customer before retrieving. It searches invoice events by exact ID and the policy base using Persian aliases and bilingual terminology. The answer cites the Persian policy if authoritative; otherwise it clearly labels a Persian translation of the English source.
The interface displays the Persian explanation RTL while isolating invoice number, currency, SKU, and URL. It never translates product codes or silently changes the source ledger. If the calculation and policy conflict, the system does not improvise. It creates a case with retrieved evidence, affected amount, locale, model and index versions, and the user’s original wording.
Human reviewers see both source and normalized forms, retrieval spans, translation, confidence by stage, and suggested action. They can correct the entity, term, citation, or resolution separately. Those reason-coded corrections improve evaluation without treating every agent edit as ground truth.
One “Persian quality” score hides the cause of failure. Measure:
Slice by formal versus colloquial input, region or variety in scope, device, channel, document type, mixed script, query length, new versus legacy content, and critical user group. Report sample sizes and confidence intervals. Expert review is essential for legal, financial, clinical, safety, and public-service content.
Automatic translation metrics can help compare versions but should not be the acceptance gate by themselves. A fluent sentence that changes a negation, date, amount, party, or obligation is a failure regardless of aggregate score.
Maintain a versioned terminology service: concept ID, Persian preferred form, English equivalent, accepted variant, prohibited translation, domain, owner, source, effective date, and examples. Apply it consistently to UI, search, generation, documentation, and human workflows.
Record model, prompt, normalizer, tokenizer, index, glossary, document, and UI versions for consequential output. Re-evaluate after any material change. Monitor drift when a new campaign, regulation, product line, or news event changes user vocabulary.
Minimize logged personal data. Persian free text may contain national identifiers, phone numbers, financial details, health information, or private family context. Redact or tokenize fields where appropriate, scope reviewer access, set retention, and keep evaluation examples permissioned and de-identified. Do not send sensitive content to an external model merely because it supports Persian.
Give users a field-level correction path: wrong person, amount, date, terminology, translation, citation, direction, or outcome. A generic thumbs-down is not enough to diagnose the system.
Block launch when protected identifiers change during normalization or translation; authoritative sources cannot be distinguished from generated text; access control is applied after retrieval; critical numbers, dates, names, or negation fail acceptance thresholds; unsupported answers are not refused; the UI corrupts mixed-direction values; target varieties lack evaluation; or no qualified Persian reviewer owns the workflow.
Degrade to search results, a template, or human handling when citation support drops, index freshness fails, a new vocabulary domain appears, high-impact error exceeds threshold, the model or normalizer changes without evaluation, or a bidi/security defect can misrepresent an identifier.
Every exception needs an owner, narrow scope, compensating control, review date, and evidence. “The sentence sounded natural” is not an acceptance criterion.
It can be a strong component. Product quality still depends on normalization, retrieval, terminology, domain evaluation, RTL engineering, human review, and safe fallback.
Not destructively. Canonical and search forms can normalize selected variants, but source, legal, identity, signature, and display requirements may demand exact preservation.
They are useful, bounded research instruments. Their task, sample, genre, date, annotation, bias, and possible exposure must be documented. Validate the actual workflow on a separate product set.
No. It includes information architecture, terminology, calendar and number conventions, RTL interaction, cultural context, support operations, search behavior, and product policy.
A narrow, cited retrieval workflow with protected identifiers, qualified reviewers, field-level feedback, and a fallback to source documents. Prove evidence retrieval and UI integrity before granting tools or automating consequential decisions.
A trustworthy Persian AI product does not merely sound local. It preserves the source, retrieves the right evidence across real writing variants, renders the answer safely, exposes uncertainty, and gives Persian-speaking users the same control and recourse as users of the product’s first language.
Sources reviewed and current as of July 30, 2026:

Persian voice products must handle formal and colloquial speech, dialects, code-switching, names, numbers, and culturally appropriate repair.
Read More
The next generation of enterprise AI should not merely produce an answer. It should show the evidence, uncertainty, authority, and action path behind it.
Read More
Synthetic data needs provenance, purpose, validation, contamination controls, and a retirement rule. Artificial does not mean anonymous or harmless.
Read MoreGet in touch with our team to discuss how we can help your business.