From seidensticker@msn.com Sat Mar 10 16:29:46 2001 Return-Path: X-Sender: seidensticker@msn.com X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_0_4); 11 Mar 2001 00:29:46 -0000 Received: (qmail 59343 invoked from network); 11 Mar 2001 00:29:45 -0000 Received: from unknown (10.1.10.26) by m8.onelist.org with QMQP; 11 Mar 2001 00:29:45 -0000 Received: from unknown (HELO fk.egroups.com) (10.1.10.47) by mta1 with SMTP; 11 Mar 2001 00:29:45 -0000 X-eGroups-Return: seidensticker@msn.com Received: from [10.1.10.124] by fk.egroups.com with NNFMP; 11 Mar 2001 00:29:45 -0000 Date: Sun, 11 Mar 2001 00:29:41 -0000 To: lojban@yahoogroups.com Subject: Re: How do you parse lujvo into the component rafsi? Message-ID: <98egtl+geu3@eGroups.com> In-Reply-To: User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 1310 X-Mailer: eGroups Message Poster X-Originating-IP: 206.129.86.130 From: seidensticker@msn.com X-Yahoo-Message-Num: 5755 Thanks. Your comments helped me find a bug. I've been using the official lujvo list to practice on. I found one word that doesn't work: natmyrgu'e. It's defined as nation+country = fatherland and so must be natmi + gugde, but that extra r doesn't make sense. Is this an incorrect lujvo? --- In lojban@y..., "Jorge Llambias" wrote: > > la seidensticker cusku di'e > > >lujvo = InitialRafsi TermainlRafsi > >InitialRafsi = Rafsi InitialRafsi | > >Rafsi = 4Rafsi | 3Rafsi > > > >TerminalRafsi = CCV | CVV | CVCCV | CCVCV > >4Rafsi = CVCCy | CCVCy > >3Rafsi = CVV | CCV | CVVr | CVVn | CVC | CVCy > > I think this will generate all valid lujvo, but it > will of course also generate many invalid ones. > > You should add: > > Allow CVVr and CVVn only as the first component (CVVn must > be followed by "r" and CVVr must not), and only when > there are at least two vowel groups following, or a > terminal CVV. > > Do not allow CVV as the first component unless folowed by > a single CCV. > > Check the consonant that follows CVC or CVCy. > > When CVC or CVCy is the first component, check whether > what is left by removing CV is a valid lujvo. > > I think that with those filters you end up with valid > lujvo only. > > co'o mi'e xorxes