WikiDiscuss

WikiDiscuss


PEG Morphology Algorithm

posts: 14214

On Tue, Dec 21, 2004 at 04:22:32AM -0800, Jorge Llamb?as wrote:
>
> --- Robin Lee Powell wrote:
>
> > Bug?:
> >
> > Morphology pass: text=( nonLojbanWord=( KREFU ) )
> >
> > I'm assuming that caps are always equivalent, as that's what the
> > CLL seems to say, so that should just be {krefu}, yes?
>
> {krefu} can't have the last syllable stressed, so {KREFU} or
> {krEfU} is not a lojban word. Any variant without U should be
> accepted: {KREFu}, {KREfu}, {KReFu }, {KrEFu}, {kREFu}, {KRefu },
> {KrEfu}, {kREfu}, {KreFu }, {kReFu }, {krEFu}, {Krefu }, {kRefu },
> {krEfu}, {kreFu }, {krefu }.

text
selbri3
|- BRIVLA
| gismu: KREFu
|- BRIVLA
| gismu: KREfu
|- BRIVLA
| gismu: KReFu
|- BRIVLA
| gismu: KrEFu
|- BRIVLA
| gismu: kREFu
|- BRIVLA
| gismu: KRefu
|- BRIVLA
| gismu: KrEfu
|- BRIVLA
| gismu: kREfu
|- BRIVLA
| gismu: KreFu
|- BRIVLA
| gismu: kReFu
|- BRIVLA
| gismu: krEFu
|- BRIVLA
| gismu: Krefu
|- BRIVLA
| gismu: kRefu
|- BRIVLA
| gismu: krEfu
|- BRIVLA
| gismu: kreFu
|- BRIVLA
gismu: krefu

..u'i sai

> I suppose we could make a rule that if only caps are used
> throughout the text, they are treated as lower case. Not sure how
> to implement it though.

Nah, let's not bother. (although it is from Alice, IIRC, so you may
want to look at fixing it).

-Robin