Kven Finnish NLP Grammar

Finite state and Constraint Grammar based analysers, proofing tools and other resources

View the project on GitHub giellalt/lang-fkv

Kven morphological transducer

Beware of remnants from the Finnish file. Take nothing at face value!

Tags for POS

Tags for grammar

Pronoun types

Number

Number-person

Case

Comparatives

Finite verbs

Infinite verbs

Punctuation

Speller tags

Usage tags

Compounds

Derivation

Clitic tags

Tokeniser tags

Semantic tags

Dialect tags

Lexeme disambiguation tags

Stem variant tags

Phonological symbols

Flag diacritics

We have manually optimised the structure of our lexicon using following flag diacritics to restrict morhpological combinatorics - only allow compounds with verbs if the verb is further derived into a noun again:

Flag Explanation
@P.NeedNoun.ON@ (Dis)allow compounds with verbs unless nominalised
@D.NeedNoun.ON@ (Dis)allow compounds with verbs unless nominalised
@C.NeedNoun@ (Dis)allow compounds with verbs unless nominalised

For languages that allow compounding, the following flag diacritics are needed to control position-based compounding restrictions for nominals. Their use is handled automatically if combined with +CmpN/xxx tags. If not used, they will do no harm.

Flag Explanation
@P.CmpFrst.FALSE@ Require that words tagged as such only appear first
@D.CmpPref.TRUE@ Block such words from entering ENDLEX
@P.CmpPref.FALSE@ Block these words from making further compounds
@D.CmpLast.TRUE@ Block such words from entering R
@D.CmpSuff.TRUE@ Block such words from entering R
@P.CmpSuff.TRUE@ Mark that we have passed R
@D.CmpNone.TRUE@ Combines with the next tag to prohibit compounding
@U.CmpNone.FALSE@ Combines with the prev tag to prohibit compounding
@P.CmpOnly.TRUE@ Sets a flag to indicate that the word has passed R
@D.CmpOnly.FALSE@ Disallow words coming directly from root.

Use the following flag diacritics to control downcasing of derived proper nouns (e.g. Finnish Pariisi -> pariisilainen). See e.g. North Sámi for how to use these flags. There exists a ready-made regex that will do the actual down-casing given the proper use of these flags.

Flag Explanation
@U.Cap.Obl@ Allowing downcasing of derived names: deatnulasj.
@U.Cap.Opt@ Allowing downcasing of derived names: deatnulasj.
@C.ErrOrth@ tbw
@D.ErrOrth.ON@ tbw
@P.ErrOrth.ON@ tbw
@R.ErrOrth.ON@ tbw
@P.Pmatch.Loc@ Used on multi-token analyses; tell hfst-tokenise/pmatch where in the form/analysis the token should be split.
@P.Pmatch.Backtrack@ Used on single-token analyses; tell hfst-tokenise/pmatch to backtrack by reanalysing the substrings before and after this poin in the form (to find combinations of shorter analyses that would otherwise be missed)

Pronoun flags

Flag Explanation
@U.pron.nom@ tbw
@U.pron.gen@ tbw
@U.pron.gen2@ tbw
@U.pron.ill@ tbw
@U.pron.par@ tbw
@U.pron.par2@ tbw
@U.pron.par3@ tbw
@U.pron.ess@ tbw
@U.pron.tra@ tbw
@U.pron.ine@ tbw
@U.pron.ela@ tbw
@U.pron.all@ tbw
@U.pron.ade@ tbw
@U.pron.abl@ tbw
@P.compound.block@ tbw
@D.compound.block@ tbw

Basic lexica, pointing to the other lexicon files

Here is the Root lexicon, pointing to all the parts of speech:

LEXICON Root

LEXICON Acronym pointing to:

LEXICON Abbreviation pointing to:


This (part of) documentation was generated from src/fst/morphology/root.lexc