[GH-ISSUE #3062] docs: add langchain-arabic integration provider page #2703

Open
opened 2026-06-05 17:26:22 -04:00 by yindo · 0 comments
Owner

Originally created by @louaychoum on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/3062

Summary

I'd like to add an integration page for langchain-arabic, a LangChain output parser for Arabic text post-processing.

What langchain-arabic does

  • Diacritics restoration — deterministic dictionary replacement or neural auto-diacritization (via catt-tashkeel) for Arabic LLM output
  • Number-to-word conversion — context-aware (percentage, currency, phone, plain)
  • Dialect support — dialect-specific diacritics maps and number phrasing (MSA, Gulf)

It extends BaseTransformOutputParser from langchain-core and works as a drop-in replacement for StrOutputParser in LCEL chains.

Why this matters

LLMs produce Arabic without diacritics (tashkeel) 60-70% of the time. This causes mispronunciation in text-to-speech pipelines. There is currently no Arabic-specific integration in the LangChain ecosystem.

Package info

Proposed changes

  1. Add provider page at src/oss/python/integrations/providers/langchain_arabic.mdx
  2. Add card to all_providers.mdx (alphabetically placed)

I have a branch ready with these changes and can open a PR once approved.

Originally created by @louaychoum on GitHub (Mar 11, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/3062 ## Summary I'd like to add an integration page for [langchain-arabic](https://pypi.org/project/langchain-arabic/), a LangChain output parser for Arabic text post-processing. ## What langchain-arabic does - **Diacritics restoration** — deterministic dictionary replacement or neural auto-diacritization (via catt-tashkeel) for Arabic LLM output - **Number-to-word conversion** — context-aware (percentage, currency, phone, plain) - **Dialect support** — dialect-specific diacritics maps and number phrasing (MSA, Gulf) It extends `BaseTransformOutputParser` from `langchain-core` and works as a drop-in replacement for `StrOutputParser` in LCEL chains. ## Why this matters LLMs produce Arabic without diacritics (tashkeel) 60-70% of the time. This causes mispronunciation in text-to-speech pipelines. There is currently no Arabic-specific integration in the LangChain ecosystem. ## Package info - **PyPI**: https://pypi.org/project/langchain-arabic/ - **GitHub**: https://github.com/louaychoum/langchain-arabic - **Current version**: 0.3.0 - **Python**: >=3.9 ## Proposed changes 1. Add provider page at `src/oss/python/integrations/providers/langchain_arabic.mdx` 2. Add card to `all_providers.mdx` (alphabetically placed) I have a branch ready with these changes and can open a PR once approved.
yindo added the external label 2026-06-05 17:26:22 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2703