all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob ca06e61bfa395569570ce6b8558efa94eeb927b2 37791 bytes (raw)
name: lisp/leim/quail/iroquoian.el 	 # note: path name is non-authoritative(*)

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
 
;;; iroquoian.el --- Quail packages for inputting Iroquoian languages  -*- lexical-binding: t; coding: utf-8; -*-

;; Copyright (C) 2024  Free Software Foundation, Inc.

;; Author: Kierin Bell <fernseed@fernseed.me>
;; Keywords: i18n

;; This file is part of GNU Emacs.

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:

;; This file implements input methods for Northern Iroquoian languages.

;; Input methods are implemented for all Five Nations Iroquois
;; languages:

;; - Mohawk (Kanien’kéha / Onkwehonwehnéha)
;; - Oneida (Onʌyota:ká: / Ukwehuwehnéha)
;; - Onondaga (Onųdaʔgegáʔ)
;; - Cayuga (Gayogo̱ho:nǫhnéha:ˀ)
;; - Seneca (Onödowá’ga:’)

;; A composite input method for all of the languages above is also
;; defined: `haudenosaunee-postfix'.

;; Input methods are not yet implemented for the remaining Northern
;; Iroquoian languages, including:

;; - Tuscarora (Skarù:ręʔ)
;; - Wendat (Huron) / Wyandot

;;; Code:

(require 'quail)
(require 'seq)
(require 'pcase)

\f
;;; Mohawk

;;
;; There are several orthographies used today to write Mohawk in
;; different communities, but differences are small and mainly involve
;; differences in representation of the palatal glide [j] (written <i>
;; in Eastern/Central dialects and <y> in Western dialects).  The
;; following input method should work for all of variants.
;;
;; Reference work for orthographies used by speakers of Eastern
;; (Kahnawà:ke, Kanehsatà:ke, Wáhta) and Central (Ahkwesahsne) dialects
;; of Mohawk:
;;
;; Lazore, Dorothy Karihwénhawe. 1993. The Mohawk language
;; Standardisation Project, Conference Report. Ontario: Literacy
;; Ontario.
;;
;; Reference work for the orthography commonly used by speakers of
;; Western dialects of Mohawk (Tyendinaga, Ohswé:ken):
;;
;; Brian Maracle. 2021. 1st Year Adult Immersion Program 2020-21.
;; Ohsweken, ON, Canada: Onkwawenna Kentyohkwa.  Unpublished curriculum
;; document written by staff for the Okwawenna Kentyohkwa adult
;; immersion program.
;;

(defconst iroquoian-mohawk-modifier-alist nil
  "Alist of rules for modifier letters in Mohawk input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-mohawk-vowel-alist
  '(("a'")
    ("a`")
    ("A'")
    ("A`")
    ("e'")
    ("e`")
    ("E'")
    ("E`")
    ("i'")
    ("i`")
    ("I'")
    ("I`")
    ("o'")
    ("o`")
    ("O'")
    ("O`")

    ("a''" ["a'"])
    ("a``" ["a`"])
    ("A''" ["A'"])
    ("A``" ["A`"])
    ("e''" ["e'"])
    ("e``" ["e`"])
    ("E''" ["E'"])
    ("E``" ["E`"])
    ("i''" ["i'"])
    ("i``" ["i`"])
    ("I''" ["I'"])
    ("I``" ["I`"])
    ("o''" ["o'"])
    ("o``" ["o`"])
    ("O''" ["O'"])
    ("O``" ["O`"]))
  "Alist of rules for vowel letters in Mohawk input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-mohawk-consonant-alist
  '((";;" ?\N{RIGHT SINGLE QUOTATION MARK}))
  "Alist of rules for consonant letters in Mohawk input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "mohawk-postfix" "Mohawk" "MOH<" nil
 "Mohawk (Kanien’kéha) input method with postfix modifiers

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á |
| \\=`    | Grave accent | a` -> à |

Doubling any of these postfixes separates the letter and the postfix.

Vowels:

a, e, i, and o are bound to a single key.

Consonants:

| Key | Translation | Description  |
|-----+-------------+--------------|
| ;;  | \\=’           | Glottal stop |

h, k, n, r, s, t, w, and y are bound to a single key.

b, m, and p are used rarely in ideophones and loan words.  They are also
each bound to a single key.

All Haudenosaunee languages, including Mohawk, can be input
simultaneously using the input method `haudenosaunee-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-mohawk-modifier-alist
                       iroquoian-mohawk-consonant-alist
                       iroquoian-mohawk-vowel-alist))
  (quail-defrule key trans))

\f
;;; Oneida

;;
;; There are slight variations in the orthographies used today to write
;; Oneida.  The differences mainly involve in representation of vowel
;; length and glottal stops.
;;
;; Reference work for Oneida orthography:
;;
;; Michelson, K., Doxtator, M. and Doxtator, M.A.. 2002.
;; Oneida-English/English-Oneida dictionary. Toronto: University of
;; Toronto Press.
;;
;; Orthographic variation from personal familiarity with community
;; language programs and curricula.
;;

(defconst iroquoian-oneida-modifier-alist
  '(("::" ?\N{MIDDLE DOT}))
  "Alist of rules for modifier letters in Oneida input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-oneida-vowel-alist
  '(("a'")
    ("A'")
    ("e'")
    ("E'")
    ("i'")
    ("I'")
    ("o'")
    ("O'")
    ("u'")
    ("U'")
    ("e/")
    ("e/'" ["ʌ́"])
    ("E/")
    ("E/'" ["Ʌ́"])

    ("a''" ["a'"])
    ("A''" ["A'"])
    ("e''" ["e'"])
    ("E''" ["E'"])
    ("i''" ["i'"])
    ("I''" ["I'"])
    ("o''" ["o'"])
    ("O''" ["O'"])
    ("u''" ["u'"])
    ("U''" ["U'"])
    ("e//" ["e/"])
    ("e/''" ["ʌ'"])
    ("E//" ["E/"])
    ("E/''" ["Ʌ'"]))
  "Alist of rules for vowel letters in Oneida input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-oneida-consonant-alist
  '((";;" ?\N{MODIFIER LETTER GLOTTAL STOP})
    (";'" ?\N{RIGHT SINGLE QUOTATION MARK}))
  "Alist of rules for consonant letters in Oneida input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-oneida-devoicing-alist
  '(("_" ?\N{COMBINING LOW LINE})
    ("__" ?_))
  "Alist of rules for devoicing characters in Oneida input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "oneida-postfix" "Oneida" "ONE<" nil
 "Oneida (Onʌyota:ká:) input method with postfix modifiers

Modifiers:

| Key | Translation | Description              |
|-----+-------------+--------------------------|
| ::  | ·           | Vowel length             |

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á |

Doubling the postfix separates the letter and the postfix.

Vowels:

| Key | Translation | Description                       |
|-----+-------------+-----------------------------------|
| e/  | ʌ           | Mid central nasal vowel           |
| E/  | Ʌ           | Mid central nasal vowel (capital) |

a, e, i, o, and u are bound to a single key.

Consonants:

| Key | Translation | Description              |
|-----+-------------+--------------------------|
| ;;  | ˀ           | Glottal stop             |
| ;\\='  | \\=’           | Glottal stop (alternate) |

h, k, l, n, s, t, w, and y are bound to a single key.

Devoicing:

| Key | Description        | Example  |
|-----+--------------------+----------|
| _   | Combining low line | a_ -> a̲ |

Note: Not all fonts can properly display a combining low line on all
letters.

Underlining is commonly used in Oneida to indicate devoiced syllables on
pre-pausal forms (also called utterance-final forms).  Alternatively,
markup or other methods can be used to create an underlining effect.

To enter a plain underscore, type the underscore twice.

All Haudenosaunee languages, including Oneida, can be input
simultaneously using the input method `haudenosaunee-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-oneida-modifier-alist
                       iroquoian-oneida-consonant-alist
                       iroquoian-oneida-vowel-alist
                       iroquoian-oneida-devoicing-alist))
  (quail-defrule key trans))

\f
;;; Onondaga

;;
;; There are three main orthographies for Onondaga in contemporary use:
;; the community orthography used at Six Nations of the Grand River, the
;; community orthography used at Onondaga Nation in New York, and the
;; orthography used by Hanni Woodbury in her 2003 dictionary (see
;; below).  The latter is included because of its adoption in academia
;; and also by some contemporary second-language learners.
;; Additionally, Woodbury's dictionary provides a helpful description of
;; the community orthographies that is still applicable today.
;;
;; The differences between the orthographies are small, involving
;; representation of nasal vowels (ęand ǫat Six Nations of the Grand
;; River, eñ and oñ at Onondaga in New York, and ęand ųfollowing
;; Woodbury's dictionary), the low front rounded vowel (äat Six Nations
;; and Onondaga Nation and æ following Woodbury), vowel length (:
;; [colon] after a vowel in community orthographies and · [middle dot]
;; following Woodbury), and glottal stops (’ [right single quotation
;; mark] in community orthographies and ʔ [latin letter glottal stop]
;; following Woodbury).  The input method here aims to accommodate all
;; three of these orthographies.
;;
;; Reference work for Onondaga orthography:
;;
;; Hanni Woodbury. 2003. Onondaga-English/English-Onondaga
;; Dictionary. Toronto: University of Toronto Press.
;;

