[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] lujvo deconstruction



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 <phma@phma.optus.nu> 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.