Elamur Research

PoliMorf: a (not so) new open morphological dictionary for Polish

Paper · 2012 · Marcin Woliński, Marcin Miłkowski, Maciej Ogrodniczuk et al.

Summary

A Polish dictionary for text processing needs to tell a program what a written form can mean grammatically. An ending may indicate case or number, and the same spelling can belong to different words. PoliMorf brings together two substantial resources that already record such information, the Grammatical Dictionary of Polish, known as SGJP, and Morfologik. The authors wanted a shared dictionary that could be reused widely and distributed under permissive terms. They also had to decide when entries made by different teams described the same word and could safely become a single entry. That decision is a problem in morphology.

The project relicensed the source dictionaries under the 2-clause BSD licence and brought their data into Kuźnia, a web application for collaborative dictionary editing. SGJP supplied the initial database and the patterns used to generate inflected forms. The authors then imported Morfologik and tried to fit its entries to those patterns. A match depended on more than a shared headword. The dictionaries sometimes assigned different forms to a word, gave different grammatical descriptions, or drew different boundaries inside a written form. Kuźnia also let editors retain each entry’s source and produce dictionary versions with different grammatical tags and segmentation rules.

The evaluation examined random samples of 100 lexemes from each of several import outcomes. The authors detected no errors in the sample of entries automatically collapsed across the dictionaries on the strength of matching sets of forms. They also detected no errors in the sample of new Morfologik entries whose inflectional characteristics had been assigned unequivocally. Other samples showed where the process still needed editorial work. Masculine nouns could be difficult to classify from their endings, especially when the imported annotation was already unreliable. Among entries that appeared in both dictionaries and resisted a merge, differences in inflection and in the inclusion of passive forms were recurring issues.

PoliMorf was still being assembled when the authors reported these results. SGJP had been loaded, Morfologik had been integrated in part, and verification was ongoing. The counts show the scale of the combined inventory, while the sample reviews show how the merger divided the work between automatic matching and human judgment. The paper’s contribution is a permissively licensed resource in development and a way to maintain it as editors reconcile two established descriptions of Polish.

Deep dive: PoliMorf: a (not so) new open morphological dictionary for Polish

PoliMorf combines two Polish inflection dictionaries under an open licence and shows where automatic merging gives way to editorial review. · about 31 minutes to read

The problem and its context

Why the dictionary licence mattered

A morphological analyser consults an inflection dictionary when it encounters a written form. Its output may include a headword and information such as the form’s case, number, or gender. The analysed text can consequently carry information taken from the dictionary. The authors report that the lawyers whose reasoning they follow treated text enriched in this way as a derivative of the dictionary. On that interpretation, the right to distribute the original text and the right to distribute the enriched version can come apart. A dictionary licence therefore affects what researchers and developers can do with the annotated material they produce. This is a question about the reuse of linguistic annotation.

The argument concerns the output of an analysis as well as access to the analyser. A researcher might be able to run an analyser for a particular purpose and still face incompatible terms when sharing a collection containing its output. The authors wanted the dictionary to be usable in processing chains whose eventual outputs could be redistributed. They pursued a permissive licence at the point where lexical information entered those chains. This work took place within CESAR, part of META-NET, which aimed to make language resources for Central and East European languages easier to sustain, combine, and reuse.

Polish already had a substantial history of morphological dictionaries and analysers. The paper points to a previous survey that counted 12 such resources. Many were unavailable to the public or had terms that limited their use even in non-commercial research. Among the resources the authors single out, UAM Text Tools offered its underlying dictionaries under licensing options that included Creative Commons Attribution Non-Commercial Share Alike and the GNU General Public License. Morfeusz had previously been free for non-commercial use while remaining closed source. Morfologik had been available under the GNU Lesser General Public Licence and a Creative Commons ShareAlike licence.

That history shaped the authors’ choice of project. A fresh dictionary would have required compiling lexical material that existing teams had already spent years developing. SGJP and Morfologik were large and had been produced independently. Their different origins gave the authors reason to expect that each would contain useful material absent from the other. A common licence made it possible to bring them together, and the comparison of their contents could then determine where the entries coincided and where the coverage was complementary.

From the headword to its forms

A dictionary for morphological analysis needs to connect the item under which an entry is listed with the spellings that item can take. A lemma is the headword form used to identify an entry. A lexeme is the vocabulary item that its dictionary description is about. A word form is a particular shape that the item takes. The inflectional paradigm relates those forms to their grammatical functions. A form may serve several functions within the same paradigm, and a spelling can also be shared by forms from different lexemes. These distinctions matter when counting the contents of a dictionary or deciding which entries can be combined.

SGJP supplied the inflection data used by the Morfeusz SGJP analyser. The dictionary grew out of work led by Saloni that began with the digitisation of headwords from Doroszewski’s Polish dictionary. The SGJP team built on grammatical research and developed detailed accounts of how Polish words inflect. Its descriptions encode reusable inflectional patterns. In the paper’s simplified account, a pattern captures how endings combine with material shared by the forms of a lexeme. The actual description of inflection goes beyond that outline. The large pattern inventory reflects the extent of variation the authors needed to represent.

SGJP also separates the description of how to form inflected words from the assignment of grammatical tags to them. A tagset is the set of labels used to express grammatical categories in an analyser’s output. Morfeusz SGJP uses the IPI PAN Tagset, while the organisation of SGJP allows the authors to consider producing output with a different one. The stored pattern and the tag attached to a generated form serve different purposes. An inflectional pattern tells the dictionary how the forms are related. A tag gives a consumer of the dictionary a way to read the grammatical properties associated with those forms.

Morfologik took shape through the conversion of a Polish ispell and hunspell spelling dictionary. That source preserved enough grammatical structure for conversion scripts to recover useful information, and later work supplied additional details manually. Morfologik was distributed with the Morfologik-stemming analyser library. Its tagset drew on the IPI PAN scheme and adapted it to the needs of the resource. It marked some forms as irregular where detailed annotations were unavailable. It also added information about reflexive verbs for LanguageTool, which used the dictionary extensively for grammar checking.

The conversion inherited gaps from the spelling dictionary. Masculine nouns illustrate the problem. Their finer gender distinctions could be hard to determine from what the spelling source recorded. Manual contributions and heuristics supplied annotations, but the authors describe them as unreliable. The issue affects a substantial class of entries because nouns make up about one third of Morfologik and almost half of those nouns are masculine. This is a case in which a large source inventory still leaves an importer with too little reliable information to place many entries confidently.

Why the same spelling can need different entries

The dictionaries also differ in tokenization, the decision about what units to treat separately in a text. Consider poszedłbym, which the paper glosses as a form meaning “I would go.” SGJP accounts for it through poszedł, by, and m. Morfologik handles the complete written form as a unit. Each convention determines what the analyser can put in a dictionary lookup result. A record whose key is the entire written word and records for successive pieces describe the spelling at different levels.

The ambiguity of miałem makes that difference consequential. As a past masculine form, it belongs to mieć, meaning “to have.” The same spelling is also a singular instrumental form of miał, meaning “dust.” Morfeusz SGJP can use a graph to represent alternative analyses that involve different divisions of the input. In such a representation, the branches allow alternative routes through the same span of text. Morfologik-stemming gives a flat list of readings for the undivided written unit. The paper notes that some researchers preferred flat lists because they were simpler to use, particularly when their other software lacked support for graphs.

The contrast also reaches the structure of the lexical data. SGJP stores how to generate forms separately from how to label them. Morfologik stores its analyses in a flat textual format closely tied to its chosen tagset. An importer looking at the two resources therefore has several questions to resolve. It needs to know which lexeme is involved, which forms are in scope, and how the two resources express the properties of those forms. Renaming tags alone would address only one part of that work.

What belonged in each source

The source behind Morfologik grew through an online community associated with word games. To make decisions about acceptable words less arbitrary, the community initially admitted forms already recognised in published modern Polish dictionaries. This produced a broad inventory. A word could be useful as evidence of what might legitimately be played or written even if it attracted little everyday use. SGJP drew on a different practice. Its editors decided which items and forms to record using explicit grammatical principles. The paper also identifies a connection between the two traditions, since the spelling source used rules of inflection informed by Saloni’s work.

The authors illustrate the effects of broad coverage with sie. Without the diacritic, this spelling can arise when a writer intends się. It can also be interpreted as a plural form of the archaic adjective si. The paper identifies siego, in Do siego roku!, as the form of that adjective that survives in current use. A spelling checker that accepts sie on the strength of the old adjective can let a common misspelling pass. The spelling-check edition of the community dictionary removed some such items, and their removal carried through to Morfologik. For a dictionary with multiple uses, there is a difference between documenting a form and exposing it in a particular output.

Proper names introduce a further difference in coverage. They entered the community dictionary relatively late, after having been excluded from the word game, and were then added extensively. Its rules supplied plural forms for some names. SGJP associates proper names with plural forms systematically, even when actual use of the plural is uncertain. Two entries for the same name could therefore agree on how the familiar forms are spelled while disagreeing about which additional forms belong to the paradigm. A merger based on the whole set of forms encounters that disagreement directly.

The context for PoliMorf is thus a pair of dictionaries that answer partly different questions. Their contents reflect decisions about grammatical description, useful output for software, and membership in the vocabulary. A shared resource had to make those decisions visible enough for editors to compare the records and for different applications to receive suitable exports. This is as much a problem of lexicography as of file conversion.

The method, step by step

Establish a source structure for the combined dictionary

The owners agreed to license SGJP and Morfologik under the 2-clause BSD licence. The project then needed a place to reconcile and maintain their descriptions. The authors implemented Kuźnia within CESAR as an online collaborative editor and database. Kuźnia keeps records for lexemes, gives editors access to their grammatical descriptions, and supports tracking changes. It can also store the dictionary source of a lexeme. The initial import populated this database with SGJP before the authors attempted to incorporate Morfologik.

The choice of SGJP as the starting structure gave the combined resource a working inventory of inflectional patterns. An editor could characterise a lexeme by assigning it a pattern and use that pattern to generate its forms. A Morfologik entry, by comparison, arrived with information expressed through its own tagset and flat data format. The import tried to connect that information to the grammatical properties and form-generating descriptions already available in Kuźnia. The process can be followed from those inputs to the editorial record and its exports.

How Kuźnia brings SGJP and Morfologik together

The steps in order.

How Kuźnia brings SGJP and Morfologik togetherStep 1: Load SGJP lexemes and their inflectional patterns1. Load SGJP lexemes and their inflectional patternsStep 2: Import Morfologik entries with their source information2. Import Morfologik entries with their source informationStep 3: Match imported forms to SGJP paradigms3. Match imported forms to SGJP paradigmsStep 4: Collapse entries whose form sets agree4. Collapse entries whose form sets agreeStep 5: Review unresolved descriptions in Kuźnia5. Review unresolved descriptions in KuźniaStep 6: Generate dictionaries with configured tags and segmentation6. Generate dictionaries with configured tags and segmentation

An inflectional pattern is reusable across the entries it describes. The simple intuition is that words whose grammatical forms are built in the same way can be associated with the same set of instructions for forming them. The headword identifies the item, while the pattern relates that item to its inflected forms. This arrangement gives editors a way to work on a complete paradigm when a problem first comes to their attention through a particular form. It also means that finding a matching pattern is a step toward a usable lexical description, with consequences for every form generated from it.

There can be variation within an established description. Kuźnia’s example screen shows the noun Cezar with SGJP patterns that differ in the nominative plural. One produces Cezarowie and the other Cezarzy. The screen also contains Morfologik entries for Cezar, which the authors identify as candidates for editorial consolidation with the SGJP entry. The example helps explain what a merged record must express. The shared headword draws attention to the possible relationship between the entries, while the alternatives within the SGJP description show why the contents of the paradigm still have to be examined.

Fit the incoming descriptions to SGJP patterns

The automatic stage attempted to match Morfologik entries to the structure of SGJP, including the way SGJP represents paradigms. In the clearest example, both dictionaries listed exactly the same inflected forms for the entry. The authors describe collapsing such a pair into a single PoliMorf entry. In this case the agreement covers the inventory of forms, extending beyond the fact that the headwords are spelled alike. That broader agreement gives a reason to consolidate the records.

An incoming entry could also represent a lexeme new to the combined inventory. The task was then to give it an inflectional description in the common structure. For some of these entries, the import assigned the relevant characteristics unequivocally. That outcome matters to the design of the merger. Automatic processing could contribute additional vocabulary as well as reconcile overlapping vocabulary. A new headword could be brought in with a description of how it inflects even when there was no corresponding SGJP entry to collapse into it.

Other incoming lexemes resisted automatic assignment. The authors organise the possible gaps around the part of speech, properties that bear on inflection such as noun gender, and the paradigm itself. These questions are linked. A part of speech narrows the range of patterns that would make sense. Within a class such as nouns, gender can further distinguish candidates. The paradigm specifies the forms that the description must then account for. A lexeme’s ending can offer evidence at some of these steps, and the usefulness of that evidence depends on the distinction the importer needs to make.

