[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] How do you parse lujvo into the component rafsi?
la seidensticker cusku di'e
lujvo = InitialRafsi TermainlRafsi
InitialRafsi = Rafsi InitialRafsi | <null>
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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.