From richard@xxxxxx.xxxxx.xx.xxx Sun Dec 20 23:37:12 1998 X-Digest-Num: 32 Message-ID: <44114.32.113.959273824@eGroups.com> Date: 21 Dec 1998 07:37:12 +0000 From: Richard Curnow >>>> On Mon, 21 Dec 1998 02:00:26 -0500, >>>>> "Bob" == Bob LeChevalier (lojbab) >>>>> wrote thus: Bob> From: "Bob LeChevalier (lojbab)" Bob> At 10:56 PM 12/20/98 +0000, you wrote: >> From: Richard Curnow I am trying to >> get to the bottom of the lujvo-making algorithm described in >> chapter 4, section 11 of the reference manual, in particular the >> test in 5) for 'tosmabru failure'. >> >> If the candidate lujvo starts CVC CVC CVC ..., and would break >> into a cmavo and a shorter brivla, I am struggling to see how it >> can break other than after the first CV, leaving the shorter >> brivla being all but the initial 2 letters. Bob> If a lujvo will fail the "tosmabru" test, then that is the Bob> location at which it will break. The test is therefore to Bob> determine whether the remainder of the word, after taking off Bob> the first CV, is a valid lujvo of its own. Agreed, so does the following algorithm achieve the desired effect: A. Work through steps 1..4 of the algorithm as in the ref. grammar. B. If the candidate lujvo starts with at least one CVC rafsi, consider the form after removing the initial CV. Working from the left, try to partition this into valid rafsi (not necessarily at the points where rafsi were originally joined earlier), possibly with hyphens between them; if this can be done then the test fails and the lujvo has to start CVCyC..., otherwise it passes and the extra 'y' is not needed. (I think the left-to-right partitioning in unambiguous; if there is a 'y' at the 4th or 5th letter, take the first rafsi up tothe 'y', otherwise take the first 3 letters; then repeat with the remainder of the string. If you encounter a 'y' you know the rest of the string is a valid lujvo unless it only has 3 letters, so you are done. Otherwise, each 3 letter rafsi that you take off must certainly have a valid initial consonant pair, really it ought to appear in the dictionary as well!) Bob> Hope this helps. Thanks, yes it does. (and thanks to for the other reply). Regards Richard -- Richard P. Curnow Stevenage, England