Mova0.6 pre-release

the flag of Finland 38. Finnish in Mova

Mova separates language identification from grammatical parsing. Identification assigns a language to a span. Parsing uses that label to select a model. Finnish uses Latin script, which Finnish shares with languages the identification component already supports. The package has limited support for identifying Finnish spans and contains neither a Finnish parser model nor an annotated Finnish corpus. The missing-model output described in this chapter applies when the parser receives a span labeled fi. Finnish identification and parsing accuracy remain unmeasured in the package.

Language identification and the present limits of Finnish span detection

Language identification supplies the label that determines which parser model a span needs. In multilingual text, Mova assigns language labels at sentence and span level. A sentence can contain material in more than one language. Parser selection uses the label of each span.

For Latin-script text, the identification component distinguishes English and French. It uses a Latin-script table, language lexicons and a character four-gram model. The component also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. The fallback label other applies to scripts outside the supported ranges. Finnish shares Latin script with English and French, so script alone cannot identify a span as Finnish.

Adding a Latin-script language requires a lexicon and a language code in the identification component. An open Universal Dependencies (UD) training split can supply the lexicon. The separate parser model provides grammatical analysis after the component has assigned the language. Reliable Finnish span detection remains unestablished. The missing-model behavior described below applies when a span has already been assigned fi.

An evaluation of Finnish identification needs reference language labels and span boundaries. Finnish-only sentences test recognition without a language switch. Mixed-language sentences test recognition at switches, and examples containing only other languages reveal false assignments of fi. The reference annotation should specify how to handle punctuation and forms shared by several languages where these affect a boundary. Report language-label accuracy and boundary accuracy separately and define what counts as a boundary match. Keep evaluation examples separate from material used to build the identification lexicon. Dependency accuracy requires a separate evaluation.

Missing-model output in CoNLL-U

If the multilingual parser receives a span labeled fi, it has no Finnish model to apply. The # parse sentence comment reports the missing model. On token rows for the affected span, six grammatical fields have the CoNLL-U missing-value marker _. The MISC field contains the entry Parse=None.

CoNLL-U fieldValue for a token in a span labeled fiInformation unavailable
LEMMA_Lemma
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCContains Parse=NoneModel-based grammatical analysis

The same missing-model condition accounts for all six underscores. In FEATS, _ gives no evidence about case, number or other morphological properties. In HEAD, _ leaves the head unspecified. CoNLL-U uses 0 in HEAD to identify a root. In a mixed-language sentence, Parse=None identifies the affected token rows, while the # parse comment reports the condition at sentence level.

Kissa nukkuu. (constructed)

FormGloss
Kissacat.NOM.SG
nukkuusleep.PRS.3SG

‘The cat is sleeping.’

If the span in this example is supplied with the label fi, its token rows receive the missing-model values. The gloss is a manual analysis of the two words. NOM marks nominative, SG marks singular and PRS.3SG marks present tense and third-person singular. These features are unavailable in the fallback rows. The rows record the tokens supplied to the parser, whose output gives no evidence of Finnish-specific tokenization.

Finnish annotated data and the unmeasured baseline

The Turku Dependency Treebank is available as UD Finnish-TDT in Universal Dependencies release 2.15. Its repository provides Finnish dependency data and annotation documentation. The release identifies the data and conventions for a reproducible training and evaluation run (UD Finnish-TDT, release 2.15, Introduction).

The treebank is a public resource. Mova holds no annotated Finnish corpus, and the package has no measured Finnish treebank baseline. There are no Finnish UAS or LAS results for Mova to report.

A training-to-development baseline fits the parser on the training split and evaluates its predictions against the reference analyses in the development split. Both splits must be identified by treebank and release. Keep development annotations out of model fitting. If development scores guide model selection, describe the result as a development score. An evaluation after model selection requires a separate held-out split for a score on unseen evaluation data. A comparison with another system should identify the fitting data, evaluation data and scoring procedure for each result.

The treebank can also inform the grammar manual where its annotations bear directly on a claim. An annotated example can show how Finnish-TDT represents a construction. A frequency claim requires the release, the split or splits counted, a rule for counting instances and the denominator if the claim is a proportion. If a count uses an annotation label as evidence for a construction, define the annotation pattern counted so that the result can be reproduced (UD Finnish-TDT, release 2.15, Introduction).

The training and evaluation path for a Finnish UD model

Mova uses its own tree parser and tagger for the language baseline. The Finnish baseline requires a Finnish UD training split and the corresponding development split from the same treebank release. The versioned resource cited here is UD Finnish-TDT in release 2.15 (UD Finnish-TDT, release 2.15, Introduction).

