-
Notifications
You must be signed in to change notification settings - Fork 2
/
chicken-ext-jbogensamselpla.scm
1079 lines (876 loc) · 12.3 KB
/
chicken-ext-jbogensamselpla.scm
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
;;;;
;;;; jbogenturfahi - lo lojbo ke pe'a jajgau ratcu ke'e genturfa'i
;;;; `-> A Lojban grammar parser
;;;;
;;;; Copyright (c) 2010 ".alyn.post." <[email protected]>
;;;;
;;;; Permission to use, copy, modify, and/or distribute this software for any
;;;; purpose with or without fee is hereby granted, provided that the above
;;;; copyright notice and this permission notice appear in all copies.
;;;;
;;;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
;;;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
;;;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
;;;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
;;;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
;;;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
;;;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
;;;;
(module jbogensamselpla
(a
e
i
o
u
y
l
m
n
r
b
d
g
v
j
z
s
c
x
k
f
p
t
h
digit
final-syllable
any-syllable
syllable
consonantal-syllable
coda
onset
diphthong
cluster
initial-pair
initial
affricate
brivla-gismu
brivla-fuhivla
brivla-lujvo
zifcme
jbocme
CVCy-lujvo-brivla-core
CVCy-lujvo-short-final-rafsi
cmavo-form
cmavo-form-y
lujvo
brivla-core
fuhivla
stressed-brivla-rafsi
brivla-rafsi
stressed-fuhivla-rafsi
fuhivla-rafsi
brivla-head
slinkuhi
rafsi-string
rafsi-string-short-final
rafsi-string-initial-pair
gismu
CVV-final-rafsi
short-final-rafsi
stressed-y-rafsi
stressed-long-rafsi-CCVC
stressed-long-rafsi-CVCC
stressed-CVC-rafsi
stressed-CCV-rafsi
stressed-CVV-rafsi
stressed-CVV-rafsi-VhV
y-rafsi
long-rafsi-CCVC
long-rafsi-CVCC
CVC-rafsi
CCV-rafsi
CVV-rafsi
CVV-rafsi-VhV
non-lojban-word
ybu
cmavo
A
BAI
BAhE
BE
BEI
BEhO
BIhE
BIhI
BO
BOI
BU
BY
CAhA
CAI
CEI
CEhE
CO
COI
CU
CUhE
DAhO
DOI
DOhU
FA
FAhA
FAhO
FEhE
FEhU
FIhO
FOI
FUhA
FUhE
FUhO
GA
GAhO
GEhU
GI
GIhA
GOI
GOhA
GUhA
I
JA
JAI
JOhI
JOI
KE
KEhE
KEI
KI
KOhA
KU
KUhE
KUhO
LA
LAU
LAhE
LE
LEhU
LI
LIhU
LOhO
LOhU
LU
LUhU
MAhO
MAI
ME
MEhU
MOhE
MOhI
MOI
NA
NAI
NAhE
NAhU
NIhE
NIhO
NOI
NU
NUhA
NUhI
NUhU
PA
PEhE
PEhO
PU
RAhO
ROI
SA
SE
SEI
SEhU
SI
SOI
SU
TAhE
TEhU
TEI
TO
TOI
TUhE
TUhU
UI
VA
VAU
VEI
VEhO
VEhA
VIhA
VUhO
VUhU
XI
Y
ZAhO
ZEhA
ZEI
ZI
ZIhE
ZO
ZOI
ZOhU
text
intro-null
text-part-2
intro-si-clause
faho-clause
text-1-I
text-1-NIhO
text-1-paragraphs
paragraphs
paragraph
statement
statement-prenex
statement-1
statement-2
statement-3
statement-3-TUhE
fragment-prenex
fragment-terms
fragment-ek
fragment-gihek
fragment-quantifier
fragment-NA
fragment-relative-clauses
fragment-links
fragment-linkargs
prenex
sentence
sentence-sa
sentence-start-I
sentence-start-NIhO
subsentence
subsentence-prenex
bridi-tail
bridi-tail-sa
bridi-tail-start-ME
bridi-tail-start-NUhA
bridi-tail-start-NU
bridi-tail-start-NA
bridi-tail-start-NAhE
bridi-tail-start-selbri
bridi-tail-start-tag
bridi-tail-start-KE
bridi-tail-start
bridi-tail-1
bridi-tail-2
bridi-tail-3-selbri
bridi-tail-3-gek
gek-sentence
gek-sentence-KE
gek-sentence-NA
tail-terms
terms
terms-1
terms-2
pehe-sa
cehe-sa
term
term-1-sumti
term-1-FA
term-1-FA-tag
term-1-FA-clause
term-1-FA-sumti
term-1-FA-KU
term-1-termset
term-1-NA
term-sa
term-start
term-start-LA
term-start-LE
term-start-LI
term-start-LU
term-start-LAhE
term-start-quantifier
term-start-gek
term-start-FA
term-start-tag
termset
termset-gek
terms-gik-terms
gek-termset
termset-terms
sumti
sumti-1
sumti-2
sumti-3
sumti-4
sumti-4-gek
sumti-5
sumti-5-selbri
sumti-6-ZO
sumti-6-ZOI
sumti-6-LOhU
sumti-6-BOI
sumti-6-LU
sumti-6-LAhE-clause
sumti-6-LAhE-NAhE
sumti-6-LAhE
sumti-6-KOhA
sumti-6-LA
sumti-6-LE
sumti-6-LI
sumti-tail-sumti-6
sumti-tail
sumti-tail-1-selbri
sumti-tail-1-sumti
relative-clauses
relative-clause
relative-clause-sa
relative-clause-1-GOI
relative-clause-1-NOI
relative-clause-start
selbri
selbri-1
selbri-1-NA
selbri-2
selbri-3
selbri-4
selbri-4-joik-jek
selbri-4-joik
selbri-5
selbri-6
selbri-6-NAhE
tanru-unit
tanru-unit-1
tanru-unit-2-BRIVLA
tanru-unit-2-GOhA
tanru-unit-2-KE
tanru-unit-2-ME
tanru-unit-2-MOI
tanru-unit-2-NUhA
tanru-unit-2-SE
tanru-unit-2-JAI
tanru-unit-2-NAhE
tanru-unit-2-NU
linkargs
linkargs-1
linkargs-sa
linkargs-start
links
links-sa
links-1
links-start
quantifier-BOI
quantifier-VEI
mex
mex-sa
mex-0
mex-0-rp
mex-start-FUhA
mex-start-PEhO
mex-start
rp-clause
mex-1
mex-2
mex-forethought
fore-operands
rp-expression
rp-expression-tail
operator
operator-0
operator-0-joik-jek
operator-0-joik
operator-sa
operator-start
operator-start-KE
operator-start-NAhE
operator-start-MAhO
operator-start-VUhU
operator-1
operator-gukek
operator-jek
operator-2
operator-2-KE
mex-operator
mex-operator-NAhE
mex-operator-MAhO
mex-operator-NAhU
mex-operator-VUhU
operand
operand-sa
operand-0
operand-start-quantifier
operand-start-lerfu-word
operand-start-NIhE
operand-start-MOhE
operand-start-JOhI
operand-start-gek
operand-start-LAhE
operand-start-NAhE
operand-1
operand-2
operand-3
operand-3-BOI
operand-3-NIhE
operand-3-MOhE
operand-3-JOhI
operand-3-gek
operand-3-LAhE
operand-3-NAhE
operand-BOI
number
lerfu-string
lerfu-word-BY
lerfu-word-LAU
lerfu-word-TEI
ek
gihek
gihek-sa
gihek-1
jek
joik-JOI
joik-interval
joik-GAhO
interval
joik-ek
joik-ek-sa
joik-ek-1-joik
joik-ek-1-ek
joik-jek
gek-GA
gek-GI
gek-gik
guhek
gik
tag
stag-tense
stag-simple-tense
tense-modal-simple-tense
tense-modal-FIhO
simple-tense-modal-BAI
simple-tense-modal-time-space-CAhA
simple-tense-modal-time-space
simple-tense-modal-CAhA
simple-tense-modal
simple-tense-modal-KI
simple-tense-modal-CUhE
time-ZI
time-offset
space
space-offset
space-interval-VEhA
space-interval-VIhA
space-interval-VEhA-VIhA
space-interval
space-int-props
interval-property
interval-property-TAhE
interval-property-ZAhO
free-SEI
free-SOI
free-vocative-selbri
free-vocative-cmene
free-vocative-sumti
free-MAI
free-TO
xi-clause-BOI
xi-clause-VEI
vocative
indicators
indicator
zei-clause
zei-clause-no-pre
bu-clause
bu-clause-no-pre
zei-tail
bu-tail
pre-zei-bu
post-clause
pre-clause
any-word-SA-LOhU
any-word-SA-ZO
any-word-SA-ZOI
su-clause
si-clause
erasable-clause-zei
erasable-clause-bu
sa-word
si-word
su-word
BRIVLA-clause
BRIVLA-clause-zei
BRIVLA-pre
BRIVLA-post
CMENE-clause
CMENE-pre
CMENE-post
CMAVO-clause
A-clause
A-pre
A-post
BAI-clause
BAI-pre
BAI-post
BAhE-clause
BAhE-pre
BAhE-post
BE-clause
BE-pre
BE-post
BEI-clause
BEI-pre
BEI-post
BEhO-clause
BEhO-pre
BEhO-post
BIhE-clause
BIhE-pre
BIhE-post
BIhI-clause
BIhI-pre
BIhI-post
BO-clause
BO-pre
BO-post
BOI-clause
BOI-pre
BOI-post
BU-clause
BY-clause
BY-pre
BY-post
BY-clause
BY-clause-bu
BY-pre
BY-post
CAhA-clause
CAhA-pre
CAhA-post
CAI-clause
CAI-pre
CAI-post
CEI-clause
CEI-pre
CEI-post
CEhE-clause
CEhE-pre
CEhE-post
CO-clause
CO-pre
CO-post
COI-clause
COI-pre
COI-post
CU-clause
CU-pre
CU-post
CUhE-clause
CUhE-pre
CUhE-post
DAhO-clause
DAhO-pre
DAhO-post
DOI-clause
DOI-pre
DOI-post
DOhU-clause
DOhU-pre
DOhU-post
FA-clause
FA-pre
FA-post
FAhA-clause
FAhA-pre
FAhA-post
FAhO-clause
FEhE-clause
FEhE-pre
FEhE-post
FEhU-clause
FEhU-pre
FEhU-post
FIhO-clause
FIhO-pre
FIhO-post
FOI-clause
FOI-pre
FOI-post
FUhA-clause
FUhA-pre
FUhA-post
FUhE-clause
FUhE-pre
FUhE-post
FUhO-clause
FUhO-pre
FUhO-post
GA-clause
GA-pre
GA-post
GAhO-clause
GAhO-pre
GAhO-post
GEhU-clause
GEhU-pre
GEhU-post
GI-clause
GI-pre
GI-post
GIhA-clause
GIhA-pre
GIhA-post
GOI-clause
GOI-pre
GOI-post
GOhA-clause
GOhA-pre
GOhA-post
GUhA-clause
GUhA-pre
GUhA-post
I-clause
I-pre
I-post
JA-clause
JA-pre
JA-post
JAI-clause
JAI-pre
JAI-post
JOhI-clause
JOhI-pre
JOhI-post
JOI-clause
JOI-pre
JOI-post
KE-clause
KE-pre
KE-post
KEhE-clause
KEhE-pre
KEhE-post
KEI-clause
KEI-pre
KEI-post
KI-clause
KI-pre
KI-post
KOhA-clause
KOhA-pre
KOhA-post
KU-clause
KU-pre
KU-post
KUhE-clause
KUhE-pre
KUhE-post
KUhO-clause
KUhO-pre
KUhO-post
LA-clause
LA-pre
LA-post
LAU-clause
LAU-pre
LAU-post
LAhE-clause
LAhE-pre
LAhE-post
LE-clause
LE-pre
LE-post
LEhU-clause
LEhU-pre
LI-clause
LI-pre
LI-post
LIhU-clause
LIhU-pre
LIhU-post
LOhO-clause
LOhO-pre
LOhO-post
LOhU-clause
LOhU-pre
LOhU-post
LU-clause
LU-pre
LU-post
LUhU-clause
LUhU-pre
LUhU-post
MAhO-clause
MAhO-pre
MAhO-post
MAI-clause
MAI-pre
MAI-post
ME-clause
ME-pre
ME-post
MEhU-clause
MEhU-pre
MEhU-post
MOhE-clause
MOhE-pre
MOhE-post
MOhI-clause
MOhI-pre
MOhI-post
MOI-clause
MOI-pre
MOI-post
NA-clause
NA-pre
NA-post
NAI-clause
NAI-pre
NAI-post
NAhE-clause
NAhE-pre
NAhE-post
NAhU-clause
NAhU-pre
NAhU-post
NIhE-clause
NIhE-pre
NIhE-post
NIhO-clause
NIhO-pre
NIhO-post
NOI-clause
NOI-pre
NOI-post
NU-clause
NU-pre
NU-post
NUhA-clause
NUhA-pre
NUhA-post
NUhI-clause
NUhI-pre
NUhI-post
NUhU-clause
NUhU-pre
NUhU-post
PA-clause
PA-pre
PA-post
PEhE-clause
PEhE-pre
PEhE-post
PEhO-clause
PEhO-pre
PEhO-post
PU-clause
PU-pre
PU-post
RAhO-clause
RAhO-pre
RAhO-post
ROI-clause
ROI-pre
ROI-post
SA-clause
SA-pre
SE-clause
SE-pre
SE-post
SEI-clause
SEI-pre
SEI-post
SEhU-clause
SEhU-pre
SEhU-post
SI-clause
SI-pre
SI-post
SOI-clause
SOI-pre
SOI-post
SU-clause
SU-pre
SU-post
TAhE-clause
TAhE-pre
TAhE-post
TEhU-clause
TEhU-pre
TEhU-post
TEI-clause
TEI-pre
TEI-post
TO-clause
TO-pre
TO-post
TOI-clause
TOI-pre
TOI-post
TUhE-clause
TUhE-pre
TUhE-post
TUhU-clause
TUhU-pre
TUhU-post
UI-clause
UI-pre
UI-post
VA-clause
VA-pre
VA-post