Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/nap/26-mova-tools/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [nap](https://md.mova.elamur.ai/free/en/docs/languages/nap/) / 26. Neapolitan in Mova

# 26. Neapolitan in Mova

Neapolitan has the language code `nap`. Mova has neither a parser model nor a dependency treebank for it, so there is no measured parsing baseline. This chapter describes the output available for Neapolitan text, the role of the grammar manual, and the annotation decisions needed to train and evaluate a first model.

## Language identification and Latin-script support

Language identification assigns a language to a sentence or span. For Neapolitan, recognizing the Latin script gets only as far as identifying the script. Neapolitan shares letters, accents, and some word forms with other languages written in Latin script. The language identifier's documented distinctions within that script are English and French. Its evidence for those languages comes from a table for Latin script, a lexicon for each language, and a model of sequences of four characters. A further Latin-script language can be added with a lexicon and a language code. The availability of `nap` as an edition code does not establish that the identifier can recognize Neapolitan.

The Wikipedia extracts illustrate why language identification has to consider context. Accented vowels and apostrophes can contribute evidence alongside the words around them. Place names and borrowed names can occur inside a Neapolitan span, and some extracts are lists of names with little other evidence. The following fragments illustrate both kinds of input. All the forms are in Latin script.

| Form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| `int'â lengua napulitana` | in-the language Neapolitan | ‘in the Neapolitan language’ | `wiki:nap:Paggena prencepale` |
| `da pruvincia 'e Genova` | of-the province of Genoa | ‘of the province of Genoa’ | `wiki:nap:Gorreto` |
| `Alpe di Gorreto` | Alpe of Gorreto | ‘Alpe di Gorreto’ | `wiki:nap:Gorreto` |

## Parser model availability and Parse=None output

Mova's multilingual parser first assigns languages at sentence and span level, then looks for a parser model for each span's language. The model lookup uses the language code. There is no model for `nap`. When a span reaches the parser with that code, the `# parse` comment reports the missing model and each token row carries `Parse=None` in MISC.

| Column | Value | Annotation left unfilled |
| --- | --- | --- |
| LEMMA | `_` | Dictionary form |
| UPOS | `_` | Universal part of speech |
| XPOS | `_` | Language-specific part of speech |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Syntactic head |
| DEPREL | `_` | Dependency relation to the head |
| MISC | `Parse=None` | Records the absence of a parse |

The underscores leave open what the lemma, tag, features, head and relation would be in an annotated analysis. Read `Parse=None` at the level of the affected rows, since a multilingual sentence can contain spans assigned to different languages. The presence of rows also gives no evidence that their boundaries have been checked against a Neapolitan tokenization convention.

## Treebank availability and the unmeasured parsing baseline

Mova has Neapolitan text examples but holds no annotated Neapolitan treebank. The sentence IDs identify text from the corpus. They do not supply reference lemmas, tags, morphological features, or dependency trees. An evaluation needs manually checked reference annotation, with separate training and development splits for the package's train-to-development baseline.

Unlabeled attachment score (UAS) measures how often the parser chooses the reference syntactic head for a scored word. Labeled attachment score (LAS) requires both the reference head and the reference dependency relation. Mova has no measured Neapolitan UAS or LAS. The missing baseline gives no estimate of how well a future model would handle the corpus. In the current output, `Parse=None` records model availability and supplies no attachment decisions to score.

## Frames and pragmatics

Mova's frame, pragmatics and world components read English dependency trees. For a Neapolitan span with `Parse=None`, there is no dependency tree for those components to read. A future Neapolitan tree would supply a prerequisite for analysis. The current components are described for English.

The difference between what a reader understands and what Mova produces is visible in a corpus greeting.

| Form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| `Bemmenuto` | welcome | ‘Welcome!’ | `wiki:nap:Paggena prencepale` |

In context, the word welcomes a visitor to the site. Its force as a greeting is a reading of the attested text. The example illustrates a pragmatic interpretation that the current Neapolitan output does not supply.

## Grammar claims in Squid

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims include rules, closed lists, and statistics. These enter a queue for incorporation into Mova's code. The queue records material awaiting implementation.

A rule intended for annotation needs to identify its input, state the conditions on its application and give any exceptions. For example, an observation that a spelling contains an apostrophe is directly checkable in the written text. Turning that observation into a tokenization rule requires deciding whether the mark belongs to one written form, occurs at a boundary between syntactic words, or serves as punctuation in that context. Examples can establish that particular spellings occur. The scope of a general rule and the completeness of a closed list require evidence beyond an isolated example.

## Priorities for tokenization, tagging and a UD baseline

The first tokenization decisions concern how to preserve the written text while identifying the words that receive syntactic annotation. The supplied extracts contain shortened forms, contractions, and numerals written with internal separators.

| Form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| `'A Campania` | the Campania | ‘Campania’ | `wiki:nap:Campania` |
| `'a denzità` | the density | ‘the density’ | `wiki:nap:Campania` |
| `ô gruppo` | to-the group | ‘to the group’ | `wiki:nap:Proceta` |
| `d"o Sud-Italia` | of-the southern-Italy | ‘of southern Italy’ | `wiki:nap:Lengua napulitana` |
| `10.596 crestiane` | 10,596 people | ‘10,596 people’ | `wiki:nap:Proceta` |
| `5 801 658 abetante` | 5,801,658 inhabitants | ‘5,801,658 inhabitants’ | `wiki:nap:Campania` |

Decide where an apostrophe is part of a written form, as in the article `'a`, and how to treat a written contraction whose components receive separate annotations. In UD, a multiword token can retain a single surface form while its component words carry the syntactic annotations. Spellings such as `ô` and `d"o` also show why a rule based on a single kind of apostrophe would give incomplete coverage. The conventions need to account for numeral grouping and distinguish punctuation inside a numeral from punctuation that separates constituents or ends a sentence.

Tagging and lemmatization depend on those boundaries. The article in `'a denzità` is a determiner in that phrase. In the reading glossed for `ô gruppo`, the preposition and the article have distinct grammatical functions. A UD convention that analyzes the contraction as two syntactic words can assign the preposition `ADP` and the article `DET`, with `case` and `det` relations to the nominal head. Lemma and feature guidelines should specify what evidence identifies a form in context, including cases where the ending alone leaves its features uncertain.

A first treebank needs consistent decisions on tokenization, lemmas, tags, features, heads, and relations across its training and development material. The corpus extracts include lists and repeated municipality descriptions, so splitting related material by article or template can help keep development evaluation from largely repeating training examples. The package baseline can then train on the annotated training split and evaluate UAS and LAS against the annotated development split.

## How Mova handles Neapolitan today

At level 1, `tools/mova-parse` uses `tools/langseg` to assign languages to sentences and spans. `tools/langseg` distinguishes English and French in Latin script using its Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts fall under `other`. Extending Latin-script coverage requires a lexicon and a `Lang` code. `langseg latin-lexicon` builds lexicons from open UD training splits. Language identification is limited to the scripts and lexicons the segmenter knows.

At level 2, `tools/mova-parse` looks up each span's model by language code. There is no model for `nap`. The missing model is reported in `# parse`. The affected rows have `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and `Parse=None` in MISC. Mova provides no Neapolitan tokenization, tagging, lemmatization or dependency parsing.

The `en` crate provides Mova's parser and tagger. After `en xpos-fill`, `en train` trains on a language's UD training split, and `en parse-eval` measures UAS and LAS on the development split. Models exist for English (`en.bin`) and French (`fr.bin`). The package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for this baseline for each language. Mova holds no Neapolitan treebank, so there is no measured baseline for `nap`.

Mova's frame, pragmatics and world components, including `prag` and `world`, read English trees. They have no Neapolitan parse to read. Squid records grammatical points as claims and queues the formalizable ones for implementation. None of the chapter's rules is implemented for Neapolitan. The first points for implementation are those needed for tokenization, tagging and a UD treebank baseline.

## Sources for this chapter

- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see [Sources](https://md.mova.elamur.ai/free/en/docs/languages/nap/sources/)).
- [← previous 25. Register and usage](https://md.mova.elamur.ai/free/en/docs/languages/nap/25-register-and-usage/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/nap/sources/)
- [↑ back to Neapolitan (nap) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/nap/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
