From lojban+bncCOjSjrXVGBCY_azmBBoEHUxZaA@googlegroups.com Fri Oct 29 14:37:43 2010 Received: from mail-gw0-f61.google.com ([74.125.83.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1PBwdo-0000L7-4g; Fri, 29 Oct 2010 14:37:43 -0700 Received: by gwj20 with SMTP id 20sf5032836gwj.16 for ; Fri, 29 Oct 2010 14:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:received:received :in-reply-to:references:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=XROpuWG+rKXHCth10Gbscd7OT6aXZRibRNqsgvKTzsk=; b=F27c7E/ZyX0/zau4Ha26yUbxbPgLbVLHpLoyBPyShLo4myjI6b7w9h49O1AhOZaT8A Iz0+CLZp6euKcbxt3rIfycAFweUxVUbJPQj/DTjFu5WhU+tSFRjUXoJciD+9nocumTiK Hc/ti8cse+Z+CI1UpVIWl1SDZPAeMo9pI+IQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=zI7Y2mATsAOqrQwi4uHqM84Jpc9PLPyFFIxMFa9hR3d+MH2NJ5x0l3ak5KUPfuoQJO rZmZIrJ+QVl8WCeZ17lDbJ9LS7TDGxXLn7iwMnp5xoWlhunCvEP/H4iKMGKSR3qqW3gT vMPI/zyUVTpem71bbdA027pw7zPILOpwBE3FA= Received: by 10.151.3.13 with SMTP id f13mr1949140ybi.79.1288388248133; Fri, 29 Oct 2010 14:37:28 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.231.39.10 with SMTP id d10ls3220143ibe.3.p; Fri, 29 Oct 2010 14:37:27 -0700 (PDT) Received: by 10.231.166.211 with SMTP id n19mr3792867iby.8.1288388247441; Fri, 29 Oct 2010 14:37:27 -0700 (PDT) Received: by 10.231.166.211 with SMTP id n19mr3792866iby.8.1288388247399; Fri, 29 Oct 2010 14:37:27 -0700 (PDT) Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by gmr-mx.google.com with ESMTP id bm7si3608687ibb.2.2010.10.29.14.37.26; Fri, 29 Oct 2010 14:37:26 -0700 (PDT) Received-SPF: pass (google.com: domain of lukeabergen@gmail.com designates 209.85.214.172 as permitted sender) client-ip=209.85.214.172; Received: by mail-iw0-f172.google.com with SMTP id 40so4203952iwn.17 for ; Fri, 29 Oct 2010 14:37:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.145.140 with SMTP id d12mr83034ibv.83.1288388246115; Fri, 29 Oct 2010 14:37:26 -0700 (PDT) Received: by 10.231.149.14 with HTTP; Fri, 29 Oct 2010 14:37:26 -0700 (PDT) In-Reply-To: <201010291732.15634.phma@phma.optus.nu> References: <20101029170344.GB47249@alice.local> <201010291732.15634.phma@phma.optus.nu> Date: Fri, 29 Oct 2010 17:37:26 -0400 Message-ID: Subject: Re: [lojban] lujvo deconstruction From: Luke Bergen To: lojban@googlegroups.com X-Original-Sender: lukeabergen@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lukeabergen@gmail.com designates 209.85.214.172 as permitted sender) smtp.mail=lukeabergen@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=0016e642d340be16820493c843bc --0016e642d340be16820493c843bc Content-Type: text/plain; charset=ISO-8859-1 Wait, what are syllabic consonants? So, if I'm trying to parse out a lujvo into its component rafsi, should I not worry when I see "m" or "l"? There's no way that they could be anything but part of a rafsi? Further, what is this about hyphen-letters only being allowed after the first rafsi? I can understand why the rafsi before an r/n-hyphen would need to be CVV or CV'V, but why can't r/n-hyphen come after the second or third rafsi? On Fri, Oct 29, 2010 at 5:32 PM, Pierre Abbat wrote: > On Friday 29 October 2010 13:34:56 Luke Bergen wrote: > > Sorry, yes, I was providing very rough pseudocode for my script. I do > look > > from left to right. But since rafsi are always 3 letters (minus any > > ' characters and excluding 4 letter rafsi), I take them in chunks of 3. > > > > an example with morsi would be "xamymro". My code would go like: > > grab left most three chars, check for .y'ys and grab a fourth char if > there > > is a .y'y > > look up the rafsi, chop off what you found to be the "leftmost" rafsi and > > loop again with what you have left > > Now we're looking at "ymro" > > Strip off "y" and we're left with "mro". Now because I'm assuming that > > "r", "l", "m", or "n" followed by a consonant is a buffer vowel, I see > > "mro" and think "ok, the 'm' is a buffer vowel so grab another char so > > we're back to a 3 letter rafsi", I then try to grab whatever comes after > > "o" and get a null-pointer or some such. > > The way I do it in valfendi is first break the prospective lujvo at the > y-hyphens, then look for r-hyphens. An r-hyphen occurs only after the first > rafsi, which must be a CVV (or CV'V) rafsi. Make sure it does the right > thing > with "fu'arka". > > "m" is a syllabic consonant, but not a hyphen-letter. The hyphen-letters > are "r" and "n" in lujvo, and also "l" in fu'ivla. > > The program is at http://phma.optus.nu/Language/valfendi.html . I haven't > touched it in years, but probably will early next year. > > Pierre > -- > lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko > > -- > You received this message because you are subscribed to the Google Groups > "lojban" group. > To post to this group, send email to lojban@googlegroups.com. > To unsubscribe from this group, send email to > lojban+unsubscribe@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/lojban?hl=en. > > -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en. --0016e642d340be16820493c843bc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wait, what are=A0syllabic=A0consonants?

So, if I'm t= rying to parse out a lujvo into its component rafsi, should I not worry whe= n I see "m" or "l"? =A0There's no way that they cou= ld be anything but part of a rafsi?

Further, what is this about hyphen-letters only being a= llowed after the first rafsi? =A0I can understand why the rafsi before an r= /n-hyphen would need to be CVV or CV'V, but why can't r/n-hyphen co= me after the second or third rafsi?

On Fri, Oct 29, 2010 at 5:32 PM, Pierre Abba= t <phma@phma.opt= us.nu> wrote:
On Friday 29 October 2010 13:34:56 Luke Bergen wrote:
> Sorry, yes, I was providing very rough pseudocode for my script. =A0I = do look
> from left to right. =A0But since rafsi are always 3 letters (minus any=
> ' characters and excluding 4 letter rafsi), I take them in chunks = of 3.
>
> an example with morsi would be "xamymro". =A0My code would g= o like:
> grab left most three chars, check for .y'ys and grab a fourth char= if there
> is a .y'y
> look up the rafsi, chop off what you found to be the "leftmost&qu= ot; rafsi and
> loop again with what you have left
> Now we're looking at "ymro"
> Strip off "y" and we're left with "mro". =A0No= w because I'm assuming that
> "r", "l", "m", or "n" followed= by a consonant is a buffer vowel, I see
> "mro" and think "ok, the 'm' is a buffer vowel = so grab another char so
> we're back to a 3 letter rafsi", I then try to grab whatever = comes after
> "o" and get a null-pointer or some such.

The way I do it in valfendi is first break the prospective lujvo at t= he
y-hyphens, then look for r-hyphens. An r-hyphen occurs only after the first=
rafsi, which must be a CVV (or CV'V) rafsi. Make sure it does the right= thing
with "fu'arka".

"m" is a syllabic consonant, but not a hyphen-letter. The hyphen-= letters
are "r" and "n" in lujvo, and also "l" in fu&= #39;ivla.

The program is at http://phma.optus.nu/Language/valfendi.html . I haven&= #39;t
touched it in years, but probably will early next year.

Pierre
--
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko

--
You received this message because = you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojba= n?hl=3Den.


--
You received this message because you are subscribed to the Google Groups "= lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com.
For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.
--0016e642d340be16820493c843bc--