A separate problem arises when an apparent counterpart exists in each dictionary but the descriptions fail to line up. The paper identifies several possible reasons. The dictionaries can differ in their grammatical treatment, the import can introduce an error, or one original entry can contain a faulty description. From the perspective of the matching operation, each can produce an apparent conflict. From the perspective of an editor, each calls for a different decision. A difference of convention requires understanding the intended analyses. An import fault directs attention to the conversion. A dictionary fault calls for examination of the original lexical entry.

The numbered groups in the evaluation correspond to these outcomes of importing and matching. There is a group for pairs collapsed through agreement, a group for added entries given a clear assignment, a group for additions whose assignment remained unresolved, and a group for apparent counterparts that could not be collapsed. The distinction between the last two is useful. An unresolved addition needs a description that can be incorporated into the database. Unmerged counterparts come with competing descriptions, and the editor has to understand their relationship before deciding what the final record should contain.

Help an editor choose a paradigm

Kuźnia offers two ways to help an editor find a pattern for a lexeme. The paper presents them as especially relevant for later additions, after the available dictionaries had been imported. They share an opening step. The editor supplies a lemma and part of speech, along with gender for a noun or aspect for a verb, as applicable. The application asks whether the item is a proper name. These details give the application enough information to restrict the search before trying to distinguish among the remaining patterns.

In the first mode, Kuźnia looks for existing entries with comparable headword endings and grammatical characteristics. It uses the order of reversed headwords to find similar endings. Reading the spelling from its end for the purpose of sorting brings items with similar final letters close together. The application can then suggest patterns associated with these neighbours, subject to the grammatical information the editor supplied. For instance, the filter can take account of a noun’s gender and whether the entry is for a common word or a proper name.

The authors report that the size of the established dictionary typically gives this search enough useful neighbours to offer the appropriate patterns. This is an observation about what can appear among the suggestions. Choosing the pattern still involves deciding whether it accounts for the item the editor has in front of them. Similar endings can provide good candidates without determining every property of every lexeme. The difficulty with masculine nouns during import shows how much depends on the editorial question being asked of the ending.

In the second mode, the application asks the editor for inflected forms. It selects questions according to how well the answers can distinguish the patterns still under consideration. Suppose candidate patterns agree about some grammatical slots and produce different spellings in another. Asking for a form in the slot where the spellings diverge helps narrow the choice. A form on which the candidates agree contributes much less to that decision. The authors say that this questioning process usually takes only a few forms to find an appropriate pattern.

The two modes draw their evidence from different places. The first retrieves patterns from entries that resemble the new lexeme in its citation form and grammatical description. The second elicits forms that can distinguish candidate paradigms directly. Both operate over the stock of patterns already in the dictionary. If it contains no suitable pattern, Kuźnia passes the lexeme to an editor specialising in inflectional patterns. The paper describes this as uncommon and identifies unusual proper names from other languages as cases in which it can arise.

The paper describes a procedure for importing existing data and using editorial tools on lexemes. It gives the linguistic criteria for the principal outcomes and explains how pattern suggestions work at a practical level. It expresses those procedures in prose. Its evaluation samples check the results of the import, and the established SGJP patterns supply the descriptions against which new entries can be considered.

Preserve labels, classifications, and source information

The combined database carries more than paradigms. Kuźnia allows editors to label lexemes as informal or dated, for instance. It also supports labels that keep selected forms out of dictionaries for spell-checking. An unusual form may be valid according to the lexical description and still be liable to mask a common spelling error. Recording the restriction in the database permits an export for spelling checking to omit the form while preserving the lexical analysis for other uses. That is how the tool accommodates the kind of problem illustrated by sie.

The application also lets editors define classification schemes. The paper describes a scheme already in use that distinguishes common items from proper names and divides them into further subclasses. A classification scheme makes these categories part of the stored description. Labels such as dated and classifications such as proper name can coexist with grammatical properties used to generate forms. For instance, the classification can help describe what sort of item is being handled, while the inflectional pattern governs the spellings that the entry can produce.

Tracking source membership is particularly important during a merger. An editor comparing two descriptions can check which dictionary supplied each one, and the project can record what happens as entries change. The authors also connect source tracking to domain dictionaries. They give medical vocabulary as an example of material that could be maintained in a specialist dictionary and used for medical text while kept apart from the general inventory. The example describes a use of the design beyond the dictionary integration that CESAR was carrying out.

The broader point is that lexical decisions can depend on the intended output. A grammatical description, a usage label, and an indication of where an item belongs answer different questions. Keeping these kinds of information available gives an editor a way to decide which entries and forms should appear together when generating a dictionary for a particular task. It also permits a record to keep the information needed for another export whose purpose differs.