(defconst iroquoian-onondaga-modifier-alist
  '(("::" ?\N{MIDDLE DOT}))
  "Alist of rules for modifier letters in Onondaga input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-onondaga-vowel-alist
  '(("a'")
    ("A'")
    ("e'")
    ("E'")
    ("i'")
    ("I'")
    ("o'")
    ("O'")
    ("e,")
    ("e,'" ["ę́"])
    ("E,")
    ("E,'" ["Ę́"])
    ("o,")
    ("o,'" ["ǫ́"])
    ("O,")
    ("O,'" ["Ǫ́"])
    ("a\"")
    ("a\"'" ["ä́"])
    ("A\"")
    ("A\"'" ["Ä́"])
    ;; From Woodbury (2003) orthography:
    ("a/")
    ("a/'" ["ǽ"])
    ("A/")
    ("A/'" ["Ǽ"])
    ("u,")
    ("u,'" ["ų́"])
    ("U,")
    ("U,'" ["Ų́"])

    ("a''" ["a'"])
    ("A''" ["A'"])
    ("e''" ["e'"])
    ("E''" ["E'"])
    ("i''" ["i'"])
    ("I''" ["I'"])
    ("o''" ["o'"])
    ("O''" ["O'"])
    ("e,," ["e,"])
    ("e,''" ["ę'"])
    ("E,," ["E,"])
    ("E,''" ["Ę'"])
    ("o,," ["o,"])
    ("o,''" ["ǫ'"])
    ("O,," ["O,"])
    ("O,''" ["Ǫ'"])
    ("a\"\"" ["a\""])
    ("a\"''" ["ä'"])
    ("A\"\"" ["A\""])
    ("A\"''" ["Ä'"])
    ("a//" ["a/"])
    ("a/''" ["æ'"])
    ("A//" ["A/"])
    ("A/''" ["Æ'"])
    ("u,," ["u,"])
    ("u,''" ["ų'"])
    ("U,," ["U,"])
    ("U,''" ["Ų'"]))
  "Alist of rules for vowel letters in Onondaga input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-onondaga-consonant-alist
  '((";;" ?\N{RIGHT SINGLE QUOTATION MARK})
    (";:" ?\N{LATIN LETTER GLOTTAL STOP}))
  "Alist of rules for consonant letters in Onondaga input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-onondaga-nasal-alist
  '(("n-")
    ("n--" ["n-"])
    ("N-")
    ("N--" ["N-"]))
  "Alist of rules for nasal modifier letters in Onondaga input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "onondaga-postfix" "Onondaga" "ONO<" nil
 "Onondaga (Onųdaʔgegáʔ) input method with postfix modifiers

Modifiers:

| Key | Translation | Description              |
|-----+-------------+--------------------------|
| ::  | ·           | Vowel length (alternate) |

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á |

Doubling the postfix separates the letter and the postfix.

Vowels:

| Key | Translation | Description                           |
|-----+-------------+---------------------------------------|
| Six Nations of the Grand River orthography                |
|-----------------------------------------------------------|
| e,  | ę | Mid front nasal vowel                           |
| E,  | Ę | Mid front nasal vowel (capital)                 |
| o,  | ǫ | Back high nasal vowel                           |
| O,  | Ǫ | Back high nasal vowel (capital)                 |
| a\"  | ä | Low front rounded vowel                         |
| A\"  | Ä | Low front rounded vowel (capital)               |
|-----------------------------------------------------------|
| Onondaga Nation, New York orthography                     |
|-----------------------------------------------------------|
| en- | eñ | Mid front nasal vowel                          |
| EN- | EÑ | Mid front nasal vowel (capital)                |
| on- | oñ | Back high nasal vowel                          |
| ON- | OÑ | Back high nasal vowel (capital)                |
| a\"  | ä  | Low front rounded vowel                        |
| A\"  | Ä  | Low front rounded vowel (capital)              |
|-----------------------------------------------------------|
| Dictionary orthography (Hanni Woodbury, 2003)             |
|-----------------------------------------------------------|
| e, | ę | Mid front nasal vowel                            |
| E, | Ę | Mid front nasal vowel (capital)                  |
| u, | ų | Back high nasal vowel                            |
| U, | Ų | Back high nasal vowel (capital)                  |
| a/ | æ | Low front rounded vowel                          |
| A/ | Æ | Low front rounded vowel (capital)                |

