Class FGEN

java.lang.Object
  |
  +--FGEN

public class FGEN
extends java.lang.Object

This is an interface to the methods in fgen.jar that generate most common inflected word forms for Finnish Nouns, Adjectives and Verbs.

Version:
1.0
Author:
Alpo Lind www.teemapoint.com

Field Summary
static int ADESSIVE
           
static java.lang.String ADJ
          Adjective word class
static int ALLATIVE
           
static int COMPARATIVE
           
static int ELATIVE
           
static int ESSIVE
           
static int FIRST
          1st person
static int GENITIVE
           
static int ILLATIVE
           
static int IMPERATIVE
           
static int IMPERFECT
          Imperfect Tense
static int INESSIVE
           
static java.lang.String NOUN
          Noun word class
static int PARTITIVE
           
static int PASSIVE
           
static int PERFECT
          Present Perfect
static int PLUPERFECT
          Past Perfect
static int PRESENT
          Present Tense
static int SECOND
          2nd person
static int SUPERLATIVE
           
static int THIRD
          3rd person
static int TRANSLATIVE
           
static java.lang.String VERB
          Verb word class
 
Constructor Summary
FGEN()
           
 
Method Summary
 java.lang.String getInflectedForm(java.lang.String baseForm, java.lang.String wordClass, boolean singular, int caseNumber)
          Get an inflected form for Nouns and Adjectives. For comparative and superlative genitives, translatives etc., call this method twice.
 java.lang.String getInflectedForm(java.lang.String baseForm, java.lang.String wordClass, boolean singular, int personNumber, int tenseNumber, boolean negative, boolean conditional)
          Get an inflected form for Verbs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOUN

public static final java.lang.String NOUN
Noun word class

ADJ

public static final java.lang.String ADJ
Adjective word class

VERB

public static final java.lang.String VERB
Verb word class

GENITIVE

public static final int GENITIVE

PARTITIVE

public static final int PARTITIVE

ESSIVE

public static final int ESSIVE

ILLATIVE

public static final int ILLATIVE

ALLATIVE

public static final int ALLATIVE

ADESSIVE

public static final int ADESSIVE

ELATIVE

public static final int ELATIVE

INESSIVE

public static final int INESSIVE

TRANSLATIVE

public static final int TRANSLATIVE

COMPARATIVE

public static final int COMPARATIVE

SUPERLATIVE

public static final int SUPERLATIVE

FIRST

public static final int FIRST
1st person

SECOND

public static final int SECOND
2nd person

THIRD

public static final int THIRD
3rd person

PASSIVE

public static final int PASSIVE

IMPERATIVE

public static final int IMPERATIVE

PRESENT

public static final int PRESENT
Present Tense

IMPERFECT

public static final int IMPERFECT
Imperfect Tense

PERFECT

public static final int PERFECT
Present Perfect

PLUPERFECT

public static final int PLUPERFECT
Past Perfect
Constructor Detail

FGEN

public FGEN()
Method Detail

getInflectedForm

public java.lang.String getInflectedForm(java.lang.String baseForm,
                                         java.lang.String wordClass,
                                         boolean singular,
                                         int caseNumber)

Get an inflected form for Nouns and Adjectives.

For comparative and superlative genitives, translatives etc., call this method twice. First take the comparative or superlative form of the adjective and then use the inflected form as a base form in the second call.


getInflectedForm

public java.lang.String getInflectedForm(java.lang.String baseForm,
                                         java.lang.String wordClass,
                                         boolean singular,
                                         int personNumber,
                                         int tenseNumber,
                                         boolean negative,
                                         boolean conditional)
Get an inflected form for Verbs.