Wiktionnaire's Wikicode GLAWIfied: a Workable French Machine-Readable Dictionary
Paper · 2016 · Nabil Hathout and Franck Sajous
Summary
A dictionary entry can tell a reader what a word means, how it is pronounced and which other words it is related to. For a program, using the same entry depends on being able to identify each of those facts and see which word or meaning it belongs to. GLAWI addresses that problem for Wiktionnaire, the French edition of Wiktionary. It converts the collaboratively edited dictionary into XML, a format that marks the role of each piece of information. The authors describe what the resulting resource contains and show how its structure makes different kinds of lexical evidence available for research.
GLAWI keeps the written form as the organizing unit of an article. A spelling such as mousse can lead to separate records for nouns with the same spelling, an adjective and an inflected verb. Within these records, a definition pairs a gloss, the wording that explains a meaning, with any accompanying usage examples. The gloss and examples are available as source wiki markup, structured XML, plain text and an automatic grammatical analysis. Other fields can record pronunciation, word forms, etymology, translations and relationships such as synonymy or derivation. A label can also qualify a particular meaning, for example by marking it as familiar or figurative.
The inventory shows the scale and uneven distribution of that information. For the main parts of speech tabulated, the authors count 335,487 lemmas, or dictionary headwords, and 1,630,845 inflected forms. Verbs account for the largest count of inflected forms among those categories. The resource lists 529,065 translations across the noun, adjective, verb and adverb sections counted. An etymology section appears on 85 % of pages describing a lemma, and 94 % of entries contain a phonemic transcription, a representation of pronunciation. Each count describes a particular kind of dictionary record. A single article can contribute several records, and the presence of a field gives no direct measure of its accuracy.
The authors identify definitions as an especially valuable addition. At the time of writing, they describe GLAWI as the only free resource for contemporary French that includes them. Definitions offer evidence for finding semantic relations even when the dictionary has no dedicated link recording the relation. Pronunciation records and usage labels support different questions, such as selecting words for a reading experiment or studying regional vocabulary. The paper demonstrates how the dictionary exposes this evidence. It presents most of the applications as possibilities whose performance would have to be evaluated separately.
Deep dive: Wiktionnaire's Wikicode GLAWIfied: a Workable French Machine-Readable Dictionary
GLAWI turns French Wiktionary into a machine-readable dictionary with definitions, pronunciations, inflections, translations and lexical relations. · about 31 minutes to read
The problem and its context
A dictionary that people and programs can read
A reader who looks up a word can tell a definition from an example by following its position on the page, its formatting and the way it is written. A person can also recognize that a short parenthetical expression limits where or how a meaning is used. To retrieve such information automatically across a dictionary, a program needs consistent ways to locate it. It must also distinguish the content of a field from the formatting instructions and links around it. This is a problem of information extraction at the scale of a dictionary.
Wiktionnaire supplies the material. Its entries are written in wikicode, the markup used to maintain and display wiki pages. A convention in that markup can mark the start of a grammatical section, give a label or link to a related page. Collaborative entries can express comparable information through different markup. The challenge is to recognize the role of that information consistently enough that an application can ask for a field across articles without interpreting each article anew.
The authors’ solution is a machine-readable dictionary. In this context, that means a lexical resource that presents different kinds of information in identifiable fields and preserves their relationships. A spelling has an article. A grammatical section belongs to the article. A gloss belongs to a definition within that section. A label attached to a gloss belongs at a different level from a category attached to the whole article. This hierarchy makes a practical difference when selecting data. Searching for an informal sense, for instance, calls for a field tied to that sense. A search through everything written on the article could also retrieve incidental mentions of informality in examples or other material.
The project consequently involves a decision familiar in lexicography, the practice and study of dictionary making. The extraction must preserve distinctions that matter to a user while giving recurring kinds of information a recognizable form. Joining a pronunciation, a translation and a definition under the same article is straightforward when each applies to the whole article. An article that covers several homographs, or distinct words spelled alike, requires finer distinctions. A user who selects material for one of those words needs to retain the separate sections. A dictionary organized exclusively as a flat word list would lose that context.
What the earlier resources contributed
The authors trace GLAWI to earlier extractions from Wiktionnaire. WiktionaryX collected lemmas, semantic relations and translations. A lemma is the form under which a dictionary groups grammatical variants of a word. Collecting lemmas with semantic relations creates a resource for looking up connections among headwords. Adding translations lets a user follow links from those headwords into other languages. Those tasks share an interest in identifying a lexical starting point and the words related to it.
GLÀFF used the same source to build a lexicon of inflections and pronunciations. Inflection is the part of morphology concerned here with forms that a word takes for grammatical purposes, such as singular and plural or different positions in a verb conjugation. A pronunciation lexicon in turn gives a representation of how a form is spoken. These kinds of information matter when an observed word in a text is different from the one used as its headword, or when an application needs to connect writing and speech. The paper points to the earlier assessment of GLÀFF’s coverage and transcriptions as evidence that Wiktionnaire was a viable source for building such resources.
GLAWI brought together the types of lexical information collected for WiktionaryX and GLÀFF, drawing on an updated version of Wiktionnaire. It also added information such as etymologies and relationships involved in word formation. The earlier GLAWI paper concentrated on reading wikicode and standardizing data that appeared in different forms. The paper discussed here takes the resulting dictionary as its subject. Its contribution is to describe the fields, show how they fit together in actual entries and connect those fields to questions researchers could ask.
That change of emphasis matters because a conversion and a dictionary serve different purposes. A conversion has to recognize and transform the material it encounters. A researcher using the resulting dictionary needs to know what the transformation made available, at what level it is attached and in what form it can be inspected. For instance, a uniform field for synonyms is easy to retrieve, but its usefulness also depends on whether the words occur under a noun, adjective or verb reading. Knowing that glosses have been converted to text is useful, but a study of links or labels needs to know whether those elements have survived elsewhere.
Why definitions are a distinct resource
A list of explicit semantic links records relations that contributors have chosen to name. A definition gives a description from which a reader may recognize further relations. A gloss can describe a word using a broader category, for example, even when the entry has no separate field naming that category as a hypernym. A hypernym is a term for a more general class. This distinction between what an editor labels directly and what an analyst can infer is central to the paper’s interest in definitions.
The fields also serve different research designs. A study of vocabulary variation can begin with region labels, while a study of how definitions express relationships can begin with their grammatical structure. For an experiment on word recognition, a pronunciation field can guide the choice of stimuli. Each investigation depends on retrieving the relevant evidence at the right level. An indication about an etymon, the earlier form given as the source of a word, cannot be treated the same way as a label on a current sense. A region attached to a pronunciation establishes the context of that pronunciation, while a region attached to a definition qualifies the use of a meaning.
GLAWI preserves these distinctions in a common representation. That is what lets someone examine different aspects of the same spelling without assembling separate lexical resources first. It also leaves the decision about what counts as evidence to the investigation. A link inside a gloss, a synonym in a relation list and a shared translation can each suggest a semantic connection. They have different origins and carry different implications. The dictionary makes it possible to retrieve them as distinct observations.
The method, step by step
From the written form to the grammatical entry
The starting point is a Wiktionnaire page associated with a written form. The authors call this unit a grapheme. Here they use the term for the written form indexing the page, including a complete string such as mousse. In the XML dictionary the corresponding article contains a title, a page identifier and fields that can record metadata such as categories and references. The page organization provides a way to connect a converted record to the source entry.
The next step preserves the divisions inside the article. A part of speech is a grammatical class, such as noun, adjective or verb. A spelling can occur in different classes, and a single class can contain several homographs under that spelling. GLAWI uses separate part-of-speech sections for those cases. An article is therefore a container for the grammatical records associated with the spelling. The records supply the context for the inflectional information, definitions and optional lexical fields that appear within them.
How GLAWI organizes a Wiktionnaire article
The steps in order.
The example of mousse shows how the levels work. At article level there is a pronunciation labeled for France. Inside the article, the noun records are separated by homograph. The feminine noun record shown in detail supplies its own pronunciation and its inflectional paradigm. A paradigm lists the forms associated with a word across grammatical categories. Here mousse and mousses are recorded as singular and plural forms, accompanied by grammatical codes and a pronunciation for each.
The article also contains a verb section in which mousse is an inflected form of mousser. Several grammatical analyses point back to that same lemma. The relation goes in the opposite direction from the noun paradigm. The noun section begins with the headword and shows its forms. The verb section of the mousse article begins with a spelling encountered as an inflection and identifies the headword to which it belongs. Both directions are valuable when connecting a word form to the dictionary.
The distinction also explains why grammatical records are a more useful unit than page titles for some tasks. All the analyses just described can be reached through the spelling mousse. An application can take the feminine noun as the starting point for retrieving a definition, or it can follow the verb analysis to mousser. The dictionary supplies the alternatives. Choosing which of them fits a particular sentence is a separate task.
Retaining the meaning of markup
Within a grammatical section, definitions mark the different senses of a word. A definition includes a gloss and may include examples of the word in use. GLAWI stores the gloss and each available example in four forms. The formats let a reader inspect essentially the same dictionary passage with different kinds of information in view. This is useful because an operation that needs only the words in a passage has different requirements from one that depends on its links, its typography or its grammar.
The first version retains the original wikicode. A researcher who wants to examine a source convention can look directly at how the page represented it. A developer who needs a particular interpretation of a source element can make a separate conversion from this version. Keeping the original also gives the other representations an inspectable point of comparison. The researcher can see which elements came from the editor’s markup and which are features of the converted record.
The XML version distinguishes elements through tags. It can mark a link target separately from the visible link text and distinguish foreign words, dates, typographical emphasis and formulae from the text around them. A study that counts dictionary links can use the targets. A study that needs running French text can select or omit elements by type. The authors mention using links to assign weights in information retrieval or to connect entries in a graph for studying semantic similarity, the degree to which meanings resemble one another.
The plain-text version supplies a readily usable rendering. In the example of the feminine noun mousse, the gloss for a beer sense is just Bière. The parallel XML gives bière as the internal link target and preserves Bière as the displayed gloss. The source version also shows the wiki markup that signaled the sense labels. Someone gathering gloss vocabulary can work with the plain text. Someone studying the relation suggested by the link can work with the structured target. The field identifying the linked entry gives the latter study an explicit starting point that the text alone would leave to interpretation.
The example accompanying that sense shows a complementary difference. The structured representation retains the emphasis on the headword in the example and the formatting of the passage. The plain rendition leaves the sentence readable as ordinary text. The example remains associated with the definition in either representation, so a user can retrieve evidence of the word’s use in that sense. Pulling examples indiscriminately from a page for mousse would mix material associated with different grammatical records and meanings.
Adding grammatical analysis to dictionary prose
The fourth version stores the output of the Talismane syntactic parser. The analysis is delivered in a CoNLL format, which the paper identifies through the CoNLL Shared Task on Dependency Parsing. A representation of this kind puts each analyzed word or punctuation mark on a row. It can record the word’s lemma, grammatical category and features, as well as a connection to another word in the passage.
In dependency parsing, a connection identifies the word that another word depends on and describes the grammatical relation between them. The example for mousse illustrates how this adds something beyond a row of word categories. The analysis identifies mousse as the subject of est and attaches the adjective bonne to the noun. An application can therefore look for patterns involving heads and their dependents in the stored analyses. The placement of a word near another word can suggest such a connection, while the dependency fields state what connection the parser assigned.
Definitions can be short. In the gloss consisting of Bière, the parser records that word as the root, the item at the top of the analysis. It also assigns a noun category and grammatical features. A longer usage example has a richer set of dependencies. The parser thus gives users a regular form in which to inspect both a short lexical gloss and a sentence, even though the structures available in the two cases differ.
The paper describes GLAWI as a resource built by extraction and conversion. It gives no training procedure for Talismane and presents the grammatical analyses as output produced with that parser. A separate earlier study cited by the authors used dependencies as features for a classifier of some dictionary glosses. The existence of that application helps explain why parser output is worth distributing with the text. It is separate from the procedure that constructs the dictionary. The paper supplies no mathematical formulas for that construction.
Assigning labels to the information they qualify
A label is a short indication about how to interpret or use lexical information. The authors describe a combination of automatic recognition and manual organization. The extraction parser recognizes label markup and puts the result in a structured label field. The authors also inventoried thousands of labels and assigned categories to the labels in that inventory. A label outside the inventory can fall into a residual category. This procedure gives researchers access to the individual label and to a broader class that can gather comparable indications.
The classes distinguish several dimensions of usage. Diafrequential labels concern how common or rare a form or sense is. Diachronic ones concern a period or an indication such as obsolescence. Diatopic labels mark geography. Domain labels identify a field such as botany or medicine. Other classes deal with attitude or register, grammar, borrowing and semantic phenomena. A user can select a particular label, such as a named region, or treat region labels as a group when the question concerns geographic variation generally.
The beer sense of mousse brings out the value of keeping the categories separate. It carries a label for metonymy, a way of naming something through an associated concept, and a label identifying familiar usage. The metonymy label describes a semantic relation involved in the sense. The familiar label describes its register, the kind of usage or setting associated with it. Both belong to the gloss in this example. The fact that both occur under the mousse article gives no reason to extend them to every noun homograph or to the verb form.
Labels create several possible ways to assemble research material. A domain label can provide a starting set of words for a study of specialized vocabulary. A rarity label can identify candidates when investigating how text might be simplified. An attitudinal label can help retrieve material for sentiment analysis. These selections depend on the distinction that the dictionary encodes. For instance, an indication of rarity is a lexicographic judgment. A count of how frequently the word appears in a particular corpus would be a different observation.
Making etymological details retrievable
Etymology concerns the origin or formation of a word. Like glosses and examples, etymological passages appear in source, XML, plain-text and parsed forms. The structured fields can expose information that would otherwise have to be recovered from prose. A date can be recognizable as a date, an earlier form can be marked as a foreign word, and a cross-reference can be attached to a constituent mentioned in the explanation.
In the entry for monoxyle, meaning a dugout, the etymology includes the attestation date 1759 and points to an Ancient Greek source. An attestation is an instance of a word documented in use. The date identifies the attestation recorded in the entry. The Greek form is accompanied by the transliteration monoxylos, which represents the original writing in another script. The entry also refers to mono- and -xyle. Together these fields allow a reader to distinguish the date, the source-language expression, its transliteration and the references to constituent forms.
The plain-text rendering of this example illustrates a consequence of choosing a representation. The date appears in a date element in XML and as a separate chronological label. The plain-text passage shown for the etymology leaves out the date. A search for dated evidence therefore has a structured field to consult. Similarly, the transliteration can be inspected as a separate attribute on the foreign word rather than identified only by its position after the Greek form.
An etymological record may also identify the sense of the source expression. The authors give pillaver as an example. Its Romani etymon piyav has an indication that the relevant meaning concerns drinking alcohol. That information answers a different question from the language label. The language identifies where the reported source form comes from, and the meaning attribute specifies the sense involved. The example shows how the dictionary can retain both pieces of evidence when they are present in Wiktionnaire.
Keeping semantic, translation and morphological relations distinct
The dictionary’s explicit semantic relations sit in optional sections associated with a part of speech. A synonym is a word given with a similar meaning, and a near-synonym is marked as a less exact correspondence. Antonyms are recorded as opposites. Hypernyms and hyponyms connect a broader class and a more specific member of that class, with the relation named according to direction. Meronyms and holonyms distinguish the part from the whole. For verbs, a troponym can specify a more particular manner of performing an action.
The noun communisme illustrates how these different links can share a section without losing their types. The record lists collectivisme and marxisme as synonyms, capitalisme as an antonym and idéologie as a broader category. Bolchévisme, léninisme and trotskisme occur on the more specific side. The example shows which relation the dictionary assigns to each item. It gives a researcher a way to retrieve a particular kind of recorded link across entries or to inspect several kinds around one word. An application such as lexical semantics research can then treat the link type as part of the evidence.
Translations occupy their own fields. Each can carry a language code, and a language can have several equivalents listed. In the entry for piste cyclable, the Italian equivalents include pista ciclabile and ciclopista. The record distinguishes the Norwegian Bokmål sykkelvei from the Norwegian Nynorsk sykkelveg with separate codes. For a bilingual extraction, the language code gives the selection criterion and the field supplies the translation string. A user who wants the range of alternatives can retain multiple strings under the same code.
Morphological relations have a different basis. Wiktionnaire provides lists for compounds, derivatives and etymologically related words, and GLAWI records the type of list a link came from. A compound combines lexical elements, while a derivative is a form created through a word-formation process. The related category preserves the connection as Wiktionnaire classifies it. These fields give more specific information than the observation that the spellings are similar.
For nom, the compound list contains nom commun, nom collectif and prête-nom. Forms such as nommer, nommage and nomination appear as derivatives, and anonyme occurs as a related word. The components mentioned in an etymology can provide additional evidence about formation. An analysis of word families can therefore retrieve the dedicated lists and consult etymologies where appropriate. The paper’s earlier example of monoxyle gives a reason to consider both locations when asking what the dictionary says about how a form was built.
Following spelling and pronunciation across entries
Variant spellings can be distributed across separate pages or connected by redirects. A redirect forwards a lookup to another page. It can serve a practical purpose, such as recovering an intended entry when a diacritic is missing. A redirect can also connect forms that interest a researcher studying spelling. The authors distinguish these possibilities because the form of the web link alone gives limited evidence about the linguistic status of the variants.
The examples range from nénuphar and nénufar to changes involving ligatures, punctuation and hyphenation. They also include common misspellings, spellings associated with informal writing, and variation inside expressions made up of several words. These differences can all affect a dictionary lookup. Their significance depends on the task. Recovering a page from a spelling that lacks a ligature is a different operation from studying how an informal spelling represents speech. A lexical collection derived from the variant material can retain such distinctions when the evidence supports them.
Pronunciation information occurs at several points in the illustrated structure. An article can give a pronunciation, a grammatical section can contain its own, and an individual inflected form can carry a transcription. A phonemic transcription represents the pronunciation in terms of speech sounds identified for the word. Some transcriptions have regional labels. The labels allow a researcher in speech to inspect where the dictionary places the difference rather than deciding from the sound strings alone.
For moins, the authors illustrate a pronunciation contrast between the Paris variety they use as a point of comparison and the Marseille example, which has a final s sound. The sorcière example distinguishes transcriptions for France and Québec. These cases show how a dictionary can preserve pronunciation choices that depend on region. A researcher choosing items for a study of spoken-word processing can see the alternatives, and an application with a specified regional scope has information with which to make a selection.
Experiments and results
What the resource inventory measures
The data in the paper come from the converted Wiktionnaire dictionary. The main quantitative results are inventories of what that conversion makes available. The units vary with the feature being counted. The authors count lemmas and inflected forms by grammatical class, sections that contain a given kind of information, and individual records within those sections. They give proportions for pages with etymologies and entries with pronunciations. The paper reports no training and test split for these inventories. They describe the resource being released.
There is also no baseline dictionary scored side by side with GLAWI across these fields. The earlier comparison to phonological lexicons assessed Wiktionnaire material in the work on GLÀFF. The paper invokes it as evidence about the quality of the source. GLAWI’s own quantitative account shows which kinds of observations are available and in what quantities. An accuracy comparison would require a criterion of correctness and a set of independently evaluated cases, neither of which is part of these counts.
A section count and an item count answer different questions. A section count indicates how often a grammatical record supplies a place to look for a particular kind of information. An item count indicates how much material those sections contain. If a translation section lists several equivalents, it contributes a section to one count and several translations to the other. The paper applies the same distinction to semantic and morphological relations. Keeping those measures separate matters when assessing whether a dataset offers a broad range of starting words or a large collection of links.
Headwords and inflected forms
For the main parts of speech in the inventory, the resource contains 335,487 lemmas and 1,630,845 inflected forms. Nouns make up the largest headword category, with 179,340 lemmas. The remaining categories listed are proper nouns at 57,371, adjectives at 56,296, verbs at 36,928 and adverbs at 5,552. Each figure counts headwords assigned to that grammatical class, so the inventory describes what is available after the dictionary separates parts of speech.
For inflected forms, the order changes. The verb count is 1,251,809. Nouns contribute 272,170 and adjectives 93,295. The figures for proper nouns and adverbs are 8,019 and 5,552 respectively. The table gives the same figure for adverb lemmas and adverb forms. The verb pattern is particularly relevant to applications that start from written forms, because the number of records available for verb forms and the number available for verb headwords describe quite different inventories.
Inflected forms by part of speech in GLAWI
The verb category supplies the largest inventory of inflected forms.
The numbers
| System or setting | Inflected forms |
|---|---|
| GLAWI verbs (this paper) | 1,251,809 |
| GLAWI nouns | 272,170 |
| GLAWI adjectives | 93,295 |
| GLAWI proper nouns | 8,019 |
| GLAWI adverbs | 5,552 |
Here a larger count means that more forms are represented in the category. It gives no score for an application and no estimate of the proportion of contemporary French forms covered. The mousse example also explains why form information cannot be reduced to the number of distinct page titles. A spelling can have a place in a paradigm, a separate role as a headword, and several analyses elsewhere in the grammatical structure.
Labels, origins and pronunciations
The label inventory shows how the available evidence is distributed. In the regional group, the paper lists 8,726 occurrences for Québec and 1,717 for France, along with labels for other places including Canada, Switzerland, Belgium and Lorraine. It lists 362 other areas beyond the individually named rows in that group. A researcher counting labels would have to decide how to handle kinds of location that overlap or differ in scale, such as a province, a country and a named region. The figures count specific labels as the authors report them.
The domain inventory is similarly uneven. The table records 155,532 occurrences of the locality label, 49,060 for geography, 11,935 for botany and 6,461 for zoology, and identifies 367 other domains beyond those that are shown individually. These are counts of labels in the dictionary material covered by the inventory. They can guide someone looking for a collection with a particular subject tag. A highly populated label also raises a question about the breadth of the category, since a narrow specialty and a broad type of entry need not be comparable units.
Etymology sections occur on 85 % of pages that describe a lemma. The inventory of languages mentioned in those sections counts 40,410 etymologies across 326 different languages. Among the rows, Latin has 17,093, Greek has 5,954 and English has 4,403. The table groups 3,155 under 306 other languages beyond the individually listed languages. The coverage percentage and the language inventory refer to different things. The first is about finding an etymology section on a lemma page. The second counts etymologies with the languages represented in the authors’ table.
Pronunciation has another denominator. The paper reports that 94 % of GLAWI entries contain a phonemic transcription. This is a measure of field presence, and an entry can contain several transcriptions. The reported figure consequently says little about how extensively each regional variety is represented. The examples of moins and sorcière establish that the resource can carry such variation and show what the regional distinctions look like in use.
Translations and lexical relationships
For nouns, adjectives, verbs and adverbs, the translation table totals 102,428 sections and 529,065 translations. Nouns contribute 71,133 sections and 383,612 translations. Adjectives have 16,797 sections and 60,360 translations, while verbs have 11,484 sections and 70,615 translations. Adverbs have 3,014 sections and 14,478 translations. The distinction between sections and translations is apparent in the ordering of adjectives and verbs. Adjectives have the larger section count, and verbs have the larger translation count.
Translation records by part of speech in GLAWI
Nouns supply the largest inventory of translations, and verbs rank ahead of adjectives.
The numbers
| System or setting | Translation records |
|---|---|
| GLAWI nouns (this paper) | 383,612 |
| GLAWI verbs | 70,615 |
| GLAWI adjectives | 60,360 |
| GLAWI adverbs | 14,478 |
The piste cyclable example helps explain what the translation totals include. One section can supply multiple strings for a single language as well as strings in several languages. The totals therefore show the available volume across the classes, while a bilingual study would need to select a language code and inspect the resulting set. The total provides no count of how many distinct source senses have a translation in any given target language.
The explicit semantic relations have a large noun inventory. The paper counts 31,332 noun sections of this kind, including 46,605 synonym records, 20,093 hypernym records and 21,472 hyponym records. Adjectives have 5,613 semantic sections with 8,854 synonym records and 3,858 antonym records. Verbs have 5,157 semantic sections and 9,322 synonym records, as well as 125 troponym records. Adverbs have 1,491 sections and 3,041 synonym records. The dimensions available for analysis depend on the part of speech and the relation type.
For morphological relations the authors report 16,948 noun sections, including 50,506 derivative records and 22,874 related-word records. Verbs contribute 5,443 sections and 10,684 derivative records. Adjectives contribute 4,939 sections and 9,481 derivative records. The adverb inventory lists 899 sections, with 488 derivative records and 1,284 related-word records. These figures characterize recorded connections. A study that needs all the members of a word family would still need to establish how completely the entries describe that family and whether additional evidence appears in etymologies.
Performance findings from earlier work
The paper cites a result from earlier work that used grammatical dependencies to identify glosses of derived action nouns in Wiktionnaire. The reported classification accuracy ranges from 94% to 99%. This measures identification of that kind of gloss in the cited study. Its connection to GLAWI is that the XML resource ships grammatical analyses that could support an investigation of this kind. The dictionary paper gives no comparable performance figure for extracting semantic relations from the full collection of definitions.
The authors also report that the preceding GLÀFF work compared Wiktionnaire transcriptions and syllabification with existing phonological lexicons. Syllabification identifies the division of a word into syllables. They describe the quality as comparable and the Wiktionnaire-based material as broader in coverage. Their account here is qualitative. The pronunciation presence figure for GLAWI and the earlier quality comparison support different conclusions. Together they describe how readily a researcher might find pronunciation material and why the authors regarded the source as worth using.
What the ablations show
The paper reports no ablations, and its analyses consist of resource inventories, examples of individual entries and comparisons among the kinds of information those entries preserve.
What changes across representations
The parallel versions of a gloss provide a comparison in which the source passage is held fixed. The difference is what each representation exposes. In the beer sense of mousse, the plain gloss makes the defining word available for a text search. The XML exposes its internal link as well, and the source markup lets a user inspect the conventions that produced the link and usage labels. The parsed representation supplies a grammatical description of the visible text. The example establishes that the representations support different operations on the same passage. It gives no performance estimate for an operation that uses them.
The etymology of monoxyle makes the difference visible for a field a researcher might otherwise miss. Its separately encoded attestation date is absent from the plain-text version displayed in the paper. A result based on text search alone would depend on exactly how that text renders dates. The structured fields let a researcher state a query about attestation dates directly. Similarly, a query about transliterations can use the feature marking the transliteration rather than looking for possible Latin-script strings after words in another script. The comparison illustrates how a choice of field can alter which evidence reaches an analysis.
What changes with the counting unit
The counts across grammatical classes make another useful comparison. Nouns have more headwords than verbs in the selected inventory, while verbs have more inflected forms. An application that starts from headwords and a study that starts from grammatical forms thus encounter different distributions. The count of headwords alone would also conceal what the mousse example shows directly. A single spelling can support a range of grammatical analyses, including several possible ways to analyze it as a form of a verb.
For translations, adjectives have more sections than verbs, and verbs have more translation records than adjectives. This is an observed difference in the inventories. It shows why the choice between counting starting records and counting translation strings matters. A researcher interested in the number of places where a translation can be looked up would take an interest in the former. A researcher gathering translation candidates would also need the latter, along with the languages represented. The paper does not isolate a cause for the different distributions.
The same issue appears when comparing a page with an etymology against an etymology entry mentioning a source language. A page-level measure gives a sense of how likely a user is to encounter an etymology field within the class of pages being counted. A source-language tally gives a sense of the relative quantities available for particular languages in the authors’ inventory. One count cannot stand in for the other. This is especially important when reading the long tail of source languages as evidence of variety in the resource. The count of languages says how many are represented, while the counts by language say how much material is attributed to each.
What changes with the type of evidence
The examples also distinguish ways that a relation can be supported. The communisme record assigns named semantic relations to items. The beer gloss for mousse expresses a relation through its wording and an internal link. The translation section for piste cyclable supplies links across languages through translation strings. Each puts related words within reach of an automated procedure. A user can preserve the source of the connection and inspect whether the kinds of evidence agree for a particular research question.
Pronunciations give an analogous demonstration. The examples show that the same written form can carry several realizations qualified by geography. Retaining those labels matters to a study that selects pronunciations for one population or compares realizations across places. At the same time, a regional contrast in a pair of entries establishes only that the dictionary can represent such contrasts. Evidence about sensitivity to removing region labels, or about performance when only one pronunciation is used, would require a separate comparison.
Limitations
Limits identified by the authors
The authors set the scope of the paper around resource description. They discuss the extraction and normalization procedure in their previous GLAWI work. Here they show the structure it produces and what can be done with the resulting fields. A reader looking for the full treatment of irregular wikicode, or a detailed account of how competing markup conventions were reconciled, needs that earlier account. This paper is precise about the shape of the data available to a user and selective about how it was produced.
The authors describe several kinds of information as optional. A definition may have examples, and a grammatical entry can have subsections for relations or translations. An etymology can give an earlier form without a transliteration or sense indication. The examples show what the fields can express when populated. The inventories establish how widely some of those fields are present, although they give no uniform completeness measure spanning every kind of information in the dictionary.
The authors also note that redirects commonly serve navigation. Some can be collected as evidence of form variation, but different redirects arise from different needs. The paper supplies representative examples and suggests uses in spell checking, normalization and analysis of digital communication. The distinction between navigational and linguistic uses limits what can be inferred from collecting redirects as a group. A spelling that is easy to route to an article can be useful to a program even when its status as a variant is uncertain.
Several applications remain proposals. Domain labels could seed a collection of specialized pages. The translations could help begin bilingual lexicon induction, the process of identifying translation equivalents from data, where parallel texts are unavailable. Definitions could support the extraction of semantic relations. The paper describes why the relevant fields make these applications plausible. It does not report a new evaluation of their outcomes. The proposed interface for querying fields is likewise future work in the authors’ account.
Limits visible in the evidence
Completeness has to be judged relative to a question. A page counts towards etymology coverage when it includes the section. That fact alone leaves open whether the entry names a source language, includes attestation evidence or describes the formation of the word in enough detail for a particular study. Likewise, a transcription on an entry gives available pronunciation evidence. It leaves questions about which grammatical readings and regional pronunciations are represented. The headline percentages therefore provide a useful starting point for finding material and a limited basis for judging coverage of any narrower phenomenon.
Counts of semantic relations depend on what contributors have entered and how the material was categorized. A recorded synonym is an explicit lexicographic claim that can be retrieved. If a synonym is missing from the list, that observation establishes the absence of a record in that field. A definition or translation may still provide evidence about the related word. The study of a family of terms needs to take these separate routes into account when deciding how much can be inferred from the explicit relation inventory.
The situation is similar for usage labels. Labels about rarity do not furnish token counts in running text. A history of usage cannot be read from counts of dated senses alone. Regional label tallies represent a combination of lexical information and the dictionary’s editorial coverage of places. For example, the relative counts for Québec and France make sense as counts of those labels. They cannot establish from this setup how much vocabulary is distinctive in either place or how frequently speakers use that vocabulary. Those questions require a different source of comparison.
The grammatical analyses have a further limit. They are produced automatically, and the paper presents examples without an independent evaluation of those analyses over all the stored glosses, examples and etymologies. The monoxyle example includes foreign script, a transliteration and fragments referring to constituents, all within a passage that receives an analysis. The existence of those rows shows that the material was processed. It leaves open how well the analysis represents constructions in etymological prose. The earlier accuracy result for detecting one class of glosses cannot fill that gap because it measures the outcome of a different task.
Translation totals aggregate across target languages and across grammatical sections. The aggregate gives no language-pair breakdown and no basis for judging translation quality for a selected use. The piste cyclable example shows alternative equivalents and distinctions among target varieties, but the paper supplies no evaluation of a procedure for deciding which translation fits a particular context. A study of translation choices would need to check both the range of equivalents available and their suitability for the senses or contexts under investigation.
The inventory of source languages raises a related interpretation issue. An etymology that names a language is evidence about how an entry describes a word’s history. The totals do not establish the historical contribution of each language to French vocabulary as a whole. That would require a defined vocabulary, a consistent method of deciding what qualifies as an origin and evidence about the completeness of the recorded histories. The paper’s count is useful within its stated scope as an inventory of what the etymology fields contain.
Finally, the claim about definitions belongs to the resource landscape as the authors describe it at publication. It concerns a free resource for contemporary French. The article establishes GLAWI’s inclusion of definitions through its examples and structure, and it explains why those definitions might make new research practical. It supplies no comparative experiment on the quality of the definitions themselves. The strength of an inference drawn from a gloss, a translation or a labeled relation remains a question for the study using it.
What came after
The authors describe a planned interface that would let users query GLAWI by setting conditions on individual fields. They take GLÀFFOLI, the manual query interface for GLÀFF, as a precedent. The proposed interface would bring a consequence of the XML structure to a person conducting a lookup. A query could be based on the contents of a field, rather than driven only by the spelling of a word. The paper reports the plan without an implementation or evaluation of that interface.
They also report that similar dictionaries for Italian and English were under development, and that a Serbian morphosyntactic lexicon obtained from Wiktionary was being released at the time. A morphosyntactic lexicon records word forms and the grammatical properties associated with them. The projects described suggest different possible scopes for reusing Wiktionary material. A language edition could support a broad dictionary with definitions and lexical links, or it could supply a resource centered on forms and grammar.
There are no documented later citing studies to trace here. The paper’s own account ends with those projects in progress and an expectation that similar extraction could help languages with few freely available lexical resources. It leaves their eventual coverage, methods and research results open.
Cite
Cite as Nabil Hathout and Franck Sajous. 2016. Wiktionnaire's Wikicode GLAWIfied: a Workable French Machine-Readable Dictionary. LREC 2016 (Portorož).
@inproceedings{hathout2016wiktionnaire,
title = {{Wiktionnaire's Wikicode GLAWIfied: a Workable French Machine-Readable Dictionary}},
author = {Nabil Hathout and Franck Sajous},
booktitle = {LREC 2016 (Portorož)},
year = {2016},
doi = {10.63317/2vtrh38tqgwo},
url = {https://doi.org/10.63317/2vtrh38tqgwo}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hathout-2016-glawi-wikicode/