StageInput or prerequisiteOperation or result
Select dataA specified Finnish UD treebank releaseIdentify its training and development splits.
Prepare training dataThe training splitApply en xpos-fill before training.
Fit the parser and taggerThe prepared training splitRun en train to train the model.
Measure dependency accuracyThe trained model and the development splitRun en parse-eval and report UAS and LAS for the training-to-development baseline.
Make the model available to multilingual parsingA Finnish model associated with fiModel selection can use the association when the parser receives a span assigned fi.

Unlabeled attachment score (UAS) is the proportion of scored tokens assigned the reference head. Labeled attachment score (LAS) is the proportion assigned both the reference head and the reference dependency relation. A token with the correct head and an incorrect relation counts as correct for UAS only. Language labels, lemmas, part-of-speech tags and morphological features require their own evaluation measures.

A baseline report should identify the treebank release, training and development splits, model preparation and scoring procedure. State which tokens the scorer includes, including how it treats punctuation, and whether the input uses the treebank's token boundaries. If reference tags or features are supplied as input, record that condition as well. An evaluation on raw multilingual text also needs a way to assess language assignment and to compare predicted token and span boundaries with the reference. Both the Finnish development baseline and an evaluation on raw Finnish input remain unmeasured in the package.

Requirements for frames and pragmatics

Mova’s frame, pragmatic and world components read English dependency trees. The Finnish missing-model output supplies no Finnish tree. A Finnish UD model would supply the syntactic analysis. Finnish interpretation also requires knowing how the components would use the annotations and how those annotations represent the constructions under test.

A frame evaluation needs a reference predicate, its intended frame and the role of each expression that fills a slot in that frame. Record any relevant participant that has no overt expression. Dependency relations can help locate the expressions, while the reference roles specify how to interpret them. In the constructed pair Aino avasi oven ‘Aino opened the door’ and Ovi avattiin ‘The door was opened’, the door is the entity opened in both clauses. The first names the opener, and the second leaves the opener unexpressed. The pair tests whether interpretation preserves the door's role across the active and impersonal passive clauses.

A pragmatics test needs enough context to support the expected reading. Record the relevant speaker, addressee and preceding turn where these matter. For example, in a constructed exchange about plans for the following day, Tuletko huomenna? ‘Are you coming tomorrow?’ asks whether the addressee is coming. The test can specify a yes–no question as the expected reading and identify -ko on tulet ‘you come’ as a cue. When a test targets a context-dependent reading, it needs the context and the expected interpretation in addition to the cue. These examples specify evaluation targets. The current package supplies no Finnish tree for the frame, pragmatic or world components to read.

Grammar claims in Squid and priorities for Finnish

Squid reads the grammar manual as a set of grammatical claims. Formalizable claims, including rules, closed lists and statistics, enter its queue for possible implementation in Mova. A queue entry records a claim that can be turned into code or checks. Implementation requires a separate change in the relevant component.

A rule needs explicit inputs, conditions, outputs and any exceptions. Add an example that meets the conditions and, where a boundary or exception matters, one that shows the expected behavior there. A closed list needs a defined domain and every member of that domain. A statistical claim needs a population, a unit of count and a reproducible counting rule. For treebank statistics, identify the release and the splits included.

The first Finnish claims to formalize are those needed for tokenization, tagging and a UD treebank baseline. A tokenization claim should give the input string and the expected sequence of tokens, especially near punctuation or attached material. A tagging claim should identify the token or construction, the evidence available to the tagger and the expected category or feature values in the annotation. A claim used to check dependency output should specify the reference head and relation, including the root convention where relevant. Claims tied to Finnish-TDT should identify the release and follow its documented annotation conventions (UD Finnish-TDT, release 2.15, Introduction).

Claims about frames or discourse have further prerequisites. A claim about enclitic scope needs the construction, the context when it affects the reading and the expected scope. An interpretation test also needs a Finnish analysis from which the component can recover the relevant construction. The manual can state the grammatical claim independently of software support for interpreting it.

How Mova handles Finnish in the current package

tools/mova-parse has two levels. At level 1, tools/langseg assigns a language to sentences and spans where its script and lexical support allow it. Its Latin-script resources distinguish English and French using a Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported ranges receive other. The identification component uses a Lang code and a lexicon for a supported Latin-script language. langseg latin-lexicon produces a lexicon from open UD training splits.

At level 2, tools/mova-parse selects a model by the language of each span. There is no level-2 model for fi. If a span is assigned fi, the # parse comment reports the missing model. On the affected token rows, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _, and MISC contains Parse=None. Finnish-specific tokenization, tagging, lemmatization and parsing are unavailable.

The en crate contains Mova’s parser and tagger. en xpos-fill prepares the UD training data before en train fits the model. en parse-eval measures UAS and LAS on the development split. The available models are en.bin for English and fr.bin for French. Mova holds no annotated Finnish corpus, and the Finnish baseline remains unmeasured.

prag and world read English trees. The package supplies no Finnish trees to these components. Squid queues formalizable grammatical claims from the manual for implementation.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/fi/38-finnish-in-mova/