Generate output for different analysers and tasks

Kuźnia can generate derivatives of its dictionaries with configurable tagsets and segmentation. This uses the distinction SGJP makes between how a form is built and how the form is labelled. A generated dictionary assigns the output tags appropriate to its chosen scheme. It can also follow a segmentation policy that determines whether analytical verb forms are included. The stored lexical inventory can therefore serve outputs shaped by different conventions about what the analyser returns.

The paper gives an example of selecting material by domain and by label in the same export. A specialised output could include entries for medical vocabulary along with general dictionary forms, excluding the general items labelled as dated. The configuration expresses how to assemble that output from editorial information the database already holds. It does not require the medical terms to be admitted to the general dictionary or the dated entries to be deleted from the shared data.

This distinction between database and output is especially pertinent to the segmentation difference between the source analysers. Some users preferred the simpler shape of a flat result. Other analyses preserve the divisions inside a spelling that SGJP recognises. The project’s account of configurable generation shows where a choice about output belongs. It can be specified alongside the tagset and other export rules, while the database retains a structured account of the entries being exported. The paper gives this capability as part of Kuźnia’s design and leaves the comparative behaviour of the resulting outputs to further evaluation.

The authors envisaged another phase of expansion once the source imports were complete. The National Corpus of Polish could supply evidence about frequently occurring forms that were absent from PoliMorf. Editors could then use Kuźnia’s pattern suggestions to describe vocabulary identified in that way. This gives corpus frequency a particular role in the proposed workflow. It could guide attention to gaps in the inventory. The editorial process would still establish the grammatical description and the relevant patterns for the additions.

Experiments and results

How much the source dictionaries contributed

The paper evaluates the merger as a dictionary construction project. Its quantitative evidence comes from inventory counts and manual inspection of randomly sampled lexemes after automatic processing. The source dictionaries are the comparators for the inventory counts. The review of sampled entries examines whether the automatic outcomes appear sound and what unresolved items need. There is no separate analyser benchmark with scored predictions. The results concern the entries available to the project and the status of their reconciliation.

The edition of SGJP used for PoliMorf is reported to contain 323,946 lexemes, described with 1095 patterns. The authors give 4,223,981 word forms for that edition. In that count, a form shared by different grammatical functions of the same lexeme is counted once. This is the treatment of syncretism used for the stated SGJP inventory. A word form count made on that basis and a lexeme count describe separate aspects of the same resource. The former measures the stock of forms under the stated convention, and the latter measures the items to which the forms belong.

Morfologik is reported to contain 216,992 lexemes and 3,475,809 word forms. These figures describe Morfologik as a source dictionary. They give a sense of the material entering the import, while the study of the combined resource asks which items agree, which appear in only one source, and which still require decisions. The paper does not specify an equivalent treatment of syncretism for the Morfologik form count. The lexeme counts are the unit used in the combined inventory breakdown.

That breakdown divides the reported inventory into classes and gives entries shared by the sources, entries from each source alone, and a PoliMorf total. The common-noun row is especially helpful because it makes a large contribution from each dictionary visible alongside the merged inventory. Here “shared by both” refers to common nouns appearing in both sources. “SGJP only” and “Morfologik only” refer to the exclusive source categories of the same row. The chart compares the sizes of these portions of the reported inventory with its combined total. The metric describes the extent of the list, with a higher count indicating more listed lexemes.

Common nouns by source in the PoliMorf inventory

Both dictionaries supply common nouns absent from the other source.

Common nouns by source in the PoliMorf inventoryShared by both sources: 74,342Shared by both sources74,342SGJP only: 94,587SGJP only94,587Morfologik only: 50,922Morfologik only50,922PoliMorf total (this paper): 219,851PoliMorf total (this paper)219,851
The numbers
System or settingCommon-noun lexemes
Shared by both sources74,342
SGJP only94,587
Morfologik only50,922
PoliMorf total (this paper)219,851

The chart shows complementarity at the level of common nouns. The merged count includes substantial inventories restricted to each source alongside entries recorded as common to both. This is evidence for the authors’ decision to reuse the existing dictionaries. An integration that took one source alone would have a different stock of entries in this class. The count also leaves open the editorial state of particular entries. The inspection samples provide the evidence about automatic assignments and unresolved descriptions.

The other classes in the breakdown show that the balance varies by class. For adjectives, the paper records 66,434 shared lexemes, 32,271 from SGJP alone, and 33,224 from Morfologik alone, with a PoliMorf total of 131,929. In the verb row, it records 17,442 shared lexemes, 12,362 from SGJP alone, and 4023 from Morfologik alone, with a total of 33,827. Among non-inflecting entries it reports 9111 shared lexemes, 17,281 from SGJP alone, and 2304 from Morfologik alone, with a total of 28,696. All of these figures describe lexemes in the given inventory class. The paper uses them to show how the source dictionaries contribute to the resource under construction.

The inventories and the manual checks should be read together. Having a source-exclusive entry indicates the scope for enlarging the vocabulary of the combined dictionary. Giving that entry a usable description calls for evidence about its grammar, and the automatic import may resolve that question or leave it for an editor. Conversely, a lexeme shared by the dictionaries can increase the amount of agreement between the sources without adding a new item to the inventory. Its value for the merger comes from knowing whether the descriptions can be consolidated.

How the authors checked the import

To examine the automatic procedure and plan the manual work, the authors randomly selected 100 lexemes from each import group. The groups were defined by what the import had accomplished or where it had stopped. This sampling design directs attention to the quality of the automatic decisions as well as to the character of the unfinished cases. It makes the unit of review a lexeme and its description. It is an inventory audit, with no train and test split on a collection of running text.

The first sample came from lexemes in both sources that had the same set of inflected forms and were collapsed. The authors put the size of that group at over 100,000 lexemes. They detected no errors in the sample. The result describes a check of the rule in the cases where it fired. The reviewed entries supported the use of form agreement as a basis for merging that portion of the inventory.

The second sample covered lexemes contributed by Morfologik for which the import could assign the inflectional features unequivocally. The paper gives about 40,000 lexemes for this group and again reports no detected errors in its sample. The additions span parts of speech and areas of vocabulary. The authors highlight proper names among them, including Polish and foreign names. Their examples include the surnames Miłkowski and Przepiórkowski as additions, alongside Woliński, which was already present in SGJP. The result shows how Morfologik could contribute new vocabulary that fit into the shared inflectional structure.

The third group covers incoming Morfologik lexemes for which the automatic procedure left characteristics unresolved. The authors describe the group as consisting mainly of uninflected lexemes and masculine nouns. They explain the noun difficulty through the information available at import. The visible ending rarely identifies the finer masculine class with enough certainty, and the earlier conversion from the spelling dictionary had already struggled to label these entries reliably. Reusing the imported annotation and examining the ending therefore faced related limits.

The last sample came from entries represented in both sources that could not be collapsed. The authors used this review to identify the kinds of manual work required. They found discrepancies involving inflectional paradigms and draw particular attention to differences in whether passive forms were recorded. They also describe an early editorial task involving surnames that inflect like adjectives and possessive adjectives. Both can appear with initial capitals under Polish spelling conventions, so capitalisation alone could not settle the category. The paper uses Jurecki for the surname case and Andersenowski for an adjective indicating a relation to Andersen.

The samples for the latter groups yield accounts of the difficulties editors face. The authors give no corresponding accuracy score for those groups. The findings identify recurrent categories of discrepancy and show that the source of a problem can lie in the grammatical description, the original data, or the import. That information helps explain why inspecting a record that resisted a merge frequently involves more than checking the spelling of its forms.

The conclusion locates these results in the state of the work at submission. The relicensing and development of Kuźnia were completed. SGJP data were in the system, and integration with Morfologik had progressed in part. The results thus quantify contributions to a resource being assembled and report checks on selected import outcomes. They establish a starting point for the manual work the authors describe.

What the ablations show

The paper reports no ablation experiments and instead analyses source coverage and manually sampled outcomes of the automatic import.

The group of collapsed entries offers a check on the easiest sort of agreement for the procedure to use. The dictionaries supplied the same inventory of inflected forms for the lexeme, and the rule turned the matching records into one entry. The sampled cases gave the authors evidence that the rule behaved as intended on reviewed records from a large group. The paper leaves open how changing the match criterion would affect the number and correctness of the merges. It examines the cases selected by the rule the authors actually used.

The unequivocally assigned additions test a different operation. Here there is no matching SGJP entry whose full list of forms confirms the imported one. The new lexeme needs to be described in the structure adopted by Kuźnia. The sample review checks the assignments for entries where the procedure found a clear fit. This is why the two clean samples are informative together. One examines whether the merger consolidated records appropriately when the sources agreed. The other examines whether the common representation could accept new vocabulary with a usable inflectional description.