a, e, i, and o are bound to a single key.

Consonants:

| Key | Translation | Description              |
|-----+-------------+--------------------------|
| ;;  | \\=’           | Glottal stop             |
| ;:  | ʔ           | Glottal stop (alternate) |

c, d, g, h, j, k, n, s, t, w, and y are bound to a single key.

All Haudenosaunee languages, including Onondaga, can be input
simultaneously using the input method `haudenosaunee-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-onondaga-modifier-alist
                       iroquoian-onondaga-consonant-alist
                       iroquoian-onondaga-nasal-alist
                       iroquoian-onondaga-vowel-alist))
  (quail-defrule key trans))

\f
;;; Cayuga

;;
;; The primary community orthography used for the Cayuga language is
;; called the Henry orthography, after important language revitalist
;; Reginald Henry.  There are slight variations, particularly in which
;; letter is used to represent the glottal stop.  While the most common
;; seems to be <ˀ> [modifier letter glottal stop], this input method
;; provides mappings for other glottal stop letters in common use.
;; Other common orthographies should be covered by this input method as
;; well.
;;
;; Reference work for Cayuga orthography:
;;
;; Carrie Dyck, Frances Froman, Alfred Keye & Lottie Keye. 2024. A
;; grammar and dictionary of Gayogo̱hó:nǫˀ (Cayuga) (Estudios de
;; Lingüística Amerindia 1).  Berlin: Language Science Press.
;;

(defconst iroquoian-cayuga-modifier-alist nil
  "Alist of rules for modifier letters in Cayuga input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-cayuga-vowel-alist
  '(("a'")
    ("a-" ["a̱"])
    ("A'")
    ("A-" ["A̱"])
    ("e'")
    ("e-" ["e̱"])
    ("E'")
    ("E-" ["E̱"])
    ("i'")
    ("i-" ["i̱"])
    ("I'")
    ("I-" ["I̱"])
    ("o'")
    ("o-" ["o̱"])
    ("O'")
    ("O-" ["O̱"])
    ("u'")
    ("u-" ["u̱"])
    ("U'")
    ("U-" ["U̱"])
    ("e,")
    ("e,'" ["ę́"])
    ("e,-" ["ę̱"])
    ("E,")
    ("E,'" ["Ę́"])
    ("E,-" ["Ę̱"])
    ("o,")
    ("o,'" ["ǫ́"])
    ("o,-" ["ǫ̱"])
    ("O,")
    ("O,'" ["Ǫ́"])
    ("O,-" ["Ǫ̱"])

    ("a''" ["a'"])
    ("a--" ["a-"])
    ("A''" ["A'"])
    ("A--" ["A-"])
    ("e''" ["e'"])
    ("e--" ["e-"])
    ("E''" ["E'"])
    ("E--" ["E-"])
    ("i''" ["i'"])
    ("i--" ["i-"])
    ("I''" ["I'"])
    ("I--" ["I-"])
    ("o''" ["o'"])
    ("o--" ["o-"])
    ("O''" ["O'"])
    ("O--" ["O-"])
    ("u''" ["u'"])
    ("u--" ["u-"])
    ("U''" ["U'"])
    ("U--" ["U-"])
    ("e,," ["e,"])
    ("e,''" ["ę'"])
    ("e,--" ["ę-"])
    ("E,," ["E,"])
    ("E,''" ["Ę'"])
    ("E,--" ["Ę-"])
    ("o,," ["o,"])
    ("o,''" ["ǫ'"])
    ("o,--" ["ǫ-"])
    ("O,," ["O,"])
    ("O,''" ["Ǫ'"])
    ("O,--" ["Ǫ-"]))
  "Alist of rules for vowel letters in Cayuga input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-cayuga-consonant-alist
  '((";;" ?\N{MODIFIER LETTER GLOTTAL STOP})
    (";'" ?\N{RIGHT SINGLE QUOTATION MARK}))
  "Alist of rules for consonant letters in Cayuga input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "cayuga-postfix" "Cayuga" "CAY<" nil
 "Cayuga (Gayogo̱ho:nǫhnéha:ˀ) input method with postfix modifiers

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á |

Doubling the postfix separates the letter and the postfix.

Vowels:

| Key | Translation | Description                     |
|-----+-------------+---------------------------------|
| e,  | ę           | Mid front nasal vowel           |
| E,  | Ę           | Mid front nasal vowel (capital) |
| o,  | ǫ           | Mid back nasal vowel            |
| O,  | Ǫ           | Mid back nasal vowel (capital)  |

a, e, i, o, and u are bound to a single key.

Consonants:

| Key   | Translation | Description              |
|-------+-------------+--------------------------|
| ;;    | ˀ            | Glottal stop             |
| ;\\='    | \\=’           | Glottal stop (alternate) |

d, g, h, j, k, n, r, s, t, w, y, and f are bound to a single key.

Devoicing:

| Key | Description            | Example  |
|-----+------------------------+----------|
| -   | Combining macron below | a- -> a̱ |

Note: Not all fonts can properly display a combining macron low on all
vowels.

To enter a plain hyphen after a vowel, simply type the hyphen twice.

All Haudenosaunee languages, including Cayuga, can be input
simultaneously using the input method `haudenosaunee-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-cayuga-modifier-alist
                       iroquoian-cayuga-consonant-alist
                       iroquoian-cayuga-vowel-alist))
  (quail-defrule key trans))

