From phma@oltronics.net Sat Mar 10 15:12:29 2001 Return-Path: X-Sender: phma@oltronics.net X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_0_4); 10 Mar 2001 23:12:29 -0000 Received: (qmail 61667 invoked from network); 10 Mar 2001 23:12:28 -0000 Received: from unknown (10.1.10.27) by l10.egroups.com with QMQP; 10 Mar 2001 23:12:28 -0000 Received: from unknown (HELO mail.oltronics.net) (204.213.85.8) by mta2 with SMTP; 10 Mar 2001 23:12:28 -0000 Received: from neofelis (i012-1.clt-nc.oltronics.net [207.15.133.12]) by mail.oltronics.net (8.9.3/8.9.3) with SMTP id XAA26923 for ; Sat, 10 Mar 2001 23:11:13 GMT Reply-To: phma@oltronics.net To: lojban@yahoogroups.com Subject: Re: [lojban] Re: How do you parse lujvo into the component rafsi? Date: Sat, 10 Mar 2001 18:09:43 -0500 X-Mailer: KMail [version 1.0.29.2] Content-Type: text/plain References: <98ch2a+10601@eGroups.com> In-Reply-To: <98ch2a+10601@eGroups.com> MIME-Version: 1.0 Message-Id: <01031018115206.01033@neofelis> Content-Transfer-Encoding: 8bit From: Pierre Abbat X-Yahoo-Message-Num: 5754 On Sat, 10 Mar 2001, seidensticker@msn.com wrote: >Assuming the grammar below is correct, I've made the following >algorithm, which I assume to be equivalent. > >if the remainder of the string begins CVVr or CVVn or CVV or CVCy >then chop off that token and recurse >else if the remainder begins CCV > then if the remainder begins Cy > then chop off the CCVCy and recurse > else if the remainder begins CV > then chop off the terminal CCVCV and end > else chop off the CCV and recurse > else if the remainder begins CVC > then if the remainder begins Cy > then chop off the CVCCy and recurse > else if the remainder begins CV > then chop off the terminal CVCCV and end > else chop off the CVC and recurse > >Does this sound like the correct way to parse a lujvo into rafsi >tokens? Remainder ki'a. This sounds like you need to throw in a bunch of goi ko'as to make it comprehensible. phma