The cases left without an automatic assignment illuminate the limits of the evidence the import could use. In the masculine noun example, deciding among finer grammatical distinctions requires information that an ending can fail to reveal. The conversion that produced Morfologik had already faced this problem, so its annotations for that group were a weak guide. The merger encountered an existing information gap. The authors’ analysis connects the unresolved outcome with the source of the uncertainty and helps explain why a larger store of superficially similar headwords cannot by itself settle those cases.

The pattern suggestion modes in Kuźnia show how an editor could work with different kinds of evidence. A reversed-headword search can use shared endings to bring plausible paradigms into view. A question about a distinguishing form can then use information from a different part of the paradigm. The paper describes these capabilities and gives qualitative observations about their use. It leaves their relative success, the amount of work they save, and their performance on the sampled import groups unmeasured. Their value in the account is to explain how the editorial interface can respond when the first evidence available is insufficient.

The entries left unmerged in spite of appearing in both dictionaries reveal why more permissive matching would call for care. If the difference arises because one dictionary includes passive forms that the other leaves out, an apparent mismatch can reflect the scope of the lexical descriptions. An importer that collapses the entries on a weaker signal would still leave a decision about which forms to retain or generate. If a discrepancy arose during conversion, studying the source records could expose the import error. These cases can look much the same in a list of mismatched forms, so the manual review gives an account of work that a crude agreement statistic would leave hidden.

The proper-name and adjective examples add a related observation. An initial capital may be consistent with either a surname or a possessive adjective. When both descriptions are plausible on the basis of spelling, a comparison has to use the relevant lexical and grammatical classification. This example makes concrete the role of a classification scheme in a tool otherwise built around paradigms. A suitable pattern can help generate forms, while the kind of word that bears those forms may still need an editorial decision.

Finally, the inventory comparison speaks to complementarity instead of the effect of a pipeline component. The source-exclusive counts tell the reader that each dictionary offers material the other lacks, with a different balance across grammatical classes. They leave open what would happen to any downstream task if an application switched to PoliMorf. In the paper’s evaluation, the most direct evidence of successful automation is the absence of detected errors in the reviewed agreement and unequivocal-assignment samples. The analyses of the unresolved groups explain where the next round of editorial effort belongs.

Limitations

Limits stated by the authors

The authors describe the work as preliminary. At submission, they had brought SGJP into Kuźnia and integrated Morfologik to an extent. Import and manual verification were ongoing. As a consequence, the inventory counts describe the merger at the reported stage, and the sample reviews plan as well as assess the work. The authors’ expectation that PoliMorf would come to be widely preferred is a forecast based on the existing use of the source resources. Adoption after the project lies outside the outcome they report.

The paper explicitly identifies weaknesses in the data inherited from Morfologik. The original spelling resource lacked reliable evidence for some grammatical distinctions, including the finer gender categories of masculine nouns. The annotations later supplied by hand or through heuristics remained unreliable in this area. Some forms also carried incomplete descriptions and were marked irregular. When a merger inherits a gap of this kind, changing the data structure can make the problem easier to locate. The grammatical information still has to come from an adequate description of the lexeme.

The authors also identify limits to what can be settled through a match of form inventories. Source descriptions may disagree about which inflected forms belong with a lexeme, and descriptions of passive forms were a noticeable part of the remaining differences. The source dictionaries had editorial reasons for representing some categories differently. An unsuccessful collapse can therefore flag an issue worth resolving without telling the editor what the resolution should be. The examples of pluralised names and different treatments of written verb forms help show why those decisions matter.

For new entries, Kuźnia’s suggestions rely on a stock of existing patterns. The authors point out that an unusual item can fall outside that stock, with some foreign proper names among the examples. In such a case, the system refers the item to a specialist editor. They also describe corpus-guided additions as work they expected to consider after the imports. The paper gives grounds for understanding how that work could proceed, while the availability of the tools and the execution of the proposed expansion are distinct stages.

Some uses of the export system are likewise illustrated as possibilities. Domain dictionaries motivate the ability to retain dictionaries separately and combine their contents selectively in an output. The medical example explains that design. The authors place the construction of such domain dictionaries beyond the work reported for CESAR. The configurable output is part of Kuźnia’s described functionality, and the specialist inventory in the example is a use case for that functionality.

Limits visible in the evaluation

