-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathibran_change_test.rb
More file actions
executable file
·1587 lines (1391 loc) · 96.4 KB
/
ibran_change_test.rb
File metadata and controls
executable file
·1587 lines (1391 loc) · 96.4 KB
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
#!/usr/bin/ruby -w
#require 'test/unit'
require 'minitest/autorun'
require './ibran_change_steps.rb'
class IbranChangeTest < Minitest::Test
def test_zero
# work at all
quid = step_vl0('quid')
assert_equal "kwid", ipa(quid)
assert_equal "quid", quid.join
# c = k
facere = step_vl0('facēre')
assert_equal "fakere", ipa(facere)
# y = i
hymnum = step_vl0('hymnum')
assert_equal 'himnum', ipa(hymnum)
assert_equal 'himnum', hymnum.join
end
def to_vl1 str
step_vl1(step_vl0 str)
end
def test_one
# Polysyllables
causam = to_vl1('causam')
assert_equal "kausa", ipa(causam)
assert_equal "causa", causam.join
# Monosyllables
iam = to_vl1('jam')
assert_equal "jan", ipa(iam)
assert_equal "jan", iam.join
end
def to_vl2 str
step_vl2(to_vl1 str)
end
def test_two
cognoscere = to_vl2('cognoscēre')
assert_equal "konnoskere", ipa(cognoscere)
assert_equal "connoscēre", cognoscere.join
end
def to_vl3 str
step_vl3(to_vl2 str)
end
def test_three
potit = to_vl3('potit')
assert_equal "poti", ipa(potit)
assert_equal "poti", potit.join
end
def to_vl4 str
step_vl4(to_vl3 str)
end
def test_four
habere = to_vl4('habēre')
assert_equal "abere", ipa(habere)
assert_equal "abēre", habere.join
chorda = to_vl4('chordam')
assert_equal "korda", ipa(chorda)
assert_equal "corda", chorda.join
end
def to_vl5 str
step_vl5(to_vl4 str)
end
def test_five
perdiu = to_vl5("perdiū")
assert_equal "perdju", ipa(perdiu)
assert_equal "perdjū", perdiu.join
end
def to_vl6 str
step_vl6(to_vl5 str)
end
def test_six
generem = to_vl6("generem") # short penult
assert_equal "genre", ipa(generem)
assert_equal "genre", generem.join
alteramente = to_vl6("alterā mente") # heavy penult
assert_equal "altra mente", ipa(alteramente)
assert_equal "altrā mente", alteramente.join
saeculum = to_vl6("saeculum") # diphthong bug
assert_equal "saeklu", ipa(saeculum)
assert_equal "saeclu", saeculum.join
end
def to_vl7 str
step_vl7(to_vl6 str)
end
def test_seven
porticum = to_vl7("porticum")
assert_equal "portʃu", ipa(porticum)
assert_equal "porçu", porticum.join
end
def to_vl8 str
step_vl8(to_vl7 str)
end
def test_eight
test_words = [
{ w: "partem", ipa: "pɑrte", orth: "parte" },
{ w: "gentem", ipa: "gɛnte", orth: "gente" },
{ w: "caecum", ipa: "kɛku", orth: "cecu" },
{ w: "spissum", ipa: "spessu", orth: "spéssu" },
{ w: "jacēre", ipa: "jakere", orth: "jacére" },
{ w: "foedum", ipa: "fedu", orth: "fédu" },
{ w: "audīre", ipa: "audire", orth: "audire" },
{ w: "ovum", ipa: "ɔvu", orth: "ovu" },
{ w: "muttum", ipa: "mottu", orth: "móttu" },
{ w: "tōtum", ipa: "totu", orth: "tótu" },
{ w: "paucum", ipa: "poku", orth: "pócu" },
{ w: "ūnum", ipa: "unu", orth: "unu" }
]
test_words.each do |word|
xform = to_vl8 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_vl9 str
step_vl9(to_vl8 str)
end
def test_nine
test_words = [
{ w: "marrītum", ipa: "mɑrritɔ", orth: "marrito" },
{ w: "bibēre", ipa: "bɛberɛ", orth: "bebére" },
{ w: "fīcātum", ipa: "fikɑtɔ", orth: "ficato" },
{ w: "audīre", ipa: "ɔdirɛ", orth: "odire" },
{ w: "tūtāre", ipa: "tutɑrɛ", orth: "tutare" }
]
test_words.each do |word|
xform = to_vl9 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi1 str
step_oi1(to_vl9 str)
end
def test_oi_one
perdiu = to_oi1("perdiū")
assert_equal "pɛrdʒu", ipa(perdiu)
assert_equal "perju", perdiu.join
end
def to_oi2 str
step_oi2(to_oi1 str)
end
def test_oi_two
propium = to_oi2 "propium"
assert_equal "prɔtʃɔ", ipa(propium)
assert_equal "proço", propium.join
grassia = to_oi2 "grassiam"
assert_equal "grɑtʃɑ", ipa(grassia)
assert_equal "graça", grassia.join
bestiola = to_oi2 "bestjōlam"
assert_equal "bɛstʃolɑ", ipa(bestiola)
assert_equal "besçóla", bestiola.join
end
def to_oi3 str
step_oi3(to_oi2 str)
end
def test_oi_three
jocare = to_oi3 "jocāre"
assert_equal "dʒɔkɑrɛ", ipa(jocare)
assert_equal "jocare", jocare.join
end
def to_oi4 str
step_oi4(to_oi3 str)
end
def test_oi_four
cognoscere = to_oi4 "cognoscēre"
assert_equal "kɔɲɔskerɛ", ipa(cognoscere)
assert_equal "conhoscére", cognoscere.join
end
def to_oi5 str
step_oi5(to_oi4 str)
end
def test_oi_five
stella = to_oi5 "stella"
assert_equal "stɛʎɑ", ipa(stella)
assert_equal "stella", stella.join
end
def to_oi6 str
step_oi6(to_oi5 str)
end
def test_oi_six
videre = to_oi6 "vidēre"
assert_equal "vɛerɛ", ipa(videre)
assert_equal "veére", videre.join
dicere = to_oi6 "dīcēre" # was grabbing initial consonants
assert_equal "dikerɛ", ipa(dicere)
assert_equal "dicére", dicere.join
end
def to_oi7 str
step_oi7(to_oi6 str)
end
def test_oi_seven
habere = to_oi7 "habēre"
assert_equal "ɑverɛ", ipa(habere)
assert_equal "avére", habere.join
end
def to_oi8 str
step_oi8(to_oi7 str)
end
def test_oi_eight
pes = to_oi8 "pedem"
assert_equal "pɛj", ipa(pes)
assert_equal "pei", pes.join
end
def to_oi9 str
step_oi9(to_oi8 str)
end
def test_oi_nine
fides = to_oi9 "fidem"
assert_equal "fej", ipa(fides)
assert_equal "féi", fides.join
end
def to_oi10 str
step_oi10(to_oi9 str)
end
def test_oi_ten
audis = to_oi10 "audīs"
assert_equal "ojs", ipa(audis)
assert_equal "óis", audis.join
end
def to_oi11 str
step_oi11(to_oi10 str)
end
def test_oi_eleven
test_words = [
{ w: "dīcēre", ipa: "ditʃerɛ", orth: "dicére" },
{ w: "gentem", ipa: "dʒɛntɛ", orth: "gente" },
{ w: "por quid", ipa: "pɔrkɛ", orth: "porque", full_ipa: "pɔrˈkʲɛ"},
{ w: "anguilla", ipa: "ɑngeʎɑ", orth: "anguélla", full_ipa: "ɑnˈgʲeʎɑ" }
]
test_words.each do |word|
xform = to_oi11 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
assert_equal word[:full_ipa], xform.to_ipa if word[:full_ipa]
end
end
def to_oi12 str
step_oi12(to_oi11 str)
end
def test_oi_twelve
test_words = [
{ w: "locālem", ipa: "lɔkɑlɛ", orth: "locale" },
{ w: "galbīnum", ipa: "gɑlbinɔ", orth: "galbino" },
{ w: "quām", ipa: "kɑn", orth: "quan" },
{ w: "linguam", ipa: "lengɑ", orth: "léngua" }
]
test_words.each do |word|
xform = to_oi12 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi13 str
step_oi13(to_oi12 str)
end
def test_oi_thirteen
quomodo = to_oi13 'quō modō'
assert_equal "kɔmɔɔ", ipa(quomodo)
assert_equal "quomoo", quomodo.join
exstinguo = to_oi13 'extinguō'
assert_equal "ɛkstengɔ", ipa(exstinguo)
assert_equal "exténguo", exstinguo.join
end
def to_oi14 str
step_oi14(to_oi13 str)
end
def test_oi_fourteen
test_words = [
{ w: "sapēre", ipa: "sɑberɛ", orth: "sabére" },
{ w: "prophētam", ipa: "prɔvelɑ", orth: "provéla" },
{ w: "oblītāre", ipa: "ɔblilɑrɛ", orth: "oblilare" }, # This is -> obdilare in the table, doesn't match the RAW.
{ w: "veritātem", ipa: "vɛrɛlɑdɛ", orth: "verelade" },
{ w: "potem", ipa: "pɔlɛ", orth: "pole" },
{ w: "causam", ipa: "kozɑ", orth: "cósa" },
{ w: "verācum", ipa: "vɛrɑgɔ", orth: "verago" },
{ w: "locālem", ipa: "lɔgɑlɛ", orth: "logale" },
{ w: "misculātum", ipa: "mɛskɔdɑlɔ", orth: "mescodalo"},
{ w: "sequō", ipa: "sɛgɔ", orth: "seguo" }
]
test_words.each do |word|
xform = to_oi14 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi15 str
step_oi15(to_oi14 str)
end
def test_oi_fifteen
test_words = [
{ w: "aprīlem", ipa: "ɑbrilɛ", orth: "abrile" },
{ w: "mātrem", ipa: "mɑdrɛ", orth: "madre" },
{ w: "oculum", ipa: "ɔglɔ", orth: "oglo" }
]
test_words.each do |word|
xform = to_oi15 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi16 str
step_oi16(to_oi15 str)
end
def test_oi_sixteen
flor = to_oi16 "flōrem"
assert_equal "vlorɛ", ipa(flor)
assert_equal "vlóre", flor.join
end
def to_oi17 str
step_oi17(to_oi16 str)
end
def test_oi_seventeen
test_words = [
{ w: "scūppīre", ipa: "skupirɛ", orth: "scupire" },
{ w: "muttum", ipa: "motɔ", orth: "móto" },
{ w: "toccāre", ipa: "tɔkɑrɛ", orth: "tocare" },
{ w: "passāre", ipa: "pɑsɑrɛ", orth: "passare" },
{ w: "marrītum", ipa: "mɑrilɔ", orth: "marilo" }
]
test_words.each do |word|
xform = to_oi17 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi18 str
step_oi18(to_oi17 str)
end
def test_oi_eighteen
test_words = [
{ w: "factum", ipa: "fɑɛ̯tɔ", orth: "faeto" },
{ w: "pectum", ipa: "pɛjtɔ", orth: "peito" },
{ w: "cunīculum", ipa: "kɔnejlɔ", orth: "conéilo" },
{ w: "oculum", ipa: "ɔɛ̯lɔ", orth: "oelo" },
{ w: "būculum", ipa: "bojlɔ", orth: "bóilo" }
]
test_words.each do |word|
xform = to_oi18 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi19 str
step_oi19(to_oi18 str)
end
def test_oi_nineteen
test_words = [
{ w: "laxum", ipa: "lɑɛ̯sɔ", orth: "laesso" },
{ w: "mixtum", ipa: "mɛjstɔ", orth: "meisto" },
{ w: "salsīciam", ipa: "sɑssiʃʃɑ", orth: "sassisça" },
{ w: "coxam", ipa: "kɔɛ̯sɑ", orth: "coessa" },
{ w: "dūcem", ipa: "duʃʃɛ", orth: "dusce" },
{ w: "eccistum", ipa: "ɛttʃestɔ", orth: "eccésto" }
#{ w: "pensāre", ipa: "pɛssɑrɛ", orth: "pessare" } # Pensare no longer a good example, becomes pēsare earlier
]
test_words.each do |word|
xform = to_oi19 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi20 str
step_oi20(to_oi19 str)
end
def test_oi_twenty
test_words = [
{ w: "volēre", ipa: "valerɛ", orth: "vàlére" },
{ w: "aucellam", ipa: "ɔʃʃɛʎɑ", orth: "oscella" },
{ w: "scūppīre", ipa: "skœpirɛ", orth: "squeupire" }
]
test_words.each do |word|
xform = to_oi20 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi21 str
step_oi21(to_oi20 str)
end
def test_oi_twenty_one
test_words = [
{ w: "montāneam", ipa: "mɔntaɲɑ", orth: "montànha" },
{ w: "illum", ipa: "iʎɔ", orth: "illo" },
{ w: "collum", ipa: "kœʎɔ", orth: "queullo" }
]
test_words.each do |word|
xform = to_oi21 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi22 str
step_oi22(to_oi21 str)
end
def test_oi_twenty_two
test_words = [
{ w: "caldāriam", ipa: "kɑldarɑ", orth: "caldàira" },
{ w: "imperium", ipa: "ɛmpɛrɔ", orth: "empeiro" },
{ w: "glōria", ipa: "glœrɑ", orth: "gleura" }
]
test_words.each do |word|
xform = to_oi22 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi23 str
step_oi23(to_oi22 str)
end
def test_oi_twenty_three
grandis = to_oi23 "grandem"
assert_equal "grandɛ", ipa(grandis)
assert_equal "grànde", grandis.join
end
def to_oi24 str
step_oi24(to_oi23 str)
end
def test_oi_twenty_four
test_words = [
{ w: "tempus", ipa: "tjɛmpɔs", orth: "tiempos" },
{ w: "sapēre", ipa: "sɑbjerɛ", orth: "sabiére" },
{ w: "longum", ipa: "lwɛngɔ", orth: "luengo" },
{ w: "dē post", ipa: "dɛbɔjs", orth: "debois" },
{ w: "causam", ipa: "kuzɑ", orth: "cuosa" },
{ w: "caecum", ipa: "tʃɛgɔ", orth: "cego" },
{ w: "muljērem", ipa: "maʎerɛ", orth: "màllére" },
{ w: "gustum", ipa: "gustɔ", orth: "guosto" }
]
test_words.each do |word|
xform = to_oi24 word[:w]
assert_equal word[:ipa], ipa(xform)
assert_equal word[:orth], xform.join
end
end
def to_oi25 str
step_oi25(to_oi24 str)
end
def test_oi_twenty_five
furnus = to_oi25 "furnum"
assert_equal "hornɔ", ipa(furnus)
assert_equal "hórno", furnus.join
end
def to_oi26 str
step_oi26(to_oi25 str)
end
def test_oi_twenty_six
unus = to_oi26 "ūnum"
assert_equal "un", ipa(unus)
assert_equal "un", unus.join
radix = to_oi26 "rādīcem"
assert_equal "raiʃʃə", ipa(radix)
assert_equal "ràisce", radix.join
piscis = to_oi26 "piscem"
assert_equal "pjestʃə", ipa(piscis)
assert_equal "piésce", piscis.join
aut = to_oi26 "aut"
assert_equal "ɔ", ipa(aut)
assert_equal "o", aut.join
end
def to_oi27 str
step_oi27(to_oi26 str)
end
def test_oi_twenty_seven
causa = to_oi27 "causam"
assert_equal "kuzə", ipa(causa)
assert_equal "cuose", causa.join
bucca = to_oi27 "buccam"
assert_equal "bukə", ipa(bucca)
assert_equal "buoque", bucca.join
end
def to_oi28 str
step_oi28(to_oi27 str)
end
def test_oi_twenty_eight
ornamentum = to_oi28 "ornāmentum"
assert_equal "ɔrnəmjɛnt", ipa(ornamentum)
assert_equal "ornemient", ornamentum.join
end
def to_oi29 str
step_oi29(to_oi28 str)
end
def test_oi_twenty_nine
veritas = to_oi29 "veritātem"
assert_equal "vɛrlɑd", ipa(veritas)
assert_equal "verlad", veritas.join
placeamus = to_oi29 "placēāmus"
assert_equal "plɑʃʃɑms", ipa(placeamus)
assert_equal "plasçams", placeamus.join
placessemus = to_oi29 "placēssēmus"
assert_equal "plɑʃʃəsems", ipa(placessemus)
assert_equal "plascesséms", placessemus.join
misculatus = to_oi29 "misculātum"
assert_equal "mɛskədɑl", ipa(misculatus)
assert_equal "mesquedal", misculatus.join
end
def to_oix2 str
step_oix2(to_oi29 str) # skipping OIx1 for now
end
def test_oi_ecksty_two
historia = to_oix2 "historiam"
assert_equal "stœr", ipa(historia)
assert_equal "steur", historia.join
infans = to_oix2 "infantem"
assert_equal "əmfɑnt", ipa(infans)
assert_equal "enfant", infans.join
end
def to_oix3 str
step_oix3(to_oix2 str)
end
def test_oi_ecksty_three
imperium = to_oix3 "imperium"
assert_equal "əw̃pɛr", ipa(imperium)
assert_equal "eũpeir", imperium.join
end
def to_oix4 str
step_oix4(to_oix3 str)
end
def test_oi_ecksty_four
caldaria = to_oix4 "caldāriam"
assert_equal "kɑwdar", ipa(caldaria)
assert_equal "caudàir", caldaria.join
arbor = to_oix4 "arborem"
assert_equal "ɑwrrə", ipa(arbor)
assert_equal "aurre", arbor.join
serpens = to_oix4 "serpentem"
assert_equal "sɛrpjɛnt", ipa(serpens)
assert_equal "serpient", serpens.join
end
def to_oix5 str
step_oix5(to_oix4 str)
end
def test_oi_ecksty_five
caldaria = to_oix5 "caldāriam"
assert_equal "kodar", ipa(caldaria)
assert_equal "caudàir", caldaria.join
end
def to_oix6 str
step_oix6(to_oix5 str)
end
def test_oi_ecksty_six
maritus = to_oix6 "marītum"
assert_equal "mɑry", ipa(maritus)
assert_equal "mariu", maritus.join
end
def to_oix7 str
step_oix7(to_oix6 str)
end
def test_oi_ecksty_seven
tempus = to_oix7 "tempum"
assert_equal "tjɛw̃", ipa(tempus)
assert_equal "tiew̃", tempus.join
end
def to_CI1 str
step_ci1(to_oix7 str)
end
def to_CI2 str
step_ci2(to_CI1 str)
end
def to_CI3 str
step_ci3(to_CI2 str)
end
def test_CI3
sanguis = to_CI3 "sanguem"
assert_equal "zɑ̃g", ipa(sanguis)
assert_equal "sang", sanguis.join
semen = to_CI3 "sēminem"
assert_equal "zønə", ipa(semen)
assert_equal "séũne", semen.join
vermis = to_CI3 "vermem"
assert_equal "vjœr", ipa(vermis)
assert_equal "vieũr", vermis.join
end
def to_CI4 str
step_ci4(to_CI3 str)
end
def to_CI5 str
step_ci5(to_CI4 str)
end
def to_CI6 str
step_ci6(to_CI5 str)
end
def to_ci7 str
step_ci7(to_CI6 str)
end
def to_CI8 str
step_ci8(to_ci7 str)
end
def test_CI8
herba = to_CI8 "herbam"
assert_equal "jɛrbə", ipa(herba)
assert_equal "yerbe", herba.join
end
def to_ri1 str
step_ri1(to_CI8 str)
end
def to_ri2 str
step_ri2(to_ri1 str)
end
def test_ri2
folia = to_ri2 "foliam"
assert_equal "hœʝə", ipa(folia)
assert_equal "heulle", folia.join
end
def to_ri3 str
step_ri3(to_ri2 str)
end
def to_ri4 str
step_ri4(to_ri3 str)
end
def to_ri5 str
step_ri5(to_ri4 str)
end
def to_ri6 str
step_ri6(to_ri5 str)
end
def to_ri7 str
step_ri7(to_ri6 str)
end
def to_ri8 str
step_ri8(to_ri7 str)
end
def to_ri9 str
step_ri9(to_ri8 str)
end
def to_ri10 str
step_ri10(to_ri9 str)
end
def test_ri10
placeant = to_ri10 "placēant"
assert_equal "plɑʒʒe", ipa(placeant)
assert_equal "plascéen", placeant.join
end
def to_ri11 str
step_ri11(to_ri10 str)
end
def to_ri12 str
step_ri12(to_ri11 str)
end
def to_ri13 str
step_ri13(to_ri12 str)
end
def to_ri14 str
step_ri14(to_ri13 str)
end
def to_ri_cyrl str
cyrillize(to_ri14 str)
end
def test_cyrillic
que = to_ri_cyrl("quid")
assert_equal "ч", que
end
def to_pi1 str
step_pi1(to_CI8 str)
end
def to_pi2 str
step_pi2(to_pi1 str)
end
def to_pi3 str
step_pi3(to_pi2 str)
end
def test_pi3
piscis = to_pi3 "piscem"
assert_equal "pjɛçə", ipa(piscis)
assert_equal "piêce", piscis.join
end
def to_pi4 str
step_pi4(to_pi3 str)
end
def test_pi4
mulier = to_pi4 "muljērem"
assert_equal "mæir", ipa(mulier)
assert_equal "màyr", mulier.join
end
def to_pi5 str
step_pi5(to_pi4 str)
end
def test_pi5
sentire = to_pi5 "sentīre"
assert_equal "zə̃tir", ipa(sentire)
assert_equal "sentir", sentire.join
placessemus = to_pi5 "placēssēmus"
assert_equal "pləʒʒəzøs", ipa(placessemus)
assert_equal "plascesséũs", placessemus.join
end
def to_pi6 str
step_pi6(to_pi5 str)
end
def test_pi6
que = to_pi6 "quid"
assert_equal "tʃə", ipa(que)
assert_equal "che", que.join
end
def to_pi7 str
step_pi7(to_pi6 str)
end
def to_pi8 str
step_pi8(to_pi7 str)
end
def to_pi9 str
step_pi9(to_pi8 str)
end
def test_pi9
fructus = to_pi9 "frūctum"
assert_equal "vrɔjt", ipa(fructus)
assert_equal "vroit", fructus.join
end
def to_pi10 str
step_pi10(to_pi9 str)
end
def test_consistency
latin_words = [
{ w: "ab ante", RI_IPA: "ɑˈvɑ̃t", RI_Cyrl: "авант", RI_Latn: "avant", PI_IPA: "əˈvɑ̃t", PI: "avant" },
{ w: "ācrum", RI_IPA: "ɑgʲr", RI_Cyrl: "агр", RI_Latn: "agre", PI_IPA: "ˈɑxrə", PI: "agră" },
{ w: "acūtum", RI_IPA: "ɑˈgʲuː", RI_Cyrl: "агӯ", RI_Latn: "aguu", PI_IPA: "əˈxuː", PI: "aguu" },
{ w: "ad", RI_IPA: "ɑ", RI_Cyrl: "а", RI_Latn: "a", PI_IPA: "ɑ", PI: "a" },
{ w: "ad hōram", RI_IPA: "ɑˈuːr", RI_Cyrl: "аӯр", RI_Latn: "auor", PI_IPA: "əˈuːr", PI: "auor" },
{ w: "affīlātum", RI_IPA: "oːvəˈdoː", RI_Cyrl: "ѡ̄въдѡ̄", RI_Latn: "aufedau", PI_IPA: "oːvəˈdoː", PI: "aufedau" },
{ w: "ālam", RI_IPA: "ɑl", RI_Cyrl: "ал", RI_Latn: "ale", PI_IPA: "ˈɑlə", PI: "ală" },
{ w: "allium", RI_IPA: "ajj", RI_Cyrl: "яјј", RI_Latn: "àlli", PI_IPA: "æjj", PI: "àyy" },
{ w: "alēnāre", RI_IPA: "oːˈnɑr", RI_Cyrl: "ѡ̄нар", RI_Latn: "aunar", PI_IPA: "oːˈnɑr", PI: "aunar" },
{ w: "alterum", RI_IPA: "aːtr", RI_Cyrl: "я̄тр", RI_Latn: "aetre", PI_IPA: "ˈɑjtrə", PI: "aetră" },
{ w: "amāre", RI_IPA: "ɑˈmɑr", RI_Cyrl: "амар", RI_Latn: "amar", PI_IPA: "əˈmɑr", PI: "amar" },
{ w: "anellum", RI_IPA: "ɑˈniː", RI_Cyrl: "ані̄", RI_Latn: "anill", PI_IPA: "əˈniː", PI: "any" },
{ w: "anīsum", RI_IPA: "ɑˈniʰ", RI_Cyrl: "ані’", RI_Latn: "anis", PI_IPA: "əˈnis", PI: "anis" },
{ w: "annum", RI_IPA: "aɲ", RI_Cyrl: "яњ", RI_Latn: "ành", PI_IPA: "æɲ", PI: "ành" },
{ w: "aperīre", RI_IPA: "oːˈrir", RI_Cyrl: "ѡ̄рір", RI_Latn: "aurir", PI_IPA: "oːˈrir", PI: "aurir" },
{ w: "apertūram", RI_IPA: "ɑbərˈtyr", RI_Cyrl: "абъртүр", RI_Latn: "abertur", PI_IPA: "əbərˈtyr", PI: "abertur" },
{ w: "apicula", RI_IPA: "ɑˈbɛjl", RI_Cyrl: "абејл", RI_Latn: "abeile", PI_IPA: "əˈbɛjlə", PI: "abeilă" },
{ w: "aquam", RI_IPA: "ɑgʲ", RI_Cyrl: "аг", RI_Latn: "ague", PI_IPA: "ˈɑxə", PI: "agă" },
{ w: "arausiōnem", RI_IPA: "ɑrəˈʒʒũː", RI_Cyrl: "аръжжӯн", RI_Latn: "aresçuon", PI_IPA: "ərəˈʒʒũː", PI: "aresçuon" },
{ w: "aut", RI_IPA: "ɔ", RI_Cyrl: "о", RI_Latn: "o", PI_IPA: "ɔ", PI: "o" },
{ w: "animālem", RI_IPA: "ɑ̃ˈmoː", RI_Cyrl: "анмѡ̄", RI_Latn: "ammau", PI_IPA: "ə̃ˈmoː", PI: "ammau" },
{ w: "apostolum", RI_IPA: "ɑˈbœjttr", RI_Cyrl: "абөјттр", RI_Latn: "aboistre", PI_IPA: "əˈbɔjtrə", PI: "aboîtră" },
{ w: "arborem", RI_IPA: "oːrr", RI_Cyrl: "ѡ̄рр", RI_Latn: "aurre", PI_IPA: "ˈoːrrə", PI: "aurră" },
{ w: "arcum", RI_IPA: "ɑrkʲ", RI_Cyrl: "арк", RI_Latn: "arc", PI_IPA: "ɑrk", PI: "arc" },
{ w: "auca", RI_IPA: "uːdʒ", RI_Cyrl: "ӯџ", RI_Latn: "uogue", PI_IPA: "ˈuːdʒə", PI: "uodjă" },
{ w: "aucellam", RI_IPA: "ɔˈʒʒiʝ", RI_Cyrl: "ожжіж", RI_Latn: "oscille", PI_IPA: "əˈʒʒijə", PI: "osciyă" },
{ w: "audīre", RI_IPA: "ɔˈʝir", RI_Cyrl: "ожір", RI_Latn: "oyr", PI_IPA: "əˈjir", PI: "oyr" },
{ w: "auriculam", RI_IPA: "aˈrɛjl", RI_Cyrl: "ярејл", RI_Latn: "àreile", PI_IPA: "əˈrɛjlə", PI: "àreilă" }, #
{ w: "bastōnem", RI_IPA: "bɑtˈtũː", RI_Cyrl: "баттӯн", RI_Latn: "bastuon", PI_IPA: "bəˈtũː", PI: "bâtuon" },
{ w: "battēre", RI_IPA: "bɑˈcçer", RI_Cyrl: "батјир", RI_Latn: "batiér", PI_IPA: "bəˈtir", PI: "batir" },
{ w: "bestia", RI_IPA: "bjɛçç", RI_Cyrl: "бјешш", RI_Latn: "biesçe", PI_IPA: "ˈbjɛçə", PI: "biêçă" },
{ w: "bestjōla", RI_IPA: "bɛçˈçuːl", RI_Cyrl: "бешшӯл", RI_Latn: "besçuole", PI_IPA: "bəˈçuːlə", PI: "bêçuolă" },
{ w: "bibēre", RI_IPA: "bœːˈʝer", RI_Cyrl: "бө̄жир", RI_Latn: "beuyér", PI_IPA: "bœːˈir", PI: "beuyr" },
{ w: "blankum", RI_IPA: "blɑ̃kʲ", RI_Cyrl: "бланк", RI_Latn: "blanc", PI_IPA: "blɑ̃k", PI: "blanc" },
{ w: "bonum", RI_IPA: "bœjn", RI_Cyrl: "бөјн", RI_Latn: "boin", PI_IPA: "bɔjn", PI: "boin" },
{ w: "brāchium", RI_IPA: "braːʃ", RI_Cyrl: "бря̄ш", RI_Latn: "braeç", PI_IPA: "brɑjʃ", PI: "braeç" },
{ w: "brūmam", RI_IPA: "brym", RI_Cyrl: "брүм", RI_Latn: "brume", PI_IPA: "ˈbrymə", PI: "brumă" },
{ w: "buccam", RI_IPA: "buːtʃ", RI_Cyrl: "бӯч", RI_Latn: "buoque", PI_IPA: "ˈbuːtʃə", PI: "buochă" },
{ w: "būffāre", RI_IPA: "buːˈvɑr", RI_Cyrl: "бӯвар", RI_Latn: "buufar", PI_IPA: "buːˈvɑr", PI: "buufar" },
{ w: "buscum", RI_IPA: "buːkʲkʲ", RI_Cyrl: "бӯкк", RI_Latn: "buosc", PI_IPA: "buːk", PI: "buôc" },
{ w: "buttāre", RI_IPA: "bɔˈtɑr", RI_Cyrl: "ботар", RI_Latn: "botar", PI_IPA: "bəˈtɑr", PI: "botar" },
{ w: "caldāriam", RI_IPA: "tʃoːˈdaːr", RI_Cyrl: "чѡ̄дя̄р", RI_Latn: "caudàir", PI_IPA: "tʃoːˈdæːr", PI: "chaudàir" },
{ w: "calidum", RI_IPA: "tʃaːt", RI_Cyrl: "чя̄т", RI_Latn: "caed", PI_IPA: "tʃɑjd", PI: "chaed" },
{ w: "cambam", RI_IPA: "tʃoːb", RI_Cyrl: "чѡ̄б", RI_Latn: "caũbe", PI_IPA: "ˈtʃoːbə", PI: "chaubă" },
{ w: "cammīnum", RI_IPA: "tʃoːˈmĩ", RI_Cyrl: "чѡ̄мін", RI_Latn: "caũmin", PI_IPA: "tʃoːˈmɛ̃", PI: "chaumin" },
{ w: "cantjōnem", RI_IPA: "tʃɑ̃ˈçũː", RI_Cyrl: "чаншӯн", RI_Latn: "cançuon", PI_IPA: "tʃə̃ˈçũː", PI: "chançuon" },
{ w: "capparem", RI_IPA: "tʃoːr", RI_Cyrl: "чѡ̄р", RI_Latn: "caure", PI_IPA: "ˈtʃoːrə", PI: "chaură" },
{ w: "cappum", RI_IPA: "tʃoː", RI_Cyrl: "чѡ̄", RI_Latn: "cau", PI_IPA: "tʃoː", PI: "chau" },
{ w: "capillum", RI_IPA: "tʃɑˈbiː", RI_Cyrl: "чабі̄", RI_Latn: "cabill", PI_IPA: "tʃəˈbiː", PI: "chaby" },
{ w: "captjāre", RI_IPA: "tʃɑˈtʃɑr", RI_Cyrl: "чачар", RI_Latn: "caççar", PI_IPA: "tʃəˈtʃɑr", PI: "chaççar" },
{ w: "carnem", RI_IPA: "tʃɑrn", RI_Cyrl: "чарн", RI_Latn: "carn", PI_IPA: "tʃɑrn", PI: "charn" },
{ w: "canem", RI_IPA: "tʃɑ̃", RI_Cyrl: "чан", RI_Latn: "can", PI_IPA: "tʃɑ̃", PI: "chan" },
{ w: "cantāre", RI_IPA: "tʃɑ̃ˈtɑr", RI_Cyrl: "чантар", RI_Latn: "cantar", PI_IPA: "tʃə̃ˈtɑr", PI: "chantar" },
{ w: "cattāria", RI_IPA: "tʃɑˈtaːr", RI_Cyrl: "чатя̄р", RI_Latn: "catàir", PI_IPA: "tʃəˈtæːr", PI: "chatàir" },
{ w: "cattum", RI_IPA: "tʃɑt", RI_Cyrl: "чат", RI_Latn: "cat", PI_IPA: "tʃɑt", PI: "chat" },
{ w: "caudam", RI_IPA: "kʲuː", RI_Cyrl: "кӯ", RI_Latn: "cuoe", PI_IPA: "ˈkuːə", PI: "cuoă" },
{ w: "causam", RI_IPA: "kʲuːz", RI_Cyrl: "кӯз", RI_Latn: "cuose", PI_IPA: "ˈkuːzə", PI: "cuosă" },
{ w: "cavāre", RI_IPA: "tʃɑˈvɑr", RI_Cyrl: "чавар", RI_Latn: "cavar", PI_IPA: "tʃəˈvɑr", PI: "chavar" },
{ w: "centum", RI_IPA: "çɛ̃t", RI_Cyrl: "шент", RI_Latn: "cent", PI_IPA: "çɛ̃t", PI: "cent" },
{ w: "cēpullitta", RI_IPA: "çœːˈʝet", RI_Cyrl: "шө̄жит", RI_Latn: "ceulléte", PI_IPA: "çœːˈjetə", PI: "ceuyétă" },
{ w: "chordam", RI_IPA: "kʲwɛrd", RI_Cyrl: "куерд", RI_Latn: "cuerde", PI_IPA: "ˈkwɛrdə", PI: "cuerdă" },
{ w: "cinerem", RI_IPA: "çẽr", RI_Cyrl: "шинр", RI_Latn: "cénre", PI_IPA: "ˈçẽrə", PI: "cénră" },
{ w: "cīnquāintā<", RI_IPA: "çĩˈkʲɑ̃t", RI_Cyrl: "шінкант", RI_Latn: "cinquante", PI_IPA: "çə̃ˈkɑ̃tə", PI: "cincantă" },
{ w: "cīnque", RI_IPA: "çĩtʃ", RI_Cyrl: "шінч", RI_Latn: "cinc", PI_IPA: "çɛ̃tʃ", PI: "cinch" },
{ w: "circulum", RI_IPA: "çerkʲl", RI_Cyrl: "ширкл", RI_Latn: "cércle", PI_IPA: "ˈçerklə", PI: "cérclă" },
{ w: "clāvum", RI_IPA: "kʲloː", RI_Cyrl: "клѡ̄", RI_Latn: "clau", PI_IPA: "kloː", PI: "clau" },
{ w: "coācticāre", RI_IPA: "kʲɔəttəˈdʒɑr", RI_Cyrl: "коъттъџар", RI_Latn: "coettegar", PI_IPA: "kɔːəttəˈdʒɑr", PI: "coettedjar" },
{ w: "cōlāre", RI_IPA: "kʲɔˈlɑr", RI_Cyrl: "колар", RI_Latn: "colar", PI_IPA: "kəˈlɑr", PI: "colar" },
{ w: "collum", RI_IPA: "kʲœj", RI_Cyrl: "көј", RI_Latn: "queull", PI_IPA: "kœj", PI: "queuy" },
{ w: "cognoscēre", RI_IPA: "kʲœɲəçˈçer", RI_Cyrl: "көњъшшир", RI_Latn: "queunhescér", PI_IPA: "kəɲəˈçer", PI: "queunhêcér" },
{ w: "comedēre", RI_IPA: "kʲoːˈʝer", RI_Cyrl: "кѡ̄жир", RI_Latn: "càũyér", PI_IPA: "koːˈir", PI: "cauyr" },
{ w: "comintjāre", RI_IPA: "kʲamə̃ˈçɑr", RI_Cyrl: "кямъншар", RI_Latn: "càmençar", PI_IPA: "kəmə̃ˈçɑr", PI: "càmençar" },
{ w: "conflāre", RI_IPA: "kʲɔwˈlɑr", RI_Cyrl: "коулар", RI_Latn: "cow̃lar", PI_IPA: "kəwˈlɑr", PI: "cowlar" },
{ w: "cōsēre", RI_IPA: "kʲaˈzer", RI_Cyrl: "кязир", RI_Latn: "càsér", PI_IPA: "kəˈzer", PI: "càsér" },
{ w: "contāre", RI_IPA: "kʲɔ̃ˈtɑr", RI_Cyrl: "контар", RI_Latn: "contar", PI_IPA: "kə̃ˈtɑr", PI: "contar" },
{ w: "cophinum", RI_IPA: "kʲœjr", RI_Cyrl: "көјр", RI_Latn: "coyure", PI_IPA: "ˈkɔərə", PI: "coăra" },
{ w: "cordem", RI_IPA: "kʲwɛrt", RI_Cyrl: "куерт", RI_Latn: "cuerd", PI_IPA: "kwɛrd", PI: "cuerd" },
{ w: "cornum", RI_IPA: "kʲwɛrn", RI_Cyrl: "куерн", RI_Latn: "cuern", PI_IPA: "kwɛrn", PI: "cuern" },
{ w: "corpum", RI_IPA: "kʲœːr", RI_Cyrl: "кө̄р", RI_Latn: "cueur", PI_IPA: "kwœːr", PI: "cueur" },
{ w: "correctum", RI_IPA: "kʲaˈrɛjt", RI_Cyrl: "кярејт", RI_Latn: "càreit", PI_IPA: "kəˈrɛjt", PI: "càreit" },
{ w: "corticem", RI_IPA: "kʲwɛrç", RI_Cyrl: "куерш", RI_Latn: "cuerç", PI_IPA: "kwɛrç", PI: "cuerç" },
{ w: "coxam", RI_IPA: "kʲɔːz", RI_Cyrl: "ко̄з", RI_Latn: "coesse", PI_IPA: "ˈkɔjzə", PI: "coessă" },
{ w: "cremāre", RI_IPA: "kʲrɛˈmɑr", RI_Cyrl: "кремар", RI_Latn: "cremar", PI_IPA: "krəˈmɑr", PI: "cremar" },
{ w: "cremēre", RI_IPA: "kʲrœːˈʝer", RI_Cyrl: "крө̄жир", RI_Latn: "creũyér", PI_IPA: "krœːˈir", PI: "creuyr" },
{ w: "crucem", RI_IPA: "kʲrɔːʃ", RI_Cyrl: "кро̄ш", RI_Latn: "croeç", PI_IPA: "krɔjʃ", PI: "croeç" },
{ w: "cubitum", RI_IPA: "kʲoːt", RI_Cyrl: "кѡ̄т", RI_Latn: "cóute", PI_IPA: "ˈkoːtə", PI: "cóută" },
{ w: "cumīnum", RI_IPA: "kʲaˈmĩ", RI_Cyrl: "кямін", RI_Latn: "càmin", PI_IPA: "kəˈmɛ̃", PI: "càmin" },
{ w: "cūprehum", RI_IPA: "kʲyːr", RI_Cyrl: "кү̄р", RI_Latn: "cuyure", PI_IPA: "ˈkyːrə", PI: "cuyură" },
{ w: "curtum", RI_IPA: "kʲort", RI_Cyrl: "кѡрт", RI_Latn: "córt", PI_IPA: "kort", PI: "córt" },
{ w: "cȳgnum", RI_IPA: "çiɲ", RI_Cyrl: "шіњ", RI_Latn: "cinh", PI_IPA: "çiɲ", PI: "cinh" },
{ w: "dē", RI_IPA: "d", RI_Cyrl: "д", RI_Latn: "de", PI_IPA: "də", PI: "de" },
{ w: "dē apud", RI_IPA: "dɛˈoː", RI_Cyrl: "деѡ̄", RI_Latn: "deau", PI_IPA: "dəˈoː", PI: "deau" },
{ w: "dē bassiō", RI_IPA: "dɛˈvaːʃ", RI_Cyrl: "девя̄ш", RI_Latn: "devaeç", PI_IPA: "dəˈvɑjʃ", PI: "devaeç" },
{ w: "dē intrō", RI_IPA: "dɛˈʝẽtr", RI_Cyrl: "дежинтр", RI_Latn: "deyéntre", PI_IPA: "dəˈĩtrə", PI: "deyntră" },
{ w: "dē post", RI_IPA: "dɛˈbœjʰ", RI_Cyrl: "дебөј’", RI_Latn: "debois", PI_IPA: "dəˈbɔjs", PI: "debois" },
{ w: "dēbēre", RI_IPA: "dœːˈʝer", RI_Cyrl: "дө̄жир", RI_Latn: "deuyér", PI_IPA: "dœːˈir", PI: "deuyr" },
{ w: "decem", RI_IPA: "dɛjʃ", RI_Cyrl: "дејш", RI_Latn: "deiç", PI_IPA: "dɛjʃ", PI: "deiç" },
{ w: "decem novem", RI_IPA: "dɛjˈʒnœj", RI_Cyrl: "дејжнөј", RI_Latn: "deiçnoyu", PI_IPA: "dəjˈʒnɔə", PI: "deiçnoă" },
{ w: "decem octō", RI_IPA: "dɛjˈʒɔːt", RI_Cyrl: "дејжо̄т", RI_Latn: "deiçoet", PI_IPA: "dəjˈʒɔjt", PI: "deiçoet" },
{ w: "decem septem", RI_IPA: "dɛjʒˈzɛjt", RI_Cyrl: "дејжзејт", RI_Latn: "deiçseit", PI_IPA: "dəjʒˈzɛjt", PI: "deiçseit" },
{ w: "decimum sextum", RI_IPA: "dœjˈzɛjtt", RI_Cyrl: "дөјзејтт", RI_Latn: "deyũseist", PI_IPA: "dɛːəˈzɛjt", PI: "deyaseît" },
{ w: "dehus", RI_IPA: "ɟʝɛʰ", RI_Cyrl: "дје’", RI_Latn: "dies", PI_IPA: "djɛs", PI: "dies" },
{ w: "dentem", RI_IPA: "ɟʝɛ̃t", RI_Cyrl: "дјент", RI_Latn: "dient", PI_IPA: "djɛ̃t", PI: "dient" },
{ w: "dērectam", RI_IPA: "dɛˈrɛjt", RI_Cyrl: "дерејт", RI_Latn: "dereite", PI_IPA: "dəˈrɛjtə", PI: "dereită" },
{ w: "dērectum", RI_IPA: "dɛˈrɛjt", RI_Cyrl: "дерејт", RI_Latn: "dereit", PI_IPA: "dəˈrɛjt", PI: "dereit" },
{ w: "dēsertāre", RI_IPA: "dɛzərˈtɑr", RI_Cyrl: "дезъртар", RI_Latn: "desertar", PI_IPA: "dəzərˈtɑr", PI: "desertar" },
{ w: "dīcēre", RI_IPA: "diˈʒʒer", RI_Cyrl: "діжжир", RI_Latn: "discér", PI_IPA: "dəˈʒʒer", PI: "discér" },
{ w: "digitum", RI_IPA: "dɛjt", RI_Cyrl: "дејт", RI_Latn: "deit", PI_IPA: "dɛjt", PI: "deit" },
{ w: "dīrectjōnem", RI_IPA: "dirəˈtʃũː", RI_Cyrl: "діръчӯн", RI_Latn: "direççuon", PI_IPA: "dərəˈtʃũː", PI: "direççuon" },
{ w: "djurnum", RI_IPA: "ʝorn", RI_Cyrl: "жѡрн", RI_Latn: "jórn", PI_IPA: "ʝorn", PI: "jórn" },
{ w: "dodecim", RI_IPA: "dɔːʃ", RI_Cyrl: "до̄ш", RI_Latn: "doeç", PI_IPA: "dɔjʃ", PI: "doeç" },