1SET UTF-8
2LANGCODE bo
3
4# ignoring Ux0F35 and Ux0F37, as they are extremely rare but valid.
5# This means that a syllable containing these signs at invalid places will not
6# be detected by the spell checker, but this makes the code more simple at
7# almost no cost
8# IGNORE ༵༷
9
10NOSPLITSUGS
11
12# The "N" makes the suffixes mandatory. It is used only with B, example: དཀ/NB,
13# in this case, དཀ is invalid, but is not if there is a suffix.
14NEEDAFFIX N
15
16# grammatical suffixes only
17SFX C Y 7
18SFX C 0 འི . +'brel_sgra
19SFX C 0 འོ . +slar_bsdu
20SFX C 0 འིའོ . +'brel_sgra_slar_bsdu
21SFX C 0 ར . +la_don
22SFX C 0 ས . +byed_sgra
23SFX C 0 འང . +rgyan_sdud
24SFX C 0 འམ . +'byed_sdud
25
26# Words with mandatory vowel or suffix
27# If no ashung and no vowel, a suffix is mandatory
28SFX B Y 6
29SFX B 0 ི/S . +i
30SFX B 0 ུ/S . +u
31SFX B 0 ེ/S . +e
32SFX B 0 ོ/S . +o
33SFX B 0 འ . +ashung
34SFX B 0 /NS .
35
36# Non-mandatory vowel or suffix. In these cases, no ashung is possible, see
37# the documentation.
38SFX A Y 5
39SFX A 0 ི/S . +i
40SFX A 0 ུ/S . +u
41SFX A 0 ེ/S . +e
42SFX A 0 ོ/S . +o
43SFX A 0 /S .
44
45# List of suffixes used by both A and B
46SFX S Y 18
47SFX S 0 ག . +g
48SFX S 0 གས . +gs
49SFX S 0 ང . +ng
50SFX S 0 ངས . +ngs
51SFX S 0 ད . +d
52SFX S 0 ན . +n
53SFX S 0 བ . +b
54SFX S 0 བས . +bs
55SFX S 0 མ . +m
56SFX S 0 མས . +ms
57SFX S 0 འི . +'brel_sgra
58SFX S 0 འོ . +slar_bsdu
59SFX S 0 འིའོ . +'brel_sgra_slar_bsdu
60SFX S 0 འང . +rgyan_sdud
61SFX S 0 འམ . +'byed_sdud
62SFX S 0 ར . +r
63SFX S 0 ལ . +l
64SFX S 0 ས . +s
65
66# Replace archaic forms by modern ones
67REP 6
68REP འིས ས
69REP འའིས ས
70REP འར ར
71REP ནད ན
72REP རད ར
73REP ལད ལ
74