In the fields of computational linguistics and applied linguistics, a morphological dictionary is a linguistic resource that contains correspondences between surface form and lexical forms of words. Surface forms of words are those found in natural language text. The corresponding lexical form of a surface form is the lemma followed by grammatical information (for example the part of speech, gender and number). In English give, gives, giving, gave and given are surface forms of the verb give. The lexical form would be "give", verb. There are two kinds of morphological dictionaries: morpheme-aligned dictionaries and full-form (non-aligned) dictionaries.
Notable examples and formalisms
editUniversal Morphologies
editInspired by the success of the Universal Dependencies for cross-linguistic annotation of syntactic dependencies, similar efforts have emerged for morphology, e.g., UniMorph[1] and UDer.[2] These feature simple tabular (tab-separated) formats with one form in a row, and its derivation (UDer), resp., inflection information (UniMorph):
aalen aalend V.PTCP;PRS
aalen aalen V;IND;PRS;1;PL
aalen aalen V;IND;PRS;3;PL
aalen aalen V;NFIN
(UniMorph, German. Columns are LEMMA, FORM, FEATURES)
In UDer, additional information (part of speech) is encoded within the columns:
abändern_V Abänderung_Nf dVN07>
Abarbeiten_Nn abarbeiten_V dNV09>
abartig_A Abartigkeit_Nf dAN03>
Abart_Nf abartig_A dNA05>
abbaggern_V Abbaggern_Nn dVN09>
(UDer, German DErivBase 0.5. Columns are BASE, DERIVED, RULE)
At the time of writing (2021), all of these are non-aligned morphological dictionaries (see below). Their simplistic format is particularly well-suited for the application of machine learning techniques, and UniMorph in particular, has been subject of numerous shared tasks.
Finite State Transducers
editFinite State Transducers (FSTs) are a popular technique for the computational handling of morphology, esp., inflectional morphology. In rule-based morphological parsers, both lexicon and rules are normally formalized as finite state automata and subsequently combined. They thus require morphological dictionaries with specific processing instructions (which often have a linguistic interpretation, but, technically, are just treated like arbitrary string symbols).[3] Popular FST packages such as SFST[4] (as available from the fst package in Debian and Ubuntu) allow to define application-specific file formats for morphological lexica, that bundle different pieces of morphological information with every individual morpheme. These are thus aligned morphological dictionaries, but very rich (and also, idiosyncratic) in structure.
Sample data from SMOR[5] (German SFST grammar):
<Base_Stems>Aachen<NN><base><nativ><Name-Neut_s>
<Base_Stems>Aal<NN><base><nativ><NMasc_es_e>
<Base_Stems>Aarau<NN><base><nativ><Name-Neut_s>
<Suff_Stems><suffderiv><gebunden><kompos><NN>nom<>:e<>:n<NN><SUFF><kompos><frei>
<Suff_Stems><suffderiv><gebunden><kompos><NN>nom<NN><SUFF><base><frei><NMasc_en_en>
<Suff_Stems><suffderiv><gebunden><kompos><NN>nom<NN><SUFF><deriv><frei>
Interlinear Glossed Text editors
editInterlinear Glossed Text (IGT) is a popular formalism in language documentation, linguistic typology and other branches of linguistics and the philologies. Although IGT can be created without any specialized software (but just with a conventional editor), such specialized software has been developed, with notable examples such as Toolbox,[6] the FieldWorks Language Explorer (FLEx)[7] or open source alternatives such as Xigt.[8] Toolbox and FLEx support semi-automated annotation by means of an internal morphological dictionary. Whenever a morphological segment is encountered for which an annotation in the dictionary can be found, this annotations is applied. Whenever a morphological segment is newly annotated, the annotation is stored in the dictionary. FLEx and Toolbox provide different editor functionalities for annotating text and editing dictionaries, so that additional information beyond that found in annotations can be added, but at its core, their formats provide aligned morphological dictionaries.
FLEx and Xigt are based on XML formats, Toolbox uses a plain text format with idiosyncratic "markers". FLEx and Toolbox are not directly interoperable with each other, but a semiautomated converter for Toolbox to FLEx does exist. Xigt comes with FLEx and Toolbox importers, but is less widely used that either FLEx or Toolbox. Their formats of FLEx and Toolbox are not intended for human consumption, nor are they well-supported by any processing software other than their native tools.
OntoLex-Morph: A community standard for morphological dictionaries
editOntoLex is a community standard for machine-readable dictionaries on the web. In 2019, the OntoLex-Morph module has been proposed to facilitate data modelling of morphology in lexicography, as well as to provide a data model for morphological dictionaries for Natural Language Processing.[9] OntoLex-Morph does support both aligned and non-aligned morphological dictionaries. A specific goal is to establish interoperability between and among IGT dictionaries, FST lexicons and morphological dictionaries used for machine learning.
Types and structure of morphological dictionaries
editAligned morphological dictionaries
editIn an aligned morphological dictionary, the correspondence between the surface form and the lexical form of a word is aligned at the character level, for example:
- (h,h) (o,o) (u,u) (s,s) (e,e) (s,⟨n⟩), (θ,⟨pl⟩)
Where θ is the empty symbol and ⟨n⟩ signifies "noun", and ⟨pl⟩ signifies "plural".
In the example the left hand side is the surface form (input), and the right hand side is the lexical form (output). This order is used in morphological analysis where a lexical form is generated from a surface form. In morphological generation this order would be reversed.
Formally, if Σ is the alphabet of the input symbols, and is the alphabet of the output symbols, an aligned morphological dictionary is a subset , where:
is the alphabet of all the possible alignments including the empty symbol. That is, an aligned morphological dictionary is a set of string in .
Non-aligned morphological dictionaries (full-form dictionaries)
editA non-aligned morphological dictionary (or full-form dictionary) is simply a set of pairs of input and output strings. A non-aligned morphological dictionary would represent the previous example as:
- (houses, house⟨n⟩⟨pl⟩)
It is possible to convert a non-aligned dictionary into an aligned dictionary. Besides trivial alignments to the left or to the right, linguistically motivated alignments which align characters to their corresponding morphemes are possible.
Lexical ambiguities
editFrequently there exists more than one lexical form associated with a surface form of a word. For example, "house" may be a noun in the singular, /haʊs/, or may be a verb in the present tense, /haʊz/. As a result of this it is necessary to have a function which relates input strings with their corresponding output strings.
If we define the set of input words such that , the correspondence function would be defined as .
References
edit- ^ Kirov, Christo, Ryan Cotterell, John Sylak-Glassman, Géraldine Walther, Ekaterina Vylomova, Patrick Xia, Manaal Faruqui et al. "UniMorph 2.0: universal morphology." In LREC (2018).
- ^ Kyjánek, L., Žabokrtský, Z., Ševčíková, M., & Vidra, J. (2019, September). Universal derivations kickoff: a collection of harmonized derivational resources for eleven languages. In Proceedings of the Second International Workshop on Resources and Tools for Derivational Morphology (pp. 101-110).
- ^ "A Short History of Two-Level Morphology". www.ling.helsinki.fi. Retrieved 2021-11-30.
- ^ Schmid, Helmut. "A programming language for finite state transducers." In FSMNLP, vol. 4002, pp. 308-309. 2005.
- ^ Schmid, Helmut, Arne Fitschen, and Ulrich Heid. "SMOR: A German computational morphology covering derivation, composition and inflection." In LREC, pp. 1-263. 2004.
- ^ "Field Linguist's Toolbox". software.sil.org. Retrieved 2021-11-27.
- ^ "FieldWorks". software.sil.org. Retrieved 2021-11-27.
- ^ "XIGT". XIGT. Retrieved 2021-11-27.
- ^ Klimek, B., McCrae, J. P., Bosque-Gil, J., Ionov, M., Tauber, J. K., & Chiarcos, C. (2019). Challenges for the representation of morphology in ontology lexicons. Proceedings of eLex.