\f
;;; Seneca

;;
;; The orthography for the Seneca language is fairly stable with only
;; minor variations, for example, <sy> vs. <š> (currently preferred in
;; community orthography) for the voiceless postalveolar fricative.
;;
;; In the common community orthography, I'm told that acute and grave
;; accents occur rarely and only on nasal vowels (personal
;; communication).  However, in works by Wallace Chafe, stress is
;; indicated on non-nasal vowels, as well.  The maximal set of letters
;; with accent diacritics is included for the input method, even though
;; many of them apparently don't occur in community orthographies.
;;
;; Reference works for Seneca orthography:
;;
;; Phyllis E. Wms. Bardeau. 2002. Onondowa'ga:' Gawe:no': New Reference
;; Edition. Salamanca, NY: The Seneca Nation of Indians Allegany
;; Education Department.
;;
;; Wallace Chafe. 2015. A Grammar of the Seneca Language. Oakland, CA:
;; University of California Press.
;;

(defconst iroquoian-seneca-modifier-alist nil
  "Alist of rules for modifier letters in Seneca input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-seneca-vowel-alist
  '(("a'")
    ("a`")
    ("A'")
    ("A`")
    ("e'")
    ("e`")
    ("E'")
    ("E`")
    ("i'")
    ("i`")
    ("I'")
    ("I`")
    ("o'")
    ("o`")
    ("O'")
    ("O`")
    ("a\"")
    ("a\"'" ["ä́"])
    ("a\"`" ["ä̀"])
    ("A\"")
    ("A\"'" ["Ä́"])
    ("A\"`" ["Ä̀"])
    ("e\"")
    ("e\"'" ["ë́"])
    ("e\"`" ["ë̀"])
    ("E\"")
    ("E\"'" ["Ë́"])
    ("E\"`" ["Ë̀"])
    ("o\"")
    ("o\"'" ["ö́"])
    ("o\"`" ["ö̀"])
    ("O\"")
    ("O\"'" ["Ö́"])
    ("O\"`" ["Ö̀"])
    ;; Rare (e.g., niwú’u:h 'it is tiny' [Chafe 2015]):
    ("u'")
    ("u`")
    ("U'")
    ("U`")

    ("a''" ["a'"])
    ("a``" ["a`"])
    ("A''" ["A'"])
    ("A``" ["A`"])
    ("e''" ["e'"])
    ("e``" ["e`"])
    ("E''" ["E'"])
    ("E``" ["E`"])
    ("i''" ["i'"])
    ("i``" ["i`"])
    ("I''" ["I'"])
    ("I``" ["I`"])
    ("o''" ["o'"])
    ("o``" ["o`"])
    ("O''" ["O'"])
    ("O``" ["O`"])
    ("a\"\"" ["a\""])
    ("a\"''" ["ä'"])
    ("a\"``" ["ä`"])
    ("A\"\"" ["A\""])
    ("A\"''" ["Ä'"])
    ("A\"``" ["Ä`"])
    ("e\"\"" ["e\""])
    ("e\"''" ["ë'"])
    ("e\"``" ["ë`"])
    ("E\"\"" ["E\""])
    ("E\"''" ["Ë'"])
    ("E\"``" ["Ë`"])
    ("o\"\"" ["o\""])
    ("o\"''" ["ö'"])
    ("o\"``" ["ö`"])
    ("O\"\"" ["O\""])
    ("O\"''" ["Ö'"])
    ("O\"``" ["Ö`"])
    ("u''" ["u'"])
    ("u``" ["u`"])
    ("U''" ["U'"])
    ("U``" ["U`"]))
  "Alist of rules for vowel letters in Seneca input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-seneca-consonant-alist
  '((";;" ?\N{RIGHT SINGLE QUOTATION MARK})
    ("s/")
    ("s//" ["s/"])
    ("S/")
    ("S//" ["S/"]))
  "Alist of rules for consonant letters in Seneca input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "seneca-postfix" "Seneca" "SEE<" nil
 "Seneca (Onödowá’ga:’) input method with postfix modifiers

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á|
| \\=`    | Grave accent | a` -> à|

Doubling any of these postfixes separates the letter and the postfix.

Vowels:

| Key | Translation | Description                        |
|-----+-------------+------------------------------------|
| e\"  | ë           | Mid front nasal vowel              |
| E\"  | Ë           | Mid front nasal vowel (capital)    |
| o\"  | ö           | Low-mid back nasal vowel           |
| O\"  | Ö           | Low-mid back nasal vowel (capital) |
| a\"  | ä           | Low front vowel                    |
| A\"  | Ä           | Low front vowel (capital)          |

a, e, i, o, and u are bound to a single key.

Consonants:

| Key   | Translation | Description                                |
|-------+-------------+--------------------------------------------|
| ;;    | \\=’           | Glottal stop                               |
| s/    | š           | Voiceless postalveolar fricative           |
| S/    | Š           | Voiceless postalveolar fricative (capital) |

d, g, h, j, k, n, s, t, w, y, and z are bound to a single key.

b, m, and p are used rarely in ideophones and nicknames.  They are also
each bound to a single key.

All Haudenosaunee languages, including Seneca, can be input
simultaneously using the input method `haudenosaunee-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-seneca-modifier-alist
                       iroquoian-seneca-consonant-alist
                       iroquoian-seneca-vowel-alist))
  (quail-defrule key trans))

\f
;;; Haudenosaunee (composite Northern Iroquoian)

;;
;; This input method represents a composite input method for all of the
;; Northern Iroquoian languages included above.
;;
;; Although the "Iroquoian languages" is a standard term employed by
;; linguists and scholars, some believe the term "Iroquois" to be of
;; derogatory origin (see Dyck 2024).  Hence, some prefer to refer to
;; what are collectively termed by linguists the "Five Nations Iroquois"
;; languages (Mohawk, Oneida, Onondaga, Cayuga, Seneca) by the autonym
;; "Haudenosaunee" (e.g., "Haudenosaunee languages").
;;
;; However, it should be noted that the term "Haudenosaunee" is itself
;; an Anglicized form, probably from Seneca Hodínöhsö:ni:h 'they make
;; houses' or Hodínöhšo:ni:h 'People of the Long House'.  Speakers of
;; Cayuga may prefer the word Hodinǫhsǫ:nih, and speakers of Mohawk may
;; prefer Rotinonhsón:ni or Rotinonhsíón:ni.  These terms themselves
;; collectively relate to the confederacy of Indigenous nations that has
;; existed in what is now known as New York State in Northeastern North
;; America for many centuries, the founding of which is retold in oral
;; tradition in the story of The Peacemaker.
;;
;; It should also be noted that while Tuscarora and Wendat languages are
;; both sometimes included under the "Haudenosaunee languages" umbrella
;; (and by implication, those groups as a part of the Haudenosaunee
;; Confederacy), the exact extent of what defines "Haudenosaunee" has
;; occasionally caused controversy.
;;
;; Additionally, some prefer to collectively refer to the "Haudenosaunee
;; languages" using the terms Onkwehonwehnéha (Mohawk), Ukwehuwehnéha
;; (Oneida), Ǫgwehǫwekhá’ (Onondaga), Ǫgwehǫwéhneha:ˀ (Cayuga), and
;; Ögwé’öwe:ka:’ (Seneca), which all mean 'in the manner of the Original
;; People'.
;;
;; Bearing all of this in mind, I have opted to retain the term
;; "Iroquoian" in the name of this file (`iroquoian.el') (and hence, in
;; the symbol names in its namespace), while using "Haudenosaunee" in
;; the name of the input method that encompasses all of the languages so
;; far implemented: "haudenosaunee-postfix" --- this is the name shown
;; as a completion candidate after users enter M-x set-input-method RET.
;; Note that those searching for input methods for the individual
;; languages should have no problem finding them knowing only their
;; Anglicized names (e.g., Mohawk, Oneida, etc.), as these have been
;; retained in the names of the corresponding input methods.
;;
;; Above all, I hope that these decisions help those who wish to speak,
;; read, and write Onkwehonwehnéha.
;;
;; Iorihowá:nen ne aiónhnheke’ ne raotiwén:na’!
;; It is important that the language continues to live!
;;

