WikiDiscuss

WikiDiscuss


Re: PEG Morphology Algorithm

posts: 1912


Humanly readable algorithm for identifying fu'ivla.

A "syllable" is any permissible consonant cluster, or an apostrophe, or nothing, followed by a diphthong or by a single vowel.

Given a string of characters:

1. Check that it does not start with a cmene, a gismu or a lujvo.

2. Check whether it starts with a fu'ivla-head. A fu'ivla-head is something that looks like a cmavo without any y's. If there is no fu'ivla-head, go straight to 3.

A. If the fu'ivla-head is not followed by a consonant cluster, there is no fu'ivla (the head will fall off as a cmavo).

B. If the fu'ivla-head is followed by a non-initial cluster and one or more syllables, we have a fuhivla. If one of the syllables is stressed, the fu'ivla ends with the next syllable, otherwise it ends after the final syllable.

C. If the fu'ivla-head is followed by a permissible cluster, it may fall off. There is one case where it is saved: if only a single syllable follows the cluster, or if the head has a final stress so that it will accept only one more syllable. In those cases we have a fu'ivla.

3. If there is no fu'ivla head, that means we have a cluster. If it is not an initial-cluster, we don't ahve a valid word. If it is an initial cluster, it has to be followed by at least two syllables, and you need to check that adding {le} in front (or any other CV cmavo) does not convert it into a lujvo. If that doesn't happen, we have a fu'ivla.

In summary, we have just three types of possible fu'ivla:

1- Head fu'ivla with non-initial cluster plus tail.
2- Head fu'ivla with initial-cluster plus a single syllable ("short-tail")
3- Headless fu'ivla that pass the slinku'i test

mu'o mi'e xorxes