chrisdone / cllc

Complete Lojban Language Chunked

This URL has Read+Write access

dag (author)
Tue Apr 21 04:04:29 -0700 2009
chrisdone (committer)
Wed Jun 24 23:49:55 -0700 2009
cllc / c4 / s11.html
100755 182 lines (154 sloc) 5.883 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>
               The Shape Of Words To Come: Lojban Morphology - The Lojban Reference Grammar
      </title>
      <link rel="stylesheet" type="text/css" href="../cll.css" />
      <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
   </head>
   <body>
      <table class="nav" width="100%">
         <tr>
            <td width="15%" valign="top">
               <a href="../c4/s10.html">
                  Previous
               </a>
               <br />
               <em>
                  Considerations for making lujvo
               </em>
            </td>
            <td align="center">
               <strong>
                        The Shape Of Words To Come: Lojban Morphology
               </strong>
               <br />
               <a href="../">
                  <em>
                     <small>
                        The Lojban Reference Grammar
                     </small>
                  </em>
               </a>
            </td>
            <td width="15%" valign="top">
               <a href="../c4/s12.html">
                  Next
               </a>
               <br />
               <em>
                  The lujvo scoring algorithm
               </em>
            </td>
         </tr>
      </table>
      <hr />
          <h3><a id="s11" name="s11">11. The lujvo-making algorithm</h3>
 
    <p>The following is the current algorithm for generating Lojban
    lujvo given a known tanru and a complete list of gismu and
    their assigned rafsi. The algorithm was designed by Bob
    LeChevalier and Dr. James Cooke Brown for computer program
    implementation. It was modified in 1989 with the assistance of
    Nora LeChevalier, who detected a flaw in the original
    ``tosmabru test''.</p>
 
    <p>Given a tanru that is to be made into a lujvo:</p>
 
    <dl>
      <dt>1)</dt>
 
      <dd>Choose a 3-letter or 4-letter rafsi for each of the gismu
      and cmavo in the tanru except the last.</dd>
 
      <dt>2)</dt>
 
      <dd>Choose a 3-letter (CVV-form or CCV-form) or 5-letter
      rafsi for the final gismu in the tanru.</dd>
 
      <dt>3)</dt>
 
      <dd>Join the resulting string of rafsi, initially without
      hyphens.</dd>
    </dl>
 
    <dl>
      <dt>4)</dt>
 
      <dd>Add hyphen letters where necessary. It is illegal to add
      a hyphen at a place that is not required by this algorithm.
      Right-to-left tests are recommended, for reasons discussed
      below.</dd>
 
      <dt>4a)</dt>
 
      <dd>If there are more than two words in the tanru, put an
      ``r''-hyphen (or an ``n''-hyphen) after the first rafsi if it
      is CVV-form. If there are exactly two words, then put an
      ``r''-hyphen (or an ``n''-hyphen) between the two rafsi if
      the first rafsi is CVV-form, unless the second rafsi is
      CCV-form (for example, ``saicli'' requires no hyphen). Use an
      ``r''-hyphen unless the letter after the hyphen is ``r'', in
      which case use an ``n''-hyphen. Never use an ``n''-hyphen
      unless it is required.</dd>
 
      <dt>4b)</dt>
 
      <dd>Put a ``y''-hyphen between the consonants of any
      impermissible consonant pair. This will always appear between
      rafsi.</dd>
 
      <dt>4c)</dt>
 
      <dd>Put a ``y''-hyphen after any 4-letter rafsi form.</dd>
    </dl>
 
    <dl>
      <dt>5)</dt>
 
      <dd>Test all forms with one or more initial CVC-form rafsi
      --- with the pattern ``CVC ... CVC + X'' --- for ``tosmabru
      failure''. X must either be a CVCCV long rafsi that happens
      to have a permissible initial pair as the consonant cluster,
      or is something which has caused a ``y''-hyphen to be
      installed between the previous CVC and itself by one of the
      above rules. The test is as follows:</dd>
 
      <dt>5a)</dt>
 
      <dd>Examine all the C/C consonant pairs that join the CVC
      rafsi, and also the pair between the last CVC and the X
      portion, ignoring any ``y''-hyphen before the X. These
      consonant pairs are called ``joints''.</dd>
 
      <dt>5b)</dt>
 
      <dd>If all of those joints are permissible initials, then the
      trial word will break up into a cmavo and a shorter brivla.
      If not, the word will not break up, and no further hyphens
      are needed.</dd>
 
      <dt>5c)</dt>
 
      <dd>Install a ``y''-hyphen at the first such joint.</dd>
    </dl>
 
    <p>Note that the ``tosmabru test'' implies that the algorithm
    will be more efficient if rafsi junctures are tested for
    required hyphens from right to left, instead of from left to
    right; when the test is required, it cannot be completed until
    hyphenation to the right has been determined.</p>
 
 
      <hr />
      <table class="nav" width="100%">
         <tr>
            <td width="15%" valign="top">
               <a href="../c4/s10.html">
                  Previous
               </a>
               <br />
               <em>
                  Considerations for making lujvo
               </em>
            </td>
            <td align="center">
               <strong>
                        The Shape Of Words To Come: Lojban Morphology
               </strong>
               <br />
               <a href="../">
                  <em>
                     <small>
                        The Lojban Reference Grammar
                     </small>
                  </em>
               </a>
            </td>
            <td width="15%" valign="top">
               <a href="../c4/s12.html">
                  Next
               </a>
               <br />
               <em>
                  The lujvo scoring algorithm
               </em>
            </td>
         </tr>
      </table>
   </body>
</html>