Open-Source Thesaurus Development for Under-Resourced Languages: a Welsh Case Study
Paper · 2023 · Nouran Khallaf, Elin Arfon, Mo El-Haj et al.
Summary
A Welsh speaker looking for another way to express an idea needs a reference that offers plausible choices and helps distinguish among them. Building such a reference by hand takes considerable work, and the authors identify gaps in the digital tools available to Welsh speakers and learners. Khallaf and colleagues investigate how to compile an open Welsh thesaurus by drawing on several kinds of evidence. They use numerical representations of words to search for terms with similar patterns of use. A Welsh tagger supplies categories of meaning, native speakers propose and order alternatives, and a separate experiment checks candidate lists using links from dictionaries and Welsh WordNet. The numerical representations used to start the search are known as word embeddings.
The researchers selected 250 headwords from a Welsh corpus frequency list, with nouns, verbs, and adjectives represented in comparable numbers. Native Welsh speakers supplied 6,953 suggestions for building the reference. Agreement was uneven. In the count that considers sense alone, 4517 entries were put forward by only one contributor. The authors also studied the order in which people supplied their suggestions. For pobl, meaning people, an alternative contributed by a single speaker rose in the pooled ranking when the authors changed the way they combined positions.
The comparison of existing word vectors illustrates why a list of similar words needs further inspection. For pobl, the Welsh-adapted FastText resource returned trigolion, inhabitants, and dinasyddion, citizens, along with several forms close to the headword itself. Removing candidates that mapped back to the same dictionary entry reduced repetition. Requiring candidates to match the query’s category of meaning narrowed the output much further and left some queries without a matching candidate. In the dictionary and WordNet experiment, graph level 3 gave higher set overlap than level 2 throughout the reported comparison. The highest Jaccard coefficient, a measure of overlap, was 0.83 for linguist 4 at level 3. Errors in the ordering of candidates rose for some inputs and fell for others.
The study gives a concrete account of how to assemble and examine proposed alternatives for a Welsh thesaurus. Its comparisons show where different sources supply useful candidates and where their coverage or rankings diverge. The authors describe a website in two languages, Python code that is publicly available, and a web service that provides access. They plan to add examples from the National Corpus of Contemporary Welsh so readers can see how a possible alternative is used. A broader evaluation of the assembled resource by fluent Welsh users remains future work.
Deep dive: Open-Source Thesaurus Development for Under-Resourced Languages: a Welsh Case Study
A Welsh thesaurus study uses word vectors, meaning categories, and native speakers’ judgments to find and evaluate alternatives for Welsh words. · about 35 minutes to read
The problem and its context
Finding an alternative that fits
A thesaurus begins with a word a reader already has. The reader might want a more familiar expression, a term with a different connotation, or a word that refers more precisely to the intended people or things. The reference has to provide a starting point for that choice. A long list of vaguely associated terms can make the search harder, while a short list can leave out the expression the reader needs. The Welsh paper approaches this practical problem through the work of compilation. It asks where alternatives can be found and what evidence can help a compiler decide which ones belong under a headword.
The authors explain the need for the resource in the context of Welsh public and cultural life. They cite the 2021 census, in which 538,300 people aged three and over reported being able to speak Welsh, representing 17.8% of the population. The paper describes the duties of certain public bodies to provide services in both languages, including digital content, in Wales, where Welsh has official status. It also cites work reporting relatively low uptake of Welsh-language websites and electronic services. The authors raise perceived difficulty of the language used in those services as a possible factor and point to guidance that favors everyday vocabulary and a neutral register. Those are circumstances in which the ability to look for an alternative expression has a practical purpose.
The paper also identifies an educational use. Learners and teachers working through Welsh may want to examine the shades of meaning among related words. A fluent writer might recognize those distinctions and still benefit from a prompt when a particular word is hard to recall. An entry can serve both readers by making the alternatives visible. Examples then have a different job. They can show the kinds of sentences in which a term actually occurs and give the reader evidence about which option fits.
Welsh had existing thesaurus provision. The authors mention Gweiadur, which they describe at the time as being in beta, and argue that the available resources have limited scope and functionality. They situate their project alongside other efforts to develop digital infrastructure for Welsh. Among the examples they cite are a dataset with baseline systems for Welsh summarisation and work establishing an evaluation corpus and baseline scores for that task. Those studies concern a different application of Welsh text. They illustrate the wider effort to build resources that can be used in research and language technology. Welsh text summarisation dataset and baseline systems · Evaluation corpus for Welsh text summarisation
How thesauri have been compiled
The paper distinguishes several ways of arriving at a list of related terms. In manual compilation, specialists use their knowledge of a language or subject and consult resources such as dictionaries and existing thesauri. They can judge the relation between words and decide how useful it would be to present those words together. This craftsmanship is part of lexicography. The expense comes from having to repeat such judgments across entries and from the need for people with the relevant expertise.
An automatic approach begins with a corpus, a collection of language material assembled for study. It can look for words that tend to appear with similar surrounding vocabulary. For example, expressions that can refer to people may occur in some of the same settings. A procedure that accumulates evidence from such settings has a way to find possible alternatives even where no thesaurus records them. The underlying idea is that usage patterns provide evidence about meaning. The paper discusses this approach under distributional semantics.
Usage patterns can reveal several kinds of relationship. Two words might occur in the same settings because they express similar ideas, because they refer to different members of a class, or because they contrast in a way that regularly puts them in comparable contexts. A list of words with similar usage therefore gives a compiler material to examine. The sense of a headword and the purpose of the entry determine which relations are valuable. Some related terms may help a reader discover a more specific expression. Others would be misleading if the reader treated the list as a collection of ready substitutes.
The paper describes other kinds of automatic evidence as well. Semantic clustering groups terms on the basis of their similarity. In discussing lexical organization, the authors point to WordNet, where words are grouped into sets associated with particular meanings. The members of such a set form a synset. The authors also discuss the use of the roles words play in sentences to help identify subject areas, citing WordNet Domains in that connection. Other approaches named in the paper include statistical methods for finding underlying patterns in text and graph procedures that follow recorded relationships among words. These approaches differ in the evidence they can bring to the question of whether terms belong together.
The Welsh project takes a hybrid route. The authors cite earlier work on finding synonyms for French multiword terms through embeddings. They also discuss an application by Landthaler and colleagues that used embeddings to propose additions to a thesaurus for human resources terminology. Its checking procedure used the intersection between automatically proposed candidates and existing synonym sets. The Welsh paper reports gains in coverage and precision for that application. The precedent matters because the proposal mechanism and the evidence used to check a proposal can come from different resources.
For a language with limited digital reference provision, that arrangement makes it possible to start from resources that already exist for other purposes. A text collection can support a search for terms with similar usage. A dictionary can record translations that connect vocabulary across languages. A tagger can identify categories that are useful in deciding which candidates deserve closer attention. A speaker can offer a plausible alternative that these resources miss. The study investigates the contributions of those sources in the context of low-resource languages.
What a category of meaning can establish
One of the resources available to the authors was the UCREL Semantic Analysis System, known as USAS. It originated as a system for English and was adapted for Welsh in the CorCenCC project. Its dictionaries cover words and expressions consisting of several words, with entries constructed or checked by native speakers. The system associates vocabulary with possible categories of meaning and can use context to choose among them. Assigning labels to language in this way is a form of linguistic annotation.
The authors describe an inventory of 232 semantic fields and report 91.78% coverage for the Welsh tagger in text. The field inventory describes the categories the system can assign. Coverage describes how much of the text the system can label. The coverage figure concerns the availability of annotations in text and gives no direct estimate of how many proposed thesaurus alternatives will share a tag with their headword. A list of isolated candidate words can present a different labeling problem from a passage where surrounding language helps identify the intended sense.
Fields are broader than the kinds of distinctions a writer may need to make. The worked example in the paper involves the category for people. Membership in that category can establish a reason to inspect two words together, even if the words refer to different groups. A narrower or combined tag can record a distinction within the same broad area. The usefulness of requiring identical labels therefore depends on how the labels are organized and how broadly the thesaurus intends to construe relatedness.
Categorical evidence complements the evidence from text use. Embeddings arrange words by patterns found across their training material. A tag connects a word to an established category, drawing on lexical and grammatical information. In the study, the authors use the combination to look inside an automatic result list and ask how many of its apparent alternatives are different words, how many share the headword’s meaning category, and what remains when these conditions are applied.
The method, step by step
Define the words that the comparisons will start from
The starting point was Yr Amliadur, a frequency list from CorCenCC, the National Corpus of Contemporary Welsh. The authors drew their entries from the list of the 500 most frequent Welsh words. They used dictionary forms so that a headword could stand for the underlying lexical item even where that item appears in several forms in text. A dictionary form used in this way is a lemma.
The selection consisted of 84 noun lemmas, 84 verb lemmas, and 82 adjective lemmas, for 250 headwords overall. The authors excluded duplicate entries and conjugated verbs. They selected from the beginning and the end of the source list to sample words from different positions within it. They also included some homophones, words with the same pronunciation. That selection gave them mainly a set of frequent headwords, with some variation in frequency and a deliberate inclusion of cases where sound alone would give an incomplete account of the word’s identity.
The chosen grammatical categories give the headword collection a specific role. Nouns, verbs, and adjectives furnish different kinds of alternatives for a writer, and some search results can be evaluated in part by whether they could serve a similar grammatical function. The selection also gives the automatic retrieval and the speaker exercise a common input. A comparison for a particular word can start from the same dictionary form even when the methods produce quite different lists.
The paper describes experiments with related aims. The embeddings propose candidates that the researchers can inspect and filter. The speaker exercise builds the reference and makes variation among contributors measurable. The graph procedure checks input lists against lexical sources. The flow below follows the main stages of the study, with the final check representing its separate dictionary-based experiment.
How the Welsh thesaurus study gathers and checks candidates
The steps in order.
Ask existing vectors for nearby words
A word vector is a sequence of numerical values. It gives the word a position relative to other words represented in the same way. An embedding can place words close together when the training material provides similar evidence about their use. A nearest-neighbor search starts from the position of the query and returns words judged closest under the representation. That is a way to generate possibilities for thesaurus entries, including relations that bear on lexical semantics.
The authors reused Welsh vectors from FastText resources that had already been trained. They describe FastText as making use of sequences of characters, which supply information about pieces of words. Such sequences can help represent a form outside the stored vocabulary and allow information about shared characters to contribute to representations for related forms. In a synonym search, that property has a visible consequence. Forms of the headword may make very good neighbors, even though a reader who wants another word gains little from seeing all of them. The FastText background is associated with the earlier study Learning Word Vectors for 157 Languages.
One of the vector resources draws on a Welsh Wikipedia corpus. The other, identified as Fine-Tuned-FastText, uses Welsh Wikipedia, CorCenCC, and 9 further resources. The authors report 92,963,671 words for the material used by the latter resource. Expanding the training material can change which uses of a word the representation captures and which words are close enough to be retrieved. The comparison in this paper is between the resulting Welsh resources. The thesaurus experiments start from their existing vector spaces and give the sources of training material without presenting a new training run.
For each headword, the researchers requested the 10 nearest words from each resource. The order and similarity scores describe the search results in that resource’s vector space. The authors then examined the returned words as possible synonyms. A high score gives a candidate priority for examination because the vector procedure has placed it close to the query. Synonymy depends on what the candidate means and how it can be used, properties that require further evidence. The authors specifically mention that antonyms can appear among the neighbors when their contexts resemble one another.
This retrieval procedure supplies an initial list of fixed requested length for each query. That starting point is important for reading the rest of the experiment. Later counts reflect how many results remain when rules are applied to those lists. The rules operate on the retrieved candidates. Their results therefore depend both on the behavior of the filter and on whether the original search proposed words that could meet its conditions.
Inspect and filter the candidates
The paper uses PyMUSAS, a Python implementation that retains Welsh data and methods from the tagger developed during CorCenCC. It assigns labels using information about the word’s grammatical category, its form, and its field of meaning. The grammatical categories come from CyTag, the Welsh system used to tell, for instance, which items are nouns or adjectives. This step gives the researchers information about the syntactic function of a proposed alternative through part-of-speech tagging.
A candidate can be grammatically suitable and still add little to an entry. The first filter examines whether the candidate is another form of the query lemma. For pobl, the table maps bobl and phobl back to pobl. The vector search can give those forms high positions because of their close connections to the query. The lemma comparison makes it possible to remove them from a list designed to offer alternative vocabulary. It relies on the dictionary form assigned by the analysis, a process called lemmatization.
The assignments also show where this operation stops. In the worked example, the reported lemma for pobol is pobol, and bobol is mapped to that form. For purposes of the same-lemma test, they differ from candidates that the tagger maps to pobl. Both can therefore survive a rule that compares each lemma to the query lemma, even if they are very close in form or translation. The filter tests for a specified identity in the annotation. Its ability to remove variants depends on which written forms the analysis associates with the same entry.
The next condition compares the meaning tags of a candidate and its headword. The simple tag used for pobl is S2, the field for people. The table displays candidates with that label alongside words with more detailed or combined labels. The authors use the tag information to select candidates with the same semantic classification and a different lemma. This gives them a way to concentrate on possible alternatives that are distinct lexical items in the target’s conceptual area.
Whether shared category information leads to a match can depend on the way a tag is encoded. In the example, the labeling of inhabitants and citizens contains information that relates to people as well as other distinctions. The paper reports matching semantic tags and displays the codes assigned to candidates, but gives limited detail about how combinations and refinements are treated in the aggregate match. The lexical interpretation and the string used to represent the tag deserve care when reading the comparison. A form can be plainly related in meaning to a reader while still making the computational comparison less straightforward.
An unknown tag presents a different case. The authors report Z99 for words outside the tagger’s lexicon. They describe a fallback in which they remove candidates with matching lemmas without automatically eliminating words bearing Z99. This avoids discarding all such candidates solely because the tagger cannot place them. A candidate retained in this way is available for further vetting. The fallback and the stricter semantic-matching analysis address different needs. The former provides a way to proceed with incomplete lexical information, and the latter shows how much material meets the stated tag criterion.
The worked example shows the parts of speech along with the lemma and semantic tag, so that a reader can see several properties of a result at once. The aggregate stages are reported as removal of same-lemma results and then selection by semantic tag among dissimilar lemmas. The paper provides no standalone aggregate count for a grammatical-category filter. The reported counts thus answer questions about distinct dictionary forms and semantic matching, while the category column helps explain individual results.
Ask speakers for alternatives and keep their order
The authors asked seven paid native Welsh speakers to supply synonyms for each headword. Those who took part were in the final year of a Welsh undergraduate degree or were postgraduate students who had written in Welsh. They could supply up to ten suggestions for a word, and each participant decided on the order. The task produced a group of lists for each headword, with candidate identity and position both available for analysis.
The resulting material was intended to provide a gold standard, a human reference against which a procedure can be compared. Here the reference is assembled from several people’s choices. It preserves differences in what contributors thought of and how they ordered it. The agreement analysis asks how many contributors converge on the same candidate sense, and how the count changes when their grammatical categories also have to agree. This added criterion matters for words that could be used in more than one grammatical role.
The researchers also compared the order of suggestions. When a word appears on several lists, its positions can be pooled. The paper describes a ranking based on the mean position, which summarizes the placement of the word using an ordinary average. It then applies the root mean square as an alternative. The authors are interested in whether a term that one speaker places prominently can move up in a combined ordering despite lower agreement on its inclusion. They also describe comparing the order of suggested synonyms with word frequencies from CorCenCC.
The displayed root-mean-square expression can be written as:
xᴿᴹˢ = √((x₁² + x₂² + x₃² + ⋯ + xₙ²) / n)
The quantity on the left, xᴿᴹˢ, is the root mean square of the input values. Each x with a subscript is one input value, with the subscript identifying its place in the series. The inputs in the ordering experiment are numerical values representing the placement of a suggestion. The symbol n gives the number of inputs included, and the final subscript marks the last of them. The superscript ² means that each input is squared. The plus signs add the squares, and the ellipsis indicates the intervening terms. Division by n averages the squares, the radical √ takes the square root of that average, and the equals sign identifies the result.
Squaring gives larger numerical inputs more influence than they have in an ordinary average. The consequence for an ordered display depends on the encoding of positions and the treatment of contributors who omit a word. A larger number can signify a different kind of placement depending on how the ranking is represented. The example in the paper shows the result of the authors’ implementation for a particular suggestion. The mathematical expression describes the operation on the values supplied to it, and a full reconstruction would also require the assignment of those values when a word appears on only part of the contributing lists.
The elicitation thus provides material for both inclusion and ordering. A suggestion can broaden the pooled vocabulary even if nobody else offers it. Its position can be studied separately from the number of people who put it forward. This distinction is especially relevant once a thesaurus entry has enough possibilities that a reader will usually encounter only the upper part of its list.
Check lists against linked lexical sources
The graph experiment asks how much support for input suggestions can be found in resources such as dictionaries and Welsh WordNet. The authors built a web tool around a procedure originally described in work on Arabic synonyms. The Welsh tool includes bilingual dictionaries, among them Hawke’s Welsh–English dictionary, and Welsh WordNet. A bilingual dictionary supplies links through translation. WordNet supplies lexical links from a resource organized around meanings. The antecedent is A Benchmark and Scoring Algorithm for Enriching Arabic Synonyms.
The algorithm makes a graph from pairs that express translation or synonymy. In this representation, a link can be followed to other terms connected through the lexical sources. A path is a sequence of those connections, and a cyclic path closes back on itself. The procedure considers cycles as evidence for candidates. This allows several recorded relationships to provide support for a possibility even where the original input and a candidate lack a direct synonym link.
The paper calls the graph setting k, the level at which the graph is constructed. It reports comparisons at levels 2 and 3. For each candidate, the procedure calculates what the authors describe as a fuzzy value, a graded indication of support for membership in the synonym set. Candidates can then be ordered for comparison with a list supplied to the tool. The report describes the role of the score and the kind of paths considered. It leaves the full scoring procedure to the earlier graph work.
The tool accepts an input synonym set and checks it against the graph results. A candidate missing from the tool’s output is designated out of vocabulary and assigned a position at the end of the set. That convention lets the study calculate a numerical ranking error even where the tool has supplied no ordinary rank for the word. The authors additionally use an overlap measure for the input and output sets so that coverage can be observed without the ordering convention.
These experiments provide the material and checks for a user-facing reference. The authors describe delivery through a bilingual website, accompanied by Python code in a public bilingual repository and access through a web service. They also propose drawing a usage example for each word from CorCenCC. Example sentences would help a user choose among items once alternatives have been retrieved. The reported procedure concentrates on finding and examining those alternatives.
Experiments and results
Reading the neighbors of pobl
The first experiment compares standard Welsh FastText and Fine-Tuned-FastText on the same selected headwords, with the same request for nearest neighbors. The human suggestions are described as the intended reference. The numerical results shown for the vectors consist chiefly of a worked example and counts of retained candidates across the headword collection. They give a direct view of the words the search produces and how selective the filtering becomes.
For pobl, standard FastText gives the top place to bobl, with a vector similarity of 0.629. It also returns phobl at 0.546 and pobol at 0.528. These are all glossed as people in the paper. Other items on the list include ifanc, young, and bod, being. The final result for the standard resource is Ogleddwyr, North Walians, at 0.504. One query therefore brings up forms close to the headword, a term for a group of people, and words with other grammatical or semantic functions.
The first candidate for Fine-Tuned-FastText is pobol, with a similarity of 0.733. Its list also includes rhywun, someone, at 0.551, and pawb, everyone, at 0.498. It returns trigolion, inhabitants, at 0.540, and dinasyddion, citizens, at 0.482. The term plant, children, appears at 0.480. The last candidate in this list has a score of 0.468 and is shown as a form of pobl. The output illustrates the potential value of the additional Welsh training material and the continuing tendency to retrieve nearby word forms.
The authors regard the fine-tuned result as more closely related to the meaning of pobl. Several of its nonidentical terms do give a reader vocabulary for referring to people. That judgment rests on examining the words. The similarity scores also describe the position of each result within its own resource, with ranges of 0.629 to 0.504 for standard FastText and 0.733 to 0.468 for the fine-tuned resource in this example. The paper gives no common calibration that would turn such a range into a measure of synonym quality across resources.
The tagging table allows a closer reading of some of these neighbors. The labels for bobl and phobl show why their similarity scores are of limited value for an entry seeking different words. Both are mapped to the headword’s lemma and given the S2 field. The table gives distinct lemmas for inhabitants, citizens, and children, and their semantic labels incorporate finer distinctions than the bare S2 tag. The vectors have brought them into the same area of inquiry. The tagger makes distinctions inside that area, and the lemma analysis identifies repetition of the query.
The authors use grammatical and semantic labels to argue that the fine-tuned resource supplies more promising neighbors for this headword. The displayed categories also indicate why “more promising” is a description of the candidate pool. A word such as dinasyddion can be useful to someone who intends to refer to citizens. In a sentence about people in general, it would change the group being described. The automatic list is therefore most informative when the relation is available for a reader or compiler to inspect.
How many candidates survive the filters
In the report of lemma filtering, the starting count given for standard FastText is 2490 candidate entries. Removing candidates that share a lemma with their own headword leaves 2047. The authors describe that output as averaging fewer than 9 candidates per headword. They report 1776 entries after the corresponding lemma filter for Fine-Tuned-FastText, with an average of 7 per word. These totals count results associated with headwords. They measure what remains in the lists after removing candidates with the query’s dictionary form.
The fine-tuned resource has a smaller remaining pool at this point. In the pobl example, the resource produced several results of very close form as well as semantically related alternatives. The aggregate surviving count gives the extent of retention under the lemma rule. It does not say how many of the remaining entries are suitable alternatives, or indicate which headwords bear most of the loss.
With the semantic condition added, 132 entries remain for standard FastText and 173 for Fine-Tuned-FastText. These are the authors’ counts for candidates sharing the query’s PyMUSAS tag and differing in lemma. Thus the relative yield favors the fine-tuned vectors under the semantic condition even though their list is smaller after lemma removal alone. For some queries the filtering leaves no candidate with a matching semantic tag.
The two stages make different observations about the output. Lemma filtering shows how much of a retrieval list maps back to the query’s dictionary form. Semantic filtering shows how much of the remaining material passes a specific test of category agreement. Passing both is a useful property where the goal is to find distinct and comparably labeled candidates. The results count that property across the retrieval output. The paper does not give an aggregate precision or recall comparison against the speaker reference that would show how many appropriate suggestions the filters retain and how many they discard.
Where speakers converge
The elicitation study reports 6953 suggestions for the reference derived from the 250 headwords. The paper tabulates agreement by how many annotators supplied a sense, and separately by how many agreed on both sense and part of speech. The thresholds headed “at least” include every entry meeting that level of support, including entries with more agreement. This is why a suggestion supported by all contributors also belongs to the less demanding threshold counts.
In the sense-only analysis, 4517 entries are attributed to one contributor alone. The paper gives 2436 at the threshold of at least two contributors, 1354 at at least three, and 808 at at least four. At the threshold of agreement from all seven contributors, the count is 80. The distribution shows how much vocabulary would be set aside by a policy that retained only repeatedly proposed entries. It also identifies a smaller set that has broad support under the study’s elicitation conditions.
For agreement that includes grammatical category, the table gives 4895 entries attributed to one contributor, 2323 at the threshold of at least two, and 64 with support from all seven. The authors present this count alongside the one for sense alone. The paper gives insufficient detail to treat both columns as partitions of a common set with the same denominator. The counts can be read under their stated conditions. In both, individual proposals account for considerable material, and complete agreement is much less common.
The method can capture variation even for a familiar query. For pobl, the speakers proposed 31 distinct alternatives. When the authors compared the mean-position ordering with the root-mean-square ordering, cymdeithas rose in the latter, although one speaker alone had proposed it. That example shows a change in display priority from changing the aggregation of the responses. The experiment also describes a comparison with CorCenCC frequency, but supplies no numerical outcome for the association between the contributors’ ordering and corpus frequency.
What the dictionary and WordNet comparison measures
The graph results compare the lists supplied by the linguists and a word-embedding input, identified as WE, against the output of the lexical graph tool. The inputs are evaluated at graph level 2 and graph level 3. The graph results provide the comparison list in this experiment. The study asks about agreement with those results in membership and ordering, using metrics that answer distinct questions.
For membership, the authors report the Jaccard coefficient. It compares the number of terms shared by the sets with the number of distinct terms present across the two sets. The coefficient is 1 for identical sets and 0 where the sets have no overlap. It is insensitive to where a shared word appears in either ordering. A result can therefore improve on this measure if the graph finds extra words from the input list, even if their positions disagree with the input.
For ordering, the authors represent positions numerically and report mean absolute error, or MAE, and root mean squared error, or RMSE. MAE takes the magnitudes of the differences between paired numerical values and averages them. RMSE squares the differences, averages those squared values, and takes the square root. This gives larger discrepancies more influence. Lower values for either error measure indicate closer numerical agreement under the study’s ranking convention. The graph experiment applies the root-mean-square operation to errors between sources, while the elicitation experiment applies it to values used in pooling positions.
The Jaccard coefficients in the graph comparison range from 0.34 to 0.83. Each paired input has higher overlap at level 3 than at level 2. Linguist 4 has the highest reported coefficient, at level 3. The chart includes that list and the embedding input, with each shown at both settings so the level comparison can be read within an input source.
Jaccard overlap with Welsh dictionary and WordNet outputs by graph level
The deeper graph setting improves overlap for both input lists, and the selected linguist’s list has the strongest match.
The numbers
| System or setting | Jaccard coefficient |
|---|---|
| Linguist 4 at level 2 | 0.81 |
| Linguist 4 at level 3 (this paper) | 0.83 |
| Word embeddings at level 2 | 0.43 |
| Word embeddings at level 3 | 0.45 |
The reported MAE values extend from 10.02 to 28.79, and RMSE values extend from 13.05 to 35.38. The paper’s prose attributes the lowest errors to linguist 4 at level 3, citing MAE of 19.26 and RMSE of 23.36. The numerical table differs from that account. For the same linguist at level 2 it gives MAE of 19.11 and RMSE of 23.15, both below the corresponding level 3 entries. It also contains the smaller values at the bottom of the reported ranges elsewhere in the comparison. The strongest set overlap and the smallest ranking errors therefore occur in different entries of the table.
The embedding input gives another clear example of why it matters which metric is being read. Its overlap increases at the deeper setting, while MAE moves from 27.69 at level 2 to 28.74 at level 3, and RMSE moves from 33.79 to 35.03. Some of the other inputs show decreases in ranking error at the deeper level. The table supports a consistent advantage for level 3 on set overlap and a source-dependent result on ordering.
Together, these measurements show how well the input lists agree with the output of the graph under the tested settings. The comparison takes place within the lexical resources available to the tool and under the stated handling of missing candidates. It has a precise interpretation as evidence about overlap and rank agreement. Whether the words at the top of a complete thesaurus entry would help a user choose suitable wording is a further question.
What the ablations show
The paper has no end-to-end ablation of the assembled thesaurus, and its analyses instead compare vector resources, successive filters, agreement criteria, ways of pooling positions, and graph levels.
What changes when the candidate source or filter changes
The vector comparison gives both resources the same queries and requested neighbor count. In the pobl example, the fine-tuned search retrieves several distinct terms for people, and the aggregate semantic-matching stage yields more candidates from that resource. The comparison concerns complete vector resources with different training material. It cannot identify which added source was responsible for a particular neighbor or how much any individual corpus contributed.
The comparison across filtering stages reveals two reasons why the usable list can be smaller than the initial retrieval. Some candidates are forms of the query, so they repeat the dictionary entry. Other distinct lemmas fail to match the category assigned to the query. The same-lemma rule addresses the first case directly. The semantic rule imposes an additional constraint and leaves much smaller lists. These are controlled changes to the rules applied after retrieval, so the reductions establish that the rules are selective. A quality comparison would also need to assess the accepted and rejected items against the intended use of the thesaurus.
The tagger’s unknown code brings out a practical distinction within the semantic screen. Some candidates carry enough lexical information to be checked even when the decision is difficult. For a Z99 candidate the tool lacks that basis for comparison. The reported fallback preserves possibilities when imposing the semantic rule would leave very little to examine. The paper gives no separate quality result for the fallback. Its rationale is to keep uncertain cases available, and its consequence is that some retained words have less annotation evidence than others.
The semantic filter also illustrates the choice of how narrowly to define a relation. Two tags can record a shared broad subject while distinguishing particular instances of it. A term for a specific population can have a more detailed label than a term for people in general. This is a plausible source of disagreement between a semantic match and a thesaurus judgment. The paper’s tags make the issue visible in the worked example. The aggregate counts establish the severity of filtering and leave the sources of individual losses open.
What changes when speaker evidence is pooled
The agreement analysis responds to a change in the definition of correspondence. Meaning alone gives one view of convergence. Requiring agreement in grammatical category adds information about how speakers understand the proposed vocabulary. At full agreement, the count declines under the added requirement. The comparison shows how the reference can change when its entries encode a grammatical distinction that a reader may need to use an alternative in a sentence.
The ordering comparison holds the suggestions fixed and changes how positions are combined. The change in prominence for cymdeithas demonstrates that the pooled display can respond to strong placement on an individual list even where support across speakers is sparse. This is evidence about the ranking procedure. It gives the compiler a concrete reason to examine what the aggregate score rewards, especially for entries made up of many suggestions with limited agreement.
The observed move also helps distinguish elicitation from natural usage. The position of a word is recorded within a task where participants are choosing what to put forward and in what order. Its prominence shows what happened in that response, and the pooled result shows how the calculation treated it. The paper interprets prominence as a reason to give the word more weight. The analysis provides no independent record of how frequently the contributor used the term in speech or writing.
What changes when the graph goes deeper
The graph comparison pairs the same input source with the two tested levels. The lexical sources stay in place. This makes the recurring increase in Jaccard overlap informative about the tested parameter. In the reported comparison, broader graph exploration yields sets that correspond more closely to the input lists by the membership metric.
The paired errors show why the ordering conclusion is narrower. A graph setting can change the pool of returned words and also redistribute positions. A missing word is assigned an end position, so a change in coverage can affect rank comparisons as well. The study gives no comparison with an alternative convention for missing candidates. Its results therefore show the behavior of the graph level together with that scoring convention. They favor the deeper setting on the measured overlap and provide no uniform ordering advantage.
Limitations
Limits identified by the authors
The authors acknowledge that the resource may have gaps and contain erroneous entries. They propose a later evaluation involving fluent Welsh users recruited through an existing platform. In the reported study, speakers contributed alternatives for a selected list of words. A later evaluation of the thesaurus would involve looking at the assembled entries and judging whether the suggestions and information they provide meet users’ needs. Those tasks supply different evidence about the quality of the resource.
The paper also emphasizes that connotation and context affect whether an alternative can be used in a particular instance. The authors intend to use examples from CorCenCC to give a reader more information for that decision. The pobl example illustrates the issue directly. Inhabitants, citizens, and children all provide ways to name people when the corresponding distinction matters. Their usefulness changes with the people the writer intends to describe. The study reports retrieved words and their relation to the query. It treats the addition of contextual examples as work to be done.
The automatic stages come with their own limits in the paper’s account. Words with opposing meanings may turn up as vector neighbors because they occur in similar surroundings. A semantic filter can then make a different mistake by discarding a relevant alternative whose tag differs from the query’s. The unknown-tag fallback acknowledges still another possibility, in which the system cannot supply an informative category. These observations explain why the authors make room for further human evaluation and see value in comparing the outcomes of their experiments.
The authors also identify the opportunity to combine the experimental findings more fully in future refinement. The paper reports separate sources of evidence and shows what each contributes to generating or checking candidates. It leaves open how to combine those results into a single procedure for selecting and ordering a finished entry. Claims about more efficient compilation are part of the project’s rationale. The reported results give no measurement of time or cost relative to a manual compilation process.
Limits of the headwords and the human reference
The selected entries give the evaluation a bounded vocabulary. They come from the 500 most frequent words in a particular corpus list and focus on 250 selections in three grammatical categories. The attempts to include entries at different ranks, as well as homophones, add diversity within that frame. A reference that extends to rarer vocabulary, additional grammatical categories, or many expressions consisting of several words could encounter a different balance of vector neighbors, available tags, and agreement among speakers. The results are specific to the sampled entries.
The speakers offer informed judgments, with relevant experience of study or writing in Welsh. Their responses also come from a task with a fixed upper limit on suggestions. An omission can occur because a term did not come to mind, because the contributor had reached the limit, or because the contributor understood the prompt in a different sense. The agreement counts record which people converged under the task conditions. They cannot resolve the reason for a particular omission or turn the number of endorsements into a direct measure of suitability.
This is especially important when a headword admits several senses or readings. Someone can give an apt alternative for one reading even if another participant had an completely different use in view. The reference is valuable partly because pooling can recover some of that diversity. The reported overall counts give limited information about how agreement varies by sense, or whether contributors understood an ambiguous prompt in the same way. A broad human inventory and a narrower reference for evaluation can consequently serve different purposes.
The rank aggregation leaves a further interpretive issue. The paper gives its root-mean-square expression and illustrates a changed ordering. It does not give enough detail about the numerical representation of omissions to reproduce the illustrated ordering from the formula alone. That detail matters most for a word such as cymdeithas, which appears on one contributor’s list. The study also mentions comparing suggestion order with corpus frequency, with no numerical result quantifying the association. Prominence in the elicitation, prominence in the pooled result, and frequency in published corpus counts are distinct observations.
Limits of the automatic comparisons
The embedding evaluation illustrates a recognizable contrast in the pobl lists and reports counts from the filtering stages. The paper describes using speaker suggestions as the reference, but gives no aggregate measurement of retrieval quality against it. A comparison of surviving counts cannot establish how many people would judge the retained words suitable or how many valid alternatives fell outside the initial neighbor lists. The best-supported claims concern the character of the worked example and the output retained under the specified conditions.
The semantic tagger’s text coverage is likewise a property of the available tagger. It has a different scope from coverage of a thesaurus, where success depends on whether a proposed alternative can be usefully associated with a headword. Even a candidate that is confidently tagged may receive a label at a different level of specificity. The reported analysis also leaves some uncertainty about matching composite tags and how the unknown-tag fallback enters the aggregate results. These implementation details could matter for reproducing which particular alternatives survive.
The graph test has reference limits of its own. A lexical tool can support candidates through the connections in the resources it was given. An absence can reflect a gap in those resources as well as a difference in lexical judgment. Assigning a missing word an end position makes it possible to calculate rank errors across a comparison with gaps. It also ties part of the resulting error to the tool’s coverage and the placement rule. Jaccard supplies a view of coverage without rank, while leaving the suitability of individual shared candidates for a reader to be studied separately.
The discrepancy between the graph results in the prose and in the numerical table narrows the conclusion about the best setting. The table makes level 3 the consistent winner on overlap and records both gains and losses in rank agreement. Its lowest errors occur outside the entry singled out in the prose. A claim of superiority on all reported measures cannot be supported by these results. The comparison establishes exactly which metric favors the deeper setting consistently.
The conclusion of the paper also describes the project as outperforming existing Welsh resources in generating related words. The reported tests cover particular contrasts among vector outputs, human suggestions, and the lexical graph. They give no head-to-head task in which readers use the finished thesaurus and an existing reference to solve the same word-choice problems. Nor do they establish comparable compilation effort or coverage across reference works. The paper’s strongest empirical contribution is the examination of candidate sources and filtering decisions under the Welsh study’s conditions.
Finally, the authors propose applicability to other languages with limited digital resources. Their case benefits from a corpus frequency list, pre-existing Welsh vectors, a Welsh semantic tagger, and lexical resources capable of supplying graph connections. Another language may have different resources or different gaps, which would change the evidence available at each stage. The study gives a worked Welsh example of how the pieces can be used. It provides no cross-language evaluation of how readily the procedure transfers.
What came after
Later papers citing this study concern Arabic lexical resources, language tools, and corpus tasks. Their topics establish several connections with the Welsh project. The citation links alone establish few details about method transfer. The continuities that can be identified concern the kind of resource each paper develops and the linguistic decision it is meant to support.
The closest connection is to Qabas, an open-source Arabic lexicographic database. The Welsh paper studies a specific reference task, in which proposed alternatives are gathered for selected headwords and checked with several kinds of evidence. Qabas makes a lexicographic database its subject. Both contributions concern the availability of structured resources for vocabulary, with different aims for the material they organize. The citation establishes a connection between these efforts, while the account of Qabas identifies no reuse of the Welsh candidate lists, filters, or orderings. Qabas
SinaTools presents an open-source Arabic language-processing toolkit. The Welsh study illustrates a particular use for language tools by taking outputs from grammatical and semantic tagging into thesaurus compilation. The toolkit paper concerns providing tooling for Arabic more broadly. That is a point of contact between a resource built with the help of analysis tools and work whose contribution is the tooling itself. The citation identifies no particular feature derived from the Welsh thesaurus experiments. SinaTools
The Arabic event-argument paper concerns a corpus and a BERT approach to extracting arguments associated with events. Its extraction task deals with the expressions connected to an event in text. The Welsh task begins with a dictionary form and investigates which words can be offered as lexical alternatives. Both involve constructing language-specific material for comparison with an automatic procedure. The connection supported by the citation is at the level of that broader resource-building activity. The title gives no basis for attributing corpus records or a synonym scoring procedure to the Welsh study. Arabic event-argument extraction
AraGenre 2026 describes a shared task for Arabic genre classification that organizes its categories hierarchically and uses definitions to guide classification. Categories also matter in the Welsh work, where tags place words in fields of meaning and can determine whether candidates pass a filter. The tasks apply their categories to different units and use them for different decisions. The citation connects the Welsh case to a later classification effort whose stated subject is the organization and identification of genres, with no documented adoption of the Welsh semantic inventory or graph procedure. AraGenre 2026
Cite
Cite as Nouran Khallaf, Elin Arfon, Mo El-Haj, Jonathan Morris, Dawn Knight, Paul Rayson, Tymaa Hasanain Hammouda and Mustafa Jarrar. 2023. Open-Source Thesaurus Development for Under-Resourced Languages: a Welsh Case Study. Proceedings of the 4th Conference on Language, Data and Knowledge.
@inproceedings{khallaf2023open,
title = {{Open-Source Thesaurus Development for Under-Resourced Languages: a Welsh Case Study}},
author = {Nouran Khallaf, Elin Arfon, Mo El-Haj, Jonathan Morris, Dawn Knight, Paul Rayson, Tymaa Hasanain Hammouda and Mustafa Jarrar},
booktitle = {Proceedings of the 4th Conference on Language, Data and Knowledge},
year = {2023},
url = {https://aclanthology.org/2023.ldk-1.30/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/khallaf-2023-open-source-thesaurus-development-under/