From lojban+bncCOjSjrXVGBCln67mBBoE4sCeVA@googlegroups.com Fri Oct 29 20:23:32 2010 Received: from mail-gy0-f189.google.com ([209.85.160.189]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1PC22T-0006bU-L7; Fri, 29 Oct 2010 20:23:32 -0700 Received: by gyd5 with SMTP id 5sf5493965gyd.16 for ; Fri, 29 Oct 2010 20:23:23 -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=t268A0DxWsjuKRxiKgMfILLNYA1/IADJWoBMIqlCUzM=; b=csBs8qDCilXVLDuPpqEKfICFlmKBhqtjIrP54ZQc6KMqDnD0+vBz2u37wImEiR33Z+ zAc5GXm1nmQuSZg/U9D5QKrN9LA2a4RPyWKVVeyvhHmAspGVWdo2uHVkL82xvRt0BoVu K1yTRdxlL7jxQGghirBH5jyGqdSKPRqBG3npo= 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=2B/9SbAzrywHhxa094JdtBzeKtuOh2lfHxYKX2qhMw7PaLlgBJMCuDTikZcQWE9PdV KPmZ3/5Q4rnscqNTr76Om4jSQNW93SiPY+xsj9xPEsuc23i7gxiJ7yYEitSOtQkkA0lE fPkAbvihEEKgBZS/7RM4IXayRJ5RD0EW4DQL8= Received: by 10.91.51.35 with SMTP id d35mr394769agk.18.1288408997975; Fri, 29 Oct 2010 20:23:17 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.231.180.73 with SMTP id bt9ls1663919ibb.0.p; Fri, 29 Oct 2010 20:23:17 -0700 (PDT) Received: by 10.231.37.194 with SMTP id y2mr89018ibd.12.1288408996851; Fri, 29 Oct 2010 20:23:16 -0700 (PDT) Received: by 10.231.37.194 with SMTP id y2mr89017ibd.12.1288408996813; Fri, 29 Oct 2010 20:23:16 -0700 (PDT) Received: from mail-iw0-f170.google.com (mail-iw0-f170.google.com [209.85.214.170]) by gmr-mx.google.com with ESMTP id bm7si3787408ibb.2.2010.10.29.20.23.15; Fri, 29 Oct 2010 20:23:15 -0700 (PDT) Received-SPF: pass (google.com: domain of lukeabergen@gmail.com designates 209.85.214.170 as permitted sender) client-ip=209.85.214.170; Received: by mail-iw0-f170.google.com with SMTP id 9so3747014iwn.15 for ; Fri, 29 Oct 2010 20:23:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.36.11 with SMTP id r11mr1178793ibd.58.1288408993981; Fri, 29 Oct 2010 20:23:13 -0700 (PDT) Received: by 10.231.149.14 with HTTP; Fri, 29 Oct 2010 20:23:13 -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 23:23:13 -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.170 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=000325550e5a69656e0493cd1835 --000325550e5a69656e0493cd1835 Content-Type: text/plain; charset=ISO-8859-1 Hmm, another thing just occurred to me. Given your description of what you did with valfendi, how do you differentiate between "y" hyphens and the "y" that happen in "trocy". It seems like your parser could potentially get weirdness if it sees "y" as a hyphen there. 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. --000325550e5a69656e0493cd1835 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hmm, another thing just occurred to me. =A0Given your description of what y= ou did with valfendi, how do you differentiate between "y" hyphen= s and the "y" that happen in "trocy". =A0It seems like = your parser could potentially get weirdness if it sees "y" as a h= yphen there.

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.
--000325550e5a69656e0493cd1835--