morphology: words

From Lojban
Revision as of 08:15, 19 March 2015 by Gleki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A word can be a lojban-word or a non-lojban-word.

A lojban-word can be a cmevla, a cmavo or a brivla.

If the string begins with a cmevla, extract it, else if it begins with a cmavo, extract it, else if it begins with a brivla, extract it, else it begins with a non-lojban-word, and so extract it.