📅  最后修改于: 2023-12-03 14:48:14.080000             🧑  作者: Mango
Urdu is a widely spoken language predominantly used in South Asia. It originated in the 13th century and has influences from Persian, Arabic, and Turkish. Urdu is the national language of Pakistan and also one of the 22 scheduled languages of India. It is written from right to left in a modified form of Arabic script called Nastaʿlīq.
Script: Urdu is written in a unique script called Nastaʿlīq, which is a variant of the Arabic script. It is a beautiful and complex script that requires special typographical considerations when working with it in digital formats.
Vocabulary: Urdu has a rich vocabulary, with words borrowed from various languages such as Persian, Arabic, Turkish, and even English. This mix of vocabulary gives Urdu a diverse range of expressions and allows it to seamlessly borrow technical terms from other languages.
Grammar: Urdu grammar derives from the Indo-Aryan linguistic family, with influences from Persian. It has a subject-object-verb sentence structure and uses gender distinctions for nouns and pronouns. Verbs also have different forms based on tense, aspect, and mood.
Literature: Urdu has a rich literary tradition with famous poets and writers. Mirza Ghalib, Allama Iqbal, and Faiz Ahmed Faiz are some well-known Urdu poets. Classical Urdu literature includes ghazals, nazms, and qawwalis. Urdu prose includes novels, short stories, and essays.
Character Encoding: Urdu characters are encoded using Unicode, specifically the Arabic script range (U+0600 to U+06FF). UTF-8 is commonly used for encoding Urdu text in digital systems.
Text Rendering: Urdu characters require special rendering techniques due to the unique Nastaʿlīq script. Complex ligatures and overlapping characters are common in Urdu writing. Advanced typography is needed to render Urdu correctly, including features like character substitution and bidirectional text layout.
Input Methods: Various keyboard layouts and software-based input methods are available for typing Urdu, including Phonetic, InScript, and Urdu-specific keyboards. These tools assist users in typing Urdu characters on computers and mobile devices.
Here are some resources to learn more about Urdu programming and development:
Markdown code:
# Introduction to Urdu
## What is Urdu?
Urdu is a widely spoken language predominantly used in South Asia. It originated in the 13th century and has influences from Persian, Arabic, and Turkish. Urdu is the national language of Pakistan and also one of the 22 scheduled languages of India. It is written from right to left in a modified form of Arabic script called Nastaʿlīq.
## Key Features
- **Script:** Urdu is written in a unique script called Nastaʿlīq, which is a variant of the Arabic script. It is a beautiful and complex script that requires special typographical considerations when working with it in digital formats.
- **Vocabulary:** Urdu has a rich vocabulary, borrowing words from Persian, Arabic, Turkish, and English. This mix of vocabulary gives Urdu a diverse range of expressions and allows it to seamlessly borrow technical terms from other languages.
- **Grammar:** Urdu grammar derives from the Indo-Aryan linguistic family with influences from Persian. It has a subject-object-verb sentence structure and uses gender distinctions for nouns and pronouns. Verbs also have different forms based on tense, aspect, and mood.
- **Literature:** Urdu has a rich literary tradition with famous poets and writers. Mirza Ghalib, Allama Iqbal, and Faiz Ahmed Faiz are some well-known Urdu poets. Urdu literature includes ghazals, nazms, and qawwalis, while prose includes novels, short stories, and essays.
## Language Support
- **Character Encoding:** Urdu characters are encoded using Unicode, within the Arabic script range (U+0600 to U+06FF). UTF-8 is commonly used for encoding Urdu text in digital systems.
- **Text Rendering:** Urdu characters require special rendering techniques due to the unique Nastaʿlīq script. Complex ligatures and overlapping characters are common in Urdu writing. Advanced typography is needed to render Urdu correctly, including features like character substitution and bidirectional text layout.
- **Input Methods:** Various keyboard layouts and software-based input methods are available for typing Urdu, including Phonetic, InScript, and Urdu-specific keyboards. These tools assist users in typing Urdu characters on computers and mobile devices.
## Resources
- [Urdu Programming Resources](https://github.com/hshahzad07/Urdu-Programming) - A repository that contains resources and examples for programming in Urdu.
- [Urdu NLP](https://github.com/rafayak/urdu-nlp) - A Python library for Natural Language Processing (NLP) tasks in Urdu.
- [Urdu Typing](https://www.typing.com/student/typing-test/urduphontic) - An online typing tool for practicing Urdu typing.