Difference between revisions of "Sorani"

From Apertium
Jump to navigation Jump to search
m
Line 28: Line 28:
 
A possibly useful thing to do would be to automatically add variants of the letter with and without ZWNJ before compiling the dictionaries. Variants with the 95db character could be considered the proper entry, with the others given an "LR" analysis.
 
A possibly useful thing to do would be to automatically add variants of the letter with and without ZWNJ before compiling the dictionaries. Variants with the 95db character could be considered the proper entry, with the others given an "LR" analysis.
   
Similarly variants with the 87d9 character with the ZWNJs replaces by spaces could also be generated, as these are very frequently encountered in Sorani typed on cell phones.
+
Similarly variants with the 87d9 character with the ZWNJs replaced by spaces could also be generated, as these are very frequently encountered in Sorani typed on cell phones.

Revision as of 11:22, 19 September 2016

Details on building a Sorani transducer and related language pairs

Grammar and Paradigms

We are largely taking the paradigms from Thackston's grammar, Amuzesh-e Zeban-e Kordi by Sayyed Mohammad Sina Ahmadi may be consulted in the future.

ZWNJ and ه

As a rule of thumb we are not adding or leaving zero-width non joiner characters at the end of word entries in the dictionaries. Two variants of the same character, ه, are used and these can stand for each other as defined in the ACX file. In "standard, proper" written Sorani it seems that the variant that breaks the abjad is used in typing. Both variants can be used at the end of words and paradigms, while throughout words and paradigms we will use the usual, non-abjad breaking ه together with a ZWNJ character.

Character Connection Hexdump Note
ه هت 87d9 aad8 000a Connects the usual way for an abjad.
ە ەت 95db aad8 000a Does not connect.

Post-processing Dictionaries

A possibly useful thing to do would be to automatically add variants of the letter with and without ZWNJ before compiling the dictionaries. Variants with the 95db character could be considered the proper entry, with the others given an "LR" analysis.

Similarly variants with the 87d9 character with the ZWNJs replaced by spaces could also be generated, as these are very frequently encountered in Sorani typed on cell phones.