diff options
Diffstat (limited to 'indexing/xindy/contrib/xindy-persian/persian/variant3-utf8.xdy')
-rw-r--r-- | indexing/xindy/contrib/xindy-persian/persian/variant3-utf8.xdy | 593 |
1 files changed, 593 insertions, 0 deletions
diff --git a/indexing/xindy/contrib/xindy-persian/persian/variant3-utf8.xdy b/indexing/xindy/contrib/xindy-persian/persian/variant3-utf8.xdy new file mode 100644 index 0000000000..90048616d8 --- /dev/null +++ b/indexing/xindy/contrib/xindy-persian/persian/variant3-utf8.xdy @@ -0,0 +1,593 @@ +;; Rules for xindy; generated by make-rules.pl +;; language: Persian + +(define-letter-group "الف" :prefixes ("" "" "")) +(define-letter-group "ب" :after "الف" :prefixes ("")) +(define-letter-group "پ" :after "ب" :prefixes ("")) +(define-letter-group "ت" :after "پ" :prefixes ("")) +(define-letter-group "ث" :after "ت" :prefixes ("")) +(define-letter-group "ج" :after "ث" :prefixes ("")) +(define-letter-group "چ" :after "ج" :prefixes ("")) +(define-letter-group "ح" :after "چ" :prefixes ("")) +(define-letter-group "خ" :after "ح" :prefixes ("")) +(define-letter-group "د" :after "خ" :prefixes ("")) +(define-letter-group "ذ" :after "د" :prefixes ("")) +(define-letter-group "ر" :after "ذ" :prefixes ("")) +(define-letter-group "ز" :after "ر" :prefixes ("")) +(define-letter-group "ژ" :after "ز" :prefixes ("")) +(define-letter-group "س" :after "ژ" :prefixes ("")) +(define-letter-group "ش" :after "س" :prefixes ("")) +(define-letter-group "ص" :after "ش" :prefixes ("")) +(define-letter-group "ض" :after "ص" :prefixes ("")) +(define-letter-group "ط" :after "ض" :prefixes ("")) +(define-letter-group "ظ" :after "ط" :prefixes ("")) +(define-letter-group "ع" :after "ظ" :prefixes ("")) +(define-letter-group "غ" :after "ع" :prefixes ("")) +(define-letter-group "ف" :after "غ" :prefixes ("")) +(define-letter-group "ق" :after "ف" :prefixes ("")) +(define-letter-group "ک" :after "ق" :prefixes ("")) +(define-letter-group "گ" :after "ک" :prefixes ("")) +(define-letter-group "ل" :after "گ" :prefixes ("")) +(define-letter-group "م" :after "ل" :prefixes ("")) +(define-letter-group "ن" :after "م" :prefixes ("")) +(define-letter-group "و" :after "ن" :prefixes ("")) +(define-letter-group "ه" :after "و" :prefixes ("")) +(define-letter-group "ی" :after "ه" :prefixes ("")) +(define-letter-group "A" :after "ی" :prefixes ("")) +(define-letter-group "B" :after "A" :prefixes ("")) +(define-letter-group "C" :after "B" :prefixes ("")) +(define-letter-group "D" :after "C" :prefixes ("")) +(define-letter-group "E" :after "D" :prefixes ("")) +(define-letter-group "F" :after "E" :prefixes ("")) +(define-letter-group "G" :after "F" :prefixes ("")) +(define-letter-group "H" :after "G" :prefixes ("")) +(define-letter-group "I" :after "H" :prefixes ("")) +(define-letter-group "J" :after "I" :prefixes ("")) +(define-letter-group "K" :after "J" :prefixes ("")) +(define-letter-group "L" :after "K" :prefixes ("")) +(define-letter-group "M" :after "L" :prefixes ("")) +(define-letter-group "N" :after "M" :prefixes ("")) +(define-letter-group "O" :after "N" :prefixes ("")) +(define-letter-group "P" :after "O" :prefixes ("")) +(define-letter-group "Q" :after "P" :prefixes ("")) +(define-letter-group "R" :after "Q" :prefixes ("")) +(define-letter-group "S" :after "R" :prefixes ("")) +(define-letter-group "T" :after "S" :prefixes ("")) +(define-letter-group "U" :after "T" :prefixes ("Ă")) +(define-letter-group "V" :after "U" :prefixes ("ć")) +(define-letter-group "W" :after "V" :prefixes ("Ĉ")) +(define-letter-group "X" :after "W" :prefixes ("č")) +(define-letter-group "Y" :after "X" :prefixes ("ď")) +(define-letter-group "Z" :after "Y" :prefixes ("Ē")) +(define-letter-group "Þ" :after "Z" :prefixes ("Ę")) + +(define-rule-set "pe-alphabetize" + + :rules (("آ" "" :string) + ("أ" "" :string) + ("ا" "" :string) + ("ب" "" :string) + ("پ" "" :string) + ("ت" "" :string) + ("ث" "" :string) + ("ج" "" :string) + ("چ" "" :string) + ("ح" "" :string) + ("خ" "" :string) + ("د" "" :string) + ("ذ" "" :string) + ("ر" "" :string) + ("ز" "" :string) + ("ژ" "" :string) + ("س" "" :string) + ("ش" "" :string) + ("ص" "" :string) + ("ض" "" :string) + ("ط" "" :string) + ("ظ" "" :string) + ("ع" "" :string) + ("غ" "" :string) + ("ف" "" :string) + ("ق" "" :string) + ("ک" "" :string) + ("گ" "" :string) + ("ل" "" :string) + ("م" "" :string) + ("ن" "" :string) + ("ؤ" "" :string) + ("و" "" :string) + ("ه" "" :string) + ("ی" "" :string) + ("ئ" "" :string) + ("À" "" :string) + ("à" "" :string) + ("æ" "" :string) + ("Æ" "" :string) + ("Ç" "" :string) + ("ç" "" :string) + ("ð" "" :string) + ("Ð" "" :string) + ("é" "" :string) + ("ë" "" :string) + ("ê" "" :string) + ("Ê" "" :string) + ("É" "" :string) + ("È" "" :string) + ("è" "" :string) + ("Ë" "" :string) + ("Ï" "" :string) + ("ï" "" :string) + ("Ñ" "" :string) + ("ñ" "" :string) + ("ö" "" :string) + ("Ö" "" :string) + ("Ô" "" :string) + ("ô" "" :string) + ("œ" "" :string) + ("Œ" "" :string) + ("Ã" "Ę" :string) + ("þ" "Ę" :string) + ("a" "" :string) + ("A" "" :string) + ("B" "" :string) + ("b" "" :string) + ("c" "" :string) + ("C" "" :string) + ("d" "" :string) + ("D" "" :string) + ("e" "" :string) + ("E" "" :string) + ("F" "" :string) + ("f" "" :string) + ("G" "" :string) + ("g" "" :string) + ("H" "" :string) + ("h" "" :string) + ("i" "" :string) + ("I" "" :string) + ("J" "" :string) + ("j" "" :string) + ("k" "" :string) + ("K" "" :string) + ("l" "" :string) + ("L" "" :string) + ("M" "" :string) + ("m" "" :string) + ("N" "" :string) + ("n" "" :string) + ("o" "" :string) + ("O" "" :string) + ("p" "" :string) + ("P" "" :string) + ("Q" "" :string) + ("q" "" :string) + ("R" "" :string) + ("r" "" :string) + ("s" "" :string) + ("S" "" :string) + ("T" "" :string) + ("t" "" :string) + ("u" "Ă" :string) + ("U" "Ă" :string) + ("v" "ć" :string) + ("V" "ć" :string) + ("W" "Ĉ" :string) + ("w" "Ĉ" :string) + ("X" "č" :string) + ("x" "č" :string) + ("Y" "ď" :string) + ("y" "ď" :string) + ("z" "Ē" :string) + ("Z" "Ē" :string) + )) + +(define-rule-set "pe-resolve-diacritics" + + :rules (("ط" "" :string) + ("ص" "" :string) + ("ی" "" :string) + ("م" "" :string) + ("د" "" :string) + ("ژ" "" :string) + ("ل" "" :string) + ("أ" "" :string) + ("ز" "" :string) + ("خ" "" :string) + ("ئ" "" :string) + ("ر" "" :string) + ("ت" "" :string) + ("þ" "" :string) + ("ک" "" :string) + ("ؤ" "" :string) + ("ج" "" :string) + ("ن" "" :string) + ("ق" "" :string) + ("ا" "" :string) + ("ض" "" :string) + ("ف" "" :string) + ("ظ" "" :string) + ("آ" "" :string) + ("ذ" "" :string) + ("ث" "" :string) + ("پ" "" :string) + ("س" "" :string) + ("غ" "" :string) + ("چ" "" :string) + ("ه" "" :string) + ("Þ" "" :string) + ("ب" "" :string) + ("گ" "" :string) + ("و" "" :string) + ("ع" "" :string) + ("ش" "" :string) + ("ح" "" :string) + ("É" "" :string) + ("Ç" "" :string) + ("à" "" :string) + ("ç" "" :string) + ("ð" "" :string) + ("Ð" "" :string) + ("À" "" :string) + ("Ï" "" :string) + ("ï" "" :string) + ("é" "" :string) + ("ö" "" :string) + ("Ñ" "" :string) + ("ñ" "" :string) + ("Ö" "" :string) + ("ô" "" :string) + ("Ô" "" :string) + ("È" "" :string) + ("è" "" :string) + ("Ë" "" :string) + ("ë" "" :string) + ("Ê" "" :string) + ("ê" "" :string) + ("Œ" "" :string) + ("Æ" "" :string) + ("œ" "" :string) + ("æ" "" :string) + ("V" "" :string) + ("X" "" :string) + ("Z" "" :string) + ("Q" "" :string) + ("T" "" :string) + ("z" "" :string) + ("H" "" :string) + ("j" "" :string) + ("m" "" :string) + ("o" "" :string) + ("W" "" :string) + ("B" "" :string) + ("x" "" :string) + ("h" "" :string) + ("g" "" :string) + ("w" "" :string) + ("G" "" :string) + ("f" "" :string) + ("q" "" :string) + ("t" "" :string) + ("K" "" :string) + ("S" "" :string) + ("s" "" :string) + ("r" "" :string) + ("P" "" :string) + ("b" "" :string) + ("O" "" :string) + ("F" "" :string) + ("Y" "" :string) + ("i" "" :string) + ("a" "" :string) + ("R" "" :string) + ("p" "" :string) + ("I" "" :string) + ("e" "" :string) + ("d" "" :string) + ("k" "" :string) + ("U" "" :string) + ("u" "" :string) + ("c" "" :string) + ("N" "" :string) + ("l" "" :string) + ("M" "" :string) + ("A" "" :string) + ("y" "" :string) + ("E" "" :string) + ("L" "" :string) + ("C" "" :string) + ("n" "" :string) + ("D" "" :string) + ("J" "" :string) + ("v" "" :string) + )) + +(define-rule-set "pe-resolve-case" + + :rules (("Ñ" "8" :string) + ("Ï" "8" :string) + ("À" "8" :string) + ("و" "8" :string) + ("Ö" "8" :string) + ("Þ" "8" :string) + ("È" "8" :string) + ("Ô" "8" :string) + ("ی" "8" :string) + ("Ç" "8" :string) + ("Ê" "8" :string) + ("É" "8" :string) + ("Ë" "8" :string) + ("Ð" "8" :string) + ("Œ" "89" :string) + ("Æ" "89" :string) + ("ث" "9" :string) + ("ذ" "9" :string) + ("پ" "9" :string) + ("ö" "9" :string) + ("آ" "9" :string) + ("ف" "9" :string) + ("é" "9" :string) + ("ظ" "9" :string) + ("ë" "9" :string) + ("ï" "9" :string) + ("ض" "9" :string) + ("ا" "9" :string) + ("ق" "9" :string) + ("ج" "9" :string) + ("ن" "9" :string) + ("ک" "9" :string) + ("ؤ" "9" :string) + ("ح" "9" :string) + ("ش" "9" :string) + ("ê" "9" :string) + ("ع" "9" :string) + ("گ" "9" :string) + ("ب" "9" :string) + ("ه" "9" :string) + ("چ" "9" :string) + ("ñ" "9" :string) + ("غ" "9" :string) + ("س" "9" :string) + ("ژ" "9" :string) + ("ل" "9" :string) + ("ð" "9" :string) + ("د" "9" :string) + ("م" "9" :string) + ("à" "9" :string) + ("ç" "9" :string) + ("ô" "9" :string) + ("ص" "9" :string) + ("ط" "9" :string) + ("þ" "9" :string) + ("ت" "9" :string) + ("ر" "9" :string) + ("ئ" "9" :string) + ("خ" "9" :string) + ("ز" "9" :string) + ("è" "9" :string) + ("أ" "9" :string) + ("æ" "99" :string) + ("œ" "99" :string) + ("U" "8" :string) + ("I" "8" :string) + ("R" "8" :string) + ("Y" "8" :string) + ("F" "8" :string) + ("D" "8" :string) + ("J" "8" :string) + ("C" "8" :string) + ("L" "8" :string) + ("E" "8" :string) + ("A" "8" :string) + ("M" "8" :string) + ("N" "8" :string) + ("G" "8" :string) + ("B" "8" :string) + ("W" "8" :string) + ("H" "8" :string) + ("Q" "8" :string) + ("T" "8" :string) + ("X" "8" :string) + ("Z" "8" :string) + ("V" "8" :string) + ("O" "8" :string) + ("P" "8" :string) + ("S" "8" :string) + ("K" "8" :string) + ("u" "9" :string) + ("k" "9" :string) + ("d" "9" :string) + ("e" "9" :string) + ("p" "9" :string) + ("i" "9" :string) + ("a" "9" :string) + ("v" "9" :string) + ("n" "9" :string) + ("y" "9" :string) + ("c" "9" :string) + ("l" "9" :string) + ("w" "9" :string) + ("h" "9" :string) + ("g" "9" :string) + ("x" "9" :string) + ("o" "9" :string) + ("z" "9" :string) + ("j" "9" :string) + ("m" "9" :string) + ("b" "9" :string) + ("r" "9" :string) + ("s" "9" :string) + ("t" "9" :string) + ("q" "9" :string) + ("f" "9" :string) + )) + +(define-rule-set "pe-ignore-special" + + :rules (("" "" :string) + ("«" "" :string) + ("ـ" "" :string) + ("ّ" "" :string) + ("ِ" "" :string) + ("ْ" "" :string) + ("؛" "" :string) + ("َ" "" :string) + ("ٍ" "" :string) + ("»" "" :string) + ("ٔ" "" :string) + ("ٌ" "" :string) + ("ً" "" :string) + ("،" "" :string) + ("ء" "" :string) + ("ُ" "" :string) + ("'" "" :string) + ("." "" :string) + ("!" "" :string) + ("?" "" :string) + ("-" "" :string) + ("}" "" :string) + ("{" "" :string) + )) + +(define-rule-set "pe-resolve-special" + + :rules (("" "" :string) + ("غ" "" :string) + ("ñ" "" :string) + ("چ" "" :string) + ("ب" "" :string) + ("ه" "" :string) + ("و" "" :string) + ("ع" "" :string) + ("گ" "" :string) + ("ê" "" :string) + ("ش" "" :string) + ("ن" "" :string) + ("ج" "" :string) + ("À" "" :string) + ("Ï" "" :string) + ("ؤ" "" :string) + ("ا" "" :string) + ("ق" "" :string) + ("ظ" "" :string) + ("é" "" :string) + ("ف" "" :string) + ("ï" "" :string) + ("ë" "" :string) + ("Ñ" "" :string) + ("ö" "" :string) + ("پ" "" :string) + ("ذ" "" :string) + ("ث" "" :string) + ("è" "" :string) + ("خ" "" :string) + ("Ð" "" :string) + ("ر" "" :string) + ("ئ" "" :string) + ("þ" "" :string) + ("ت" "" :string) + ("É" "" :string) + ("د" "" :string) + ("م" "" :string) + ("س" "" :string) + ("Þ" "" :string) + ("Ö" "" :string) + ("ح" "" :string) + ("ک" "" :string) + ("ض" "" :string) + ("آ" "" :string) + ("ز" "" :string) + ("أ" "" :string) + ("Ë" "" :string) + ("ص" "" :string) + ("Ê" "" :string) + ("ط" "" :string) + ("Ô" "" :string) + ("ô" "" :string) + ("Ç" "" :string) + ("ی" "" :string) + ("à" "" :string) + ("ç" "" :string) + ("ژ" "" :string) + ("ل" "" :string) + ("È" "" :string) + ("ð" "" :string) + ("œ" "" :string) + ("æ" "" :string) + ("Æ" "" :string) + ("Œ" "" :string) + ("ّ" "" :string) + ("َ" "" :string) + ("ِ" "" :string) + ("ُ" "" :string) + ("ً" "" :string) + ("ٍ" "" :string) + ("ٌ" "" :string) + ("ْ" "" :string) + ("ٔ" "" :string) + ("ء" "" :string) + ("«" "" :string) + ("»" "" :string) + ("ـ" "" :string) + ("،" "" :string) + ("؛" "" :string) + ("?" "" :string) + ("!" "" :string) + ("." "" :string) + ("A" "" :string) + ("E" "" :string) + ("C" "" :string) + ("n" "" :string) + ("D" "" :string) + ("R" "" :string) + ("p" "" :string) + ("a" "" :string) + ("i" "" :string) + ("I" "" :string) + ("u" "" :string) + ("U" "" :string) + ("f" "" :string) + ("q" "" :string) + ("K" "" :string) + ("S" "" :string) + ("r" "" :string) + ("V" "" :string) + ("j" "" :string) + ("W" "" :string) + ("o" "" :string) + ("T" "" :string) + ("x" "" :string) + ("w" "" :string) + ("g" "" :string) + ("h" "" :string) + ("y" "" :string) + ("N" "" :string) + ("l" "" :string) + ("c" "" :string) + ("M" "" :string) + ("L" "" :string) + ("v" "" :string) + ("J" "" :string) + ("F" "" :string) + ("Y" "" :string) + ("k" "" :string) + ("e" "" :string) + ("d" "" :string) + ("s" "" :string) + ("t" "" :string) + ("P" "" :string) + ("O" "" :string) + ("b" "" :string) + ("Z" "" :string) + ("X" "" :string) + ("m" "" :string) + ("z" "" :string) + ("H" "" :string) + ("Q" "" :string) + ("B" "" :string) + ("G" "" :string) + ("-" "" :string) + ("'" "" :string) + ("{" "" :string) + ("}" "" :string) + )) + |