OMorFi: Demo Outline

The analyzer and generator demos on the internet are intended to demonstate our capabilities to morphologically analyze and generate various languages. Some of the languages also contain a component for guessing paradigms of unknown words in the language.

Below is a specification of the two demos depending on whether the language has a statistical paradigm guessing component.

No Guessing Component

Analysis

Input: kokeilla

Output:

koe 48-d nominal, plural, adessive
kokeilla 67 verb, active, a-infintive, singular, lative
kokeilla 67 verb, passive, indicative, present, 4th person, negative
kokki 5-a nominal, plural, adessive

Method:

hanalyse(Input)

Generation

Input: kokeilla

Output:

kokeilla 67 kokeilla, kokeilen, kokeili, kokeilisi, kokeillee, kokeilkoon, kokeillut, kokeiltiin

Method:

for Analysis in hanalyse(Input): 
    if(Analysis.baseform=Input): 
        hgenerate(Analysis)

With guessing component

Analysis

Input: xkokeilla

Output:

xkoe 48-d nominal, plural, adessive
xkokeilla 67 verb, active, a-infintive, singular, lative
xkokeilla 67 verb, passive, indicative, present, 4th person, negative
xkokki 5-a nominal, plural, adessive
...  

Method:

if(no hanalyse(Input)): 
    hwanalyse(Input)

NOTE. Need to modify current hparadigm to output not only paradigms but also the potential analysis, i.e. hwanalyse

Generation

Input: xkokeilla

Output:

xkokeilla 67 xkokeilla, xkokeilen, xkokeili, xkokeilisi, xkokeillee, xkokeilkoon, xkokeillut, xkokeiltiin

Method:

if(no hanalyse(Input)): 
    for Analysis in hwanalyse(Input): 
        if(Analysis.baseform=Input): 
            hgenerate(Analysis)


NOTE. The demo only prints unique Output lines, i.e. a line is printed only the first time it appears as the order may be significant


-- KristerLinden - 22 Apr 2008

Edit | Attach | Print version | History: r12 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2008-04-23 - KristerLinden
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback