Nepali is an Indo-Aryan language. It is the official language and de facto lingua franca of Nepal. It is also spoken in certain parts of India, particularly by Indian Gorkha, and by a significant number of Bhutanese and some Burmese people. In India, Nepali is listed in the Eighth Schedule to the Constitution of India having an official status in the Indian state of Sikkim and in West Bengal's Darjeeling district. Nepali developed in proximity to a number of Indo-Aryan languages, most notably the Pahari languages and Magahi, and shows Sanskrit influences. However, owing to Nepal's geographical area, it has also been influenced by Tibeto-Burman languages. Nepali is mainly differentiated from Central Pahari, both in grammar and vocabulary, by Tibeto-Burman idioms owing to close contact with the respective language group. Nepali language shares 40% lexical similarity with the Bengali language. British resident at Kathmandu Brian Houghton Hodgson has observed that it is, in eight-tenths of its vocables, substantially Hindi.
Historically, the language was first called the Khas language (Khas kurā), then Gorkhali or Gurkhali (language of the Gorkha Kingdom) before the term Nepali was coined. Other names include Parbatiya ("mountain language", identified with the Parbatiya people of Nepal) and Dzongkha Lhotshammikha ("Southern Language", spoken by the Lhotshampas of Bhutan). It is also known as Khe language among the Newar people and Pahari language among Madhesi and Tharus.
Computer writing of Nepali
Nepal
Outline
• Text Input, Internal Representation and
Display
• Script, Character set, Font
• Pre-Unicode Era, Pretending to Write in
Nepali
• Advent of Nepali Unicode
• Nepali Unicode and the Prevailing Issues,
Limitations
• Conclusion
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) ,PatanDhoka, Nepal,
April 5, 2011
Text Input, Internal Representation and
Display
• Text input →Input Device (Keyboard)
• Minimal unit of a text → Character
• Each character is represented internally by a character code
in the storage devices(main memory, disks etc.)
• Character code – different numerical values characteristic of
an encoding scheme(e.g., ASCII, UNICODE etc.).
• For example, the character code of the latin small letter A -
“a” as per ASCII(decimal) is 97.
• Display → Output Device(Computer screen, disks, printer)
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Script, Character set, Font
• Every language with a written tradition has a
script or a writing system that it follows for
writing
• For example, Devanagari script for Nepali, Hindi,
Marathi and other languages
• Each script consists of a character set (a collection
of characters and symbols used for the language)
• We need a font for the computer system to
interpret the character codes and display on the
screen.
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Pre-Unicode Era
Pretending to write in Nepali
- Purely managed by some hack fonts
- Text encoding (codes for each character of the text
based on ASCII encoding).
- For example, the Nepali character “ब” as per the
Preeti font is mapped to the letter “a” in the keyboard
and correspondingly assigned the latter’s code for
internal representation.
- Worse, no uniform character set mappings with
character codes
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Pre-Unicode Era
Pretending to write in Nepali…
Disadvantages:
- Use of the computer confined to simply typing
- Lot of compromises in terms of typing
- Source and Target computers both need to have the same
font installed in their machines
- No consistent and uniform keyboard layouts (Keyboard
layouts differed according to fonts and what developers felt right
in terms of character key mappings)
- Typing difficult and requiring rigorous trainings
- Typed text lacks processing benefits (Sort, Find and Replace,
Arithmetic calculations etc. not possible)
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Few conjuncts in Devanagari
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK),
PatanDhoka, Nepal, April 5, 2011
Much more exists…
Source: http://www.omniglot.com/writing/devanagari.htm
Pre-Unicode era
Pretending to write in Nepali...
In Preeti In Times New Roman Character codes – ASCII(Decimal)
asdg asdg 97115100103
!@ !@ 3364
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Fig.1. Keyboard layout for Preeti font
Advent of Nepali Unicode
• Font Standardization Project
• Allocation of a separate block for the
Devanagari script in the Unicode chart
• Development of Unicode compliant Fonts and
Keyboard Layouts
• Changes
– No more technical hassles in document transfer
and exchange
– Text processing possible for Nepali
– Choice of fonts available
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Advent of Nepali Unicode…
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) ,
PatanDhoka, Nepal, April 5, 2011
Fig.2. Devanagari block (U+0900 –U+097F) in the Unicode chart
Advent of Nepali Unicode…
• Has opened up myriads of opportunities
– Blogs and social media (the medium being Nepali)
– Localization and local language computing
(Revolution in Nepali Language Computing -
NepaLinux, Spell checkers, Nepali Lexicon, Grammar
Analyzer, Machine Translation System, Dictionaries,
Thesauri, Text-to-Speech, Font developments,
Mobile applications, Internationalized Domain
Names, E-governance applications etc.)
• Unicode certainly has provided a good platform to
begin with but is it ideal for expressing the languages
of Nepal and the neighboring regions??
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) ,
PatanDhoka, Nepal, April 5, 2011
Nepali Unicode and the Prevailing
issues, Limitations
• The issue of the three conjuncts (क्ष,त्र,ज्ञ)
• Should/Should not they be assigned separate
code spaces?
• Where should they be placed in dictionaries,
telephone directories?
• Writing the languages of Nepal other than Nepali
in Nepali Unicode
• What are the limitations?
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) ,
PatanDhoka, Nepal, April 5, 2011
Nepali Unicode and the Prevailing
issues, Limitations…
• The World Wide Web is fast adopting Nepali
Unicode
• But there is very low adoption in print houses
– Formatting problems
– Legacy issues
– Unicode not supported in popularly used
applications like Adobe PageMaker
– Possible solutions (Use of converters)
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Conclusion
• Have come a long way from where it started
• Still much to achieve in terms of adoption
• Need to go for migration tools like Font
converters to ultimately switch hundred
percent to Unicode
• Although Unicode is officially adopted by the
Government in its policy, trainings and
awareness campaigns still a must nation wide
• Continuous discourse on the current
limitations of Nepali Unicode necessary
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) , PatanDhoka,
Nepal, April 5, 2011
Thank You
Queries??
Seminar on Writing the Languages of Nepal with the Computer organized by the Language Technology Kendra(LTK) ,
PatanDhoka, Nepal, April 5, 2011
Frontype is easy to use multilingual user-friendly virtual onscreen keyboard that turns any keyboard to your language layout. Just add needed language as input and start to type!
Nepali, a member of the Indo-Aryan branch of the Indo-European language family, is a macrolanguage spoken by 12,300,000 in Nepal (2011 census), 2,870,000 In India (2001 census), and 156,000 in Bhutan. The worldwide population of Nepali speakers is estimated at 15,360,100. The language is also called Eastern Pahadi, Gorkhali, Gurkhali, Khaskura, Nepalese, and Parbate.
Ethnologue lists 12 dialects of Nepali, not all of which are mutually intelligible.
Acchami | Dialekhi |
Baitadeli | Darhulai |
Bajhangi | Gandakeli |
Bajurali | Humli |
Bheri | Purbeli |
Dadelhuri | Soradi |
The sound system of Nepali shares many features with other Indo-Aryan languages.
Vowels
Nepali has 6 oral vowel phonemes, i.e., sounds that make a difference in word meaning. Most of them have nasal counterparts. There is also a number of diphthongs.
Front
|
Central
|
Back
|
|
---|---|---|---|
Close |
i
|
u
|
|
Mid |
e
|
ə
|
o
|
Open |
a
|
Consonants
The consonant system of Nepali is typical of Indo–Aryan languages. The language permits few consonant clusters.
Bilabial
|
Alveodental
|
Retroflex
|
Post-alveolar/ palatal
|
Velar
|
Glottal
|
||
---|---|---|---|---|---|---|---|
Stops | unaspirated voiceless | p |
t
|
ʈ
|
k | ||
aspirated voiceless |
pʰ
|
tʰ
|
ʈʰ
|
kʰ
|
|||
unaspirated voiced | b | d |
ɖ
|
g | |||
aspirated voiced |
bʰ
|
dʰ
|
ɖʰ
|
gʰ
|
|||
Fricatives | voiceless | s |
ʃ
|
ɦ | |||
Affricates | unaspirated voiceless |
tʃ
|
|||||
aspirated voiceless |
tʃʰ
|
||||||
unaspirated voiced |
dʒ
|
||||||
aspirated voiced |
dʒʰ
|
||||||
Nasals |
..ɳ
|
ɲ
|
ŋ
|
||||
Laterals |
.ɭ
|
||||||
Flap or trill |
ɽ
|
||||||
Approximant |
ʋ
|
j |
Nepali grammar shares many of its features with the grammars of other Indo-Aryan languages. Like all these languages, Nepali is agglutinative, i.e., it adds suffixes to roots to build words and to express grammatical relations. It also uses inflections for marking certain grammatical categories.
Nouns
Nepali nouns have the following major characteristics.
Adjectives
There are declinable and indeclinable adjectives. Declinable adjectives are marked for agreement with the noun they modify, whereas indeclinable adjectives do not change their form.
Pronouns
3rd person pronouns
|
2nd person pronouns
|
|
---|---|---|
Low grade | Person is not present or is of low status. | used to address small children, animals and pejoratively |
Middle grade | Person is a woman. | used to address people who are youngr or of lower status than the speaker |
High grade | Person is present or is of high status. | used to address people who are older or of higher status than the speaker |
There is an additional form for extremely formal situations. There is also a polite form of address.
Postpositions
Nepali uses a number of postpositions which have case-like functions. They take the form of affixes attached to an entire phrase, rather than a single noun, e.g., possessive, ergative in the past tense, instrumental, and one which marks the accusative of animate nouns, etc. There are other postpositions that perform the function of prepositions.
Verbs
Nepali verbs have the following major characteristics:
Verbs agree with their subjects in number, gender, status and person.
Verbs occur in the following forms: root, imperfect stem, perfect stem, and infinitive. The stems agree with nouns in gender and number.
There are three persons: 1st, 2nd, 2nd honorific, 3rd.
There are two numbers: singular and plural.
There are three tenses: present, past, future.
There are two aspects: imperfective and perfective.
There are three moods: indicative, imperative, optative.
There are two voices: active and passive.
Word order
The normal word order in Nepali is Subject – Object – Verb.
The basic vocabulary of Nepali is Sanskrit in origin, but over the years the language has also borrowed words from other languages. Nepali is more conservative than other Indo-Aryan languages, borrowing fewer words from other languages and using more words derived from Sanskrit. While written Nepali is mostly influenced by Sanskrit, spoken Nepali has many loanwords from neighboring Tibeto-Burmese languages.
Below are a few words and basic phrases in Nepali.
Hello | Namastē |
Goodbye | Bidā’i |
Thank you | Dhan’yavāda |
Please | Kr̥payā |
Yes | Hō |
No | Hoēna |
Man | Manisā |
Woman | Mahilā |
Below are Nepali numerals in transliteration.
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
---|---|---|---|---|---|---|---|---|---|
ek
|
dui
|
tin
|
char
|
pānch
|
cha
|
sāt
|
āt
|
nau
|
das
|
Writing
Nepali was first used in writing during the 12th century AD. It is written with the Devanagari alphabet, which developed from the Brāhmi script in the 11th century AD.
Take a look at Article 1 of the Universal Declaration of Human Rights in Nepali in the Devanagari script.
धारा १ सबै व्यक्ति हरू जन्मजात स्वतन्त्र हुन ती सबैको समान अधिकार र महत्व छ। निजहरूमा विचार शक्ति र सद्धिचार भएकोले निजहरूले आपसमा भातृत्वको भावना बाट व्यवहार गर्नु पर्छ। |
All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood. |
An onscreen keyboard is a software-based keyboard that is available in most operating systems, especially Microsoft Windows, and in other applications. An onscreen keyboard allows users to type text using a joystick or a pointing device. Apart from improving input options for users who are physically challenged, it also serves as an alternative to a physical keyboard.
Onscreen keyboards are also known as software keyboards or soft keyboards.
An onscreen keyboard displays a virtual keyboard on the screen for users to enter input. It can be operated with the help of any pointing device such as a mouse, pen, joystick, etc. The keyboard is often resizable and customizable, allowing the typing mode, font, etc., to be changed as needed. In certain onscreen keyboards, especially those from Windows 7 and later versions, they are equipped with a predictive text engine, which helps in predicting the words the users may type.
There are several ways an onscreen keyboard can come in handy. It is useful, for example, for physically challenged users who have difficulty using a physical keyboard. It can also be used as an alternative or a temporary keyboard in case the physical keyboard becomes defective. Using an onscreen keyboard also prevents keystrokes from being captured by certain spyware programs such as keyloggers.
However, as typing on an onscreen keyboard is slower and more difficult than on a physical keyboard, most onscreen keyboards feature predictive text input.