The absence of detected errors in the clean samples applies to the inspected 100 lexemes in each of those groups. The paper reports the inspections as checks on a merger that is still underway. Turning them into a claim about the accuracy of every entry would require evidence about entries outside the samples and the way reviewers established correctness. The grouped design provides a view of outcomes within the groups. An overall estimate for the entire resource would also depend on the relative sizes and error observations for those groups. The paper leaves several of those quantities unstated.

The grouping also matters for any interpretation of the contrast between clean and difficult cases. The agreement group consists of lexemes whose forms already match, while the unresolved groups were selected because the procedure had encountered missing information or disagreement. The comparison says how the import apportioned cases and what reviewers found in them. It leaves the effect of replacing the automatic rule, using a different source as the initial database, or changing the representation of forms open. Each of those questions would require a separate comparison.

Inventory size says how many lexemes were reported in a class and contributes to understanding how much each source had to offer. It says little about how frequently these lexemes appear in use. A source could add vocabulary distributed across uncommon names and another could add items that appear in many ordinary texts. The inventory figures give both kinds of entries the same unit of count. A corpus-based evaluation could examine frequency or coverage on text, but the paper’s mention of the National Corpus of Polish concerns intended vocabulary expansion. It supplies no such measurement for the merged dictionary.

The counts are also tied to decisions about the identity of a lexical entry. For instance, the way an analyser treats pieces of an orthographic word affects the units its dictionary needs to represent, and the policy on proper names affects how fully their plural forms are recorded. A word form count conveys the stock of forms under particular descriptive choices. Comparing such counts across the two sources as though they were application performance scores would skip the representational differences that motivate the merger.

The same distinction applies to the configurations of Kuźnia’s output. The ability to generate dictionaries with different segmentation rules and tags gives consumers a way to select a representation they can use. The paper leaves the consistency and downstream usefulness of individual configurations unmeasured. A flat output might be easier to pass into software expecting one analysis unit per written word, while a graph can preserve alternatives involving different spans. The paper describes that interface tradeoff from the source analysers. It gives no comparative task accuracy for those output choices in PoliMorf.

Finally, the licensing argument explains the project’s motivation and the decision to use permissive terms. The authors relay a legal interpretation of dictionary-derived annotation, then describe the relicensing they obtained. The evaluation deals with dictionary contents and automatic import. Its evidence bears on which entries were incorporated and what remained for editors to do. The legal consequences of distributing any particular annotated text depend on that text and the rights involved, matters beyond the paper’s evaluation.

What came after

The later work on Polish Twitter streams brings the discussion to named entity recognition. In that task a system identifies mentions of entities in text, and the cited work studies recognition in targeted streams of Polish tweets. PoliMorf addresses a related lexical question. It records grammatical descriptions of vocabulary that includes proper names, and the merger found names among the additions from Morfologik. An inflection dictionary describes the possible forms of an item, while recognition concerns an occurrence in context. The citation establishes a connection between the research on the lexical resource and the study of the recognition task. The details of any dictionary lookup, preprocessing, or performance effect in the Twitter study are unspecified. On Named Entity Recognition in Targeted Twitter Streams in Polish

The later work on the online Grammatical Dictionary of Polish stays with the source resource that supplied PoliMorf’s initial entries and inflectional patterns. Its subject is the online version of SGJP. This connects directly to the distinction in the earlier paper between an edited grammatical dictionary and the resources that can be generated from its descriptions. PoliMorf drew on SGJP’s patterns for a merger with independently compiled data. The later paper addresses SGJP itself in its online form and cites that merger work. The citation leaves the technical relationship between the online dictionary and Kuźnia open, including whether the later work reused any part of the editor or the combined inventory. The on-line version of Grammatical Dictionary of Polish

The two works thus follow different lines of inquiry connected to PoliMorf. The first studies recognition of names and other entities in Polish text, a setting in which the grammatical variation of names can matter. The second returns to the grammatical dictionary that provided PoliMorf’s descriptive framework. The topics make clear why the earlier resource is relevant to both. The extent of technical reuse or measured impact remains open in each case.

Cite

Cite as Marcin Woliński, Marcin Miłkowski, Maciej Ogrodniczuk and Adam Przepiórkowski. 2012. PoliMorf: a (not so) new open morphological dictionary for Polish. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{wolinski2012polimorf,
  title = {{PoliMorf: a (not so) new open morphological dictionary for Polish}},
  author = {Marcin Woliński, Marcin Miłkowski, Maciej Ogrodniczuk and Adam Przepiórkowski},
  booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
  year = {2012},
  url = {https://aclanthology.org/L12-1107/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wolinski-2012-polimorf-not-so-new-open/