(defconst iroquoian-haudenosaunee-modifier-alist
  (seq-uniq (append iroquoian-mohawk-modifier-alist
                    iroquoian-oneida-modifier-alist
                    iroquoian-onondaga-modifier-alist
                    iroquoian-cayuga-modifier-alist
                    iroquoian-seneca-modifier-alist))
  "Alist of rules for modifier letters in Haudenosaunee input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-haudenosaunee-vowel-alist
  (seq-uniq (append iroquoian-mohawk-vowel-alist
                    iroquoian-oneida-vowel-alist
                    iroquoian-onondaga-vowel-alist
                    iroquoian-cayuga-vowel-alist
                    iroquoian-seneca-vowel-alist))
  "Alist of rules for vowel letters in Haudenosaunee input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-haudenosaunee-consonant-alist
  (seq-uniq (append
             '((";;" ?\N{RIGHT SINGLE QUOTATION MARK})
               (";'" ?\N{MODIFIER LETTER GLOTTAL STOP})
               (";:" ?\N{LATIN LETTER GLOTTAL STOP}))
             iroquoian-mohawk-consonant-alist
             iroquoian-oneida-consonant-alist
             iroquoian-onondaga-consonant-alist
             iroquoian-cayuga-consonant-alist
             iroquoian-seneca-consonant-alist)
            (lambda (c1 c2)
              (equal (car c1) (car c2))))
  "Alist of rules for consonant letters in Haudenosaunee input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-haudenosaunee-devoicing-alist
  '(("_" ?\N{COMBINING LOW LINE})
    ("__" ?_))
  "Alist of rules for devoicing characters in Haudenosaunee input methods.
Entries are as with rules in `quail-define-rules'.")

(defconst iroquoian-haudenosaunee-nasal-alist iroquoian-onondaga-nasal-alist
  "Alist of rules for nasal modifier letters in Haudenosaunee input methods.
Entries are as with rules in `quail-define-rules'.")

(quail-define-package
 "haudenosaunee-postfix" "Haudenosaunee" "HOD<" nil
 "Composite input method for Haudenosaunee (Northern Iroquoian) languages

This input method can be used to enter the following languages:

- Mohawk (Kanien’kéha / Onkwehonwehnéha)
- Oneida (Onʌyota:ká: / Ukwehuwehnéha)
- Cayuga (Gayogo̱ho:nǫhnéha:ˀ)
- Onondaga (Onųdaʔgegáʔ)
- Seneca (Onödowá’ga:’)

Modifiers:

| Key | Translation | Description              |
|-----+-------------+--------------------------|
| ::  | ·           | Vowel length (alternate) |

Stress diacritics:

| Key  | Description  | Example |
|------+--------------+---------|
| \\='    | Acute accent | a' -> á |
| \\=`    | Grave accent | a` -> à |

Doubling any of these postfixes separates the letter and the postfix.

Vowels:

| Key  | Translation | Description                                     |
|----------------------------------------------------------------------|
| Mohawk                                                               |
| -------------------------------------------------------------------- |
| Single-key vowels: a e i o                                           |
|----------------------------------------------------------------------|
| Oneida                                                               |
| -------------------------------------------------------------------- |
| e/   | ʌ           | Mid central nasal vowel                         |
| E/   | Ʌ           | Mid central nasal vowel (capital)               |
| Single-key vowels: a e i o u                                         |
|----------------------------------------------------------------------|
| Onondaga                                                             |
| (Six Nations of the Grand River)                                     |
| -------------------------------------------------------------------- |
| e,   | ę           | Mid front nasal vowel                           |
| E,   | Ę           | Mid front nasal vowel (capital)                 |
| o,   | ǫ           | Back high nasal vowel                           |
| O,   | Ǫ           | Back high nasal vowel (capital)                 |
| a\"   | ä           | Low front rounded vowel                         |
| A\"   | Ä           | Low front rounded vowel (capital)               |
| -------------------------------------------------------------------- |
| (Onondaga Nation, New York)                                          |
| -------------------------------------------------------------------- |
| en~  | eñ          | Mid front nasal vowel                           |
| EN~  | EÑ          | Mid front nasal vowel (capital)                 |
| on~  | oñ          | Back high nasal vowel                           |
| ON~  | OÑ          | Back high nasal vowel (capital)                 |
| a\"   | ä           | Low front rounded vowel                         |
| A\"   | Ä           | Low front rounded vowel (capital)               |
| -------------------------------------------------------------------- |
| (Hanni Woodbury, 2003)                                               |
| -------------------------------------------------------------------- |
| e,   | ę           | Mid front nasal vowel                           |
| E,   | Ę           | Mid front nasal vowel (capital)                 |
| u,   | ų           | Back high nasal vowel                           |
| U,   | Ų           | Back high nasal vowel (capital)                 |
| a/   | æ           | Low front rounded vowel                         |
| A/   | Æ           | Low front rounded vowel (capital)               |
| -------------------------------------------------------------------- |
| (all)                                                                |
| -------------------------------------------------------------------- |
| Single-key vowels: a e i o                                           |
|----------------------------------------------------------------------|
| Cayuga                                                               |
| -------------------------------------------------------------------- |
| e,   | ę           | Mid front nasal vowel                           |
| E,   | Ę           | Mid front nasal vowel (capital)                 |
| o,   | ǫ           | Mid back nasal vowel                            |
| O,   | Ǫ           | Mid back nasal vowel (capital)                  |
| Single-key vowels: a e i o u                                         |
|----------------------------------------------------------------------|
| Seneca                                                               |
| -------------------------------------------------------------------- |
| e\"   | ë           | Mid front nasal vowel                           |
| E\"   | Ë           | Mid front nasal vowel (capital)                 |
| o\"   | ö           | Low-mid back nasal vowel                        |
| O\"   | Ö           | Low-mid back nasal vowel (capital)              |
| a\"   | ä           | Low front vowel                                 |
| A\"   | Ä           | Low front vowel (capital)                       |
| Single-key vowels: a e i o u                                         |

Consonants:

| Key   | Translation | Description                                    |
|----------------------------------------------------------------------|
| Mohawk                                                               |
| -------------------------------------------------------------------- |
| ;;    | \\=’           | Glottal stop                                   |
| Single-key consonants: h k n r s t w y (b m p)                       |
|----------------------------------------------------------------------|
| Oneida                                                               |
| -------------------------------------------------------------------- |
| ;\\='    | ˀ           | Glottal stop                                   |
| ;;    | \\=’           | Glottal stop (alternate)                       |
| Single-key consonants: h k l n s t w y                               |
|----------------------------------------------------------------------|
| Onondaga                                                             |
| -------------------------------------------------------------------- |
| ;;    | \\=’           | Glottal stop                                   |
| ;:    | ʔ           | Glottal stop (alternate)                       |
| Single-key consonants: c d g h j k n s t w y                         |
|----------------------------------------------------------------------|
| Cayuga                                                               |
| -------------------------------------------------------------------- |
| ;\\='    | ˀ           | Glottal stop                                   |
| ;;    | \\=’           | Glottal stop (alternate)                       |
| Single-key consonants: d g h j k n r s t w y (f)                     |
|----------------------------------------------------------------------|
| Seneca                                                               |
| -------------------------------------------------------------------- |
| ;;    | \\=’           | Glottal stop                                   |
| s/    | š           | Voiceless postalveolar fricative               |
| S/    | Š           | Voiceless postalveolar fricative (capital)     |
| Single-key consonants: d g h j k n s t w y z (b m p)                 |

Devoicing:

| Key | Description            | Examples                     |
|-----+------------------------+------------------------------|
| _   | Combining low line     | a_ -> a̲, · -> ·̲           |
| -   | Combining macron below | a- -> a̱(after vowels only)  |

Note: Not all fonts can properly display a combining low line on all
letters and a combining macron below on all vowels.

Underlining is commonly used in Oneida to indicate devoiced syllables on
pre-pausal forms (also called utterance-final forms).  Alternatively,
markup or other methods can be used to create an underlining effect.

To enter a plain underscore, the underscore twice.

Macron below is commonly used in Cayuga to indicate devoiced vowels.

To enter a plain hyphen after a vowel, simply type the hyphen twice.

There are individual input methods for each of the languages that can be
entered with this input method: `mohawk-postfix', `oneida-postfix',
`onondaga-postfix', `cayuga-postfix', `seneca-postfix'."
 nil t nil nil nil nil nil nil nil nil t)

(pcase-dolist (`(,key ,trans)
               (append iroquoian-haudenosaunee-modifier-alist
                       iroquoian-haudenosaunee-consonant-alist
                       iroquoian-haudenosaunee-nasal-alist
                       iroquoian-haudenosaunee-vowel-alist
                       iroquoian-haudenosaunee-devoicing-alist))
  (quail-defrule key trans))

(provide 'iroquoian)
;;; iroquoian.el ends here

debug log:

solving ca06e61bfa3 ...
found ca06e61bfa3 in https://git.savannah.gnu.org/cgit/emacs.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.