Elamur Research

Constraint Based Description of Polish Multiword Expressions

Paper · 2012 · Roman Kurc, Maciej Piasecki and Bartosz Broda

Summary

A Polish expression can retain its meaning when its words change endings, exchange places, or acquire extra material between them. A recognizer built around the expression’s dictionary spelling would miss some of those uses. A search for its component words would have the opposite problem. The words can appear together in a sentence without forming the expression. Kurc and colleagues address both problems with CB-MWE, a format for describing Polish multiword expressions. It records which words belong to an expression and which grammatical conditions make their occurrence a match.

CB-MWE groups expressions that share a grammatical pattern. A single description can cover expressions built from a noun and a matching adjective, for example. Each entry supplies the dictionary forms to look for, while a shared condition tests whether the words have the expected grammatical properties. Those properties come from the analysis of the text. The entry can therefore recognize inflected forms without listing them all. A condition can also allow alternative orders or check what appears inside a gap. In the paper’s example of kobieta życia, roughly “the woman of someone’s life,” the recognizer looks for the noun meaning “life” in the genitive case and restricts the kinds of words that can intervene.

The authors evaluate descriptions prepared by linguists on the IPI PAN Corpus. Among sentences selected by a preliminary search for the component words of a known expression, 20% actually contained an expression. A separate sample of sentences with matches from CB-MWE yielded an estimated precision of 99%. The paper reports an estimated recall of 61% relative to the genuine occurrences represented in the preliminary search. Together, the results show that grammatical constraints can make a loose search much more selective, while leaving a substantial share of the baseline’s genuine cases unrecovered.

The paper also compares CB-MWE with Multiflex, a format that uses detailed descriptions to generate inflected forms. CB-MWE puts more of the work at recognition time, when it can use grammatical information from the text. That choice gives it a way to describe separated constituents and to write only the conditions relevant to identifying an expression. The authors apply the format to a plWordNet inventory and describe preliminary work on generating entries from dictionary forms. The recognition figures concern the entries written by linguists.

Deep dive: Constraint Based Description of Polish Multiword Expressions

Kurc and colleagues show how grammatical constraints recognize Polish multiword expressions across inflection, word order changes, and gaps. · about 33 minutes to read

The problem and its context

A dictionary entry can occur in several shapes

Imagine looking for a listed expression made up of an adjective and a noun. You can begin by searching for the dictionary spelling, but the spelling is only one way those words appear. A sentence might require a different case, so each word takes an ending appropriate to that sentence. The adjective might come before the noun in one occurrence and after it in another. Depending on the expression, an intervening word may supply a modifier while the adjective and noun still belong together. The recognition problem is to decide which tokens realize the listed expression under these conditions.

The paper separates recognition from discovery. Discovery asks which combinations deserve entries in a lexicon. Dictionaries can supply candidates, and the paper discusses statistical discovery from corpora as another route. The authors describe dictionary coverage as limited and corpus discovery as suited to larger collections of text, with a tradeoff in the quality of its candidates. Recognition begins once there is an inventory. Its input includes an expression already known to the system, and its output identifies the tokens in a text that realize it. A good recognizer can serve an inventory assembled by either route.

That distinction matters for interpreting every example in the paper. When an entry includes a Polish word for “bread,” the program starts with the identity of the word it needs to find. It does not infer from repeated encounters that the combination is a conventional expression. The grammatical description answers a narrower question about an instance of an existing entry. This is why recognition can return a positive result from the relationship between words even if the exact inflected phrase is absent from the lexicon.

The paper gives several reasons to do this at scale. Conventional combinations form a substantial part of the vocabulary that text processing has to handle. A system for information extraction may need to preserve a phrase as a single item when it marks a passage. A question answering system can also benefit from knowing which words form a unit. In machine translation, the prior work the authors discuss connects the treatment of collocations with the acceptability of translated output. The paper presents these as reasons to recognize expressions. Its evaluation concerns the recognition step itself.

An expression can qualify as a lexical unit while following ordinary grammatical rules in some respects. The authors’ discussion includes compounds, fixed phrases, collocations, and idioms. The common issue is that properties of the combination may require information beyond a listing of its words. Where ordinary rules are sufficient, a recognition description can take advantage of them. Where the combination has a restriction of its own, the description needs a way to state that restriction. A single definition of idiomatic meaning would give little practical guidance for designing all these entries.

Grammatical agreement is useful because it can vary

In the paper’s example żywy trup, the noun trup is the head. The head helps determine how the whole expression fits into the sentence. The adjective shares its case and number. The relationship is useful for recognition because the actual feature values can vary across occurrences while the requirement that the words agree stays in place. This is the part of morphology that the format uses most directly. An adjective’s ending supplies evidence about grammatical features, and the entry says how those features should relate to the accompanying noun.

The paper also describes expressions for which a standard head and dependent pattern would be a poor fit. In the coordination Piotr i Paweł, the coordinated names play parallel roles. Treating either as the single word that supplies the grammatical character of the expression would miss that structure. The coordination can still have properties worth checking across its constituents. This is an example of an exocentric expression, a construction that lacks an internal head of the kind illustrated by żywy trup.

In majster klepka, which the paper glosses as “handyman,” the nouns share case while differing in grammatical gender. This example shows why agreement needs to be stated feature by feature. If the same condition required all prominent nominal features to match, the difference in gender would cause a genuine instance to fail. A description that checks case can preserve the relation the authors identify while accepting the fixed difference between these particular words.

A further complication is that a combination may use only a portion of the inflection available to its individual words. The paper illustrates this with zimne ognie, an expression for fireworks. Its singular counterpart does not carry the same established reading in the example. A collection of grammatically possible forms of the component words would therefore contain a combination that falls outside the lexical entry. A constraint can express a restriction on the number of the expression even if its component words independently have singular forms. The set of usable inflected forms is the expression’s paradigm, and a paradigm with such missing forms is called defective.

These cases make a practical distinction between the grammatical information available for a word and the grammatical information needed for a recognition decision. A token can have a detailed analysis containing several attributes. A particular entry may need just its case, an agreement relation, or a restriction on its grammatical class. The authors start from the availability of broad-coverage morphological analysis for Polish, giving Morfeusz SGJP as an example. That availability makes it possible to keep the expression’s own description focused on structural conditions.

Variation can change which tokens belong to an expression

Inflection changes the forms of the constituents. Other variation changes their position or even the set of words used to express the entry. The paper discusses nauczyciel języka angielskiego and nauczyciel angielskiego, both referring to an English teacher. The shorter expression omits the word corresponding to “language.” A dictionary description that requires that word in every occurrence would reject the shorter construction. A description that accepts the shorter wording must still explain which words belong to the match when the longer wording appears.

The pair areszt tymczasowy and tymczasowy areszt illustrates a different issue. Here the words remain available, but their ordering changes. If the expression is described as a list of lexical roles, both arrangements can realize the same roles. The record of a match still needs to say which token supplies each role. An output that merely marks the first token as the first dictionary constituent would lose that distinction when the order changes.

A gap introduces a further distinction between the extent of the surrounding passage and the tokens that realize the entry. The paper gives wolna wola, “free will,” as an expression whose constituents can be separated by other words. Those intervening words can help form the larger phrase without themselves supplying the lexical constituents “free” and “will.” In a recognition format, describing the circumstances under which the gap is allowed and identifying the constituent positions are related tasks. A system can look across the gap and return only the tokens it has recognized as parts of the expression.

The authors also discuss insertions, derivational alternatives, semantic replacements, and abbreviations. The categories are relevant because the changes can occur together, and because a rule for one need not cover another. An allowed abbreviation might be described as an alternative at a particular position. A gap calls for a decision about where to search and what can intervene. A missing constituent calls for a way to accept an alternative arrangement even when the expected word never appears. These distinctions motivate an expressive condition language even if many entries need only simple conditions.

Earlier formats distribute the work differently

The paper organizes earlier approaches around lexical descriptions, finite-state descriptions, and unification grammars. In the lexical approach exemplified by DELA, linguists prepare descriptions of how constituents inflect. The descriptions include both morphological information and operations that turn the basic forms into inflected forms. Those operations support the production of lists of expression forms. The labor goes into specifying the transformations and the combinations that should appear in the resulting inventory.

Finite-state formats described in the paper start with regular expressions over the forms of individual words and combine them to describe larger expressions. Lexc and IDAREX are among the examples. The point of the comparison is that a formalism can represent a family of possible forms and arrangements even if the dictionary presents the expression under one familiar spelling. The paper’s proposed format approaches the same problem by writing conditions that can inspect the grammatical analysis of tokens already present in a text.

Unification grammar offers another way to express the connections between constituents. It can use variables to carry shared information across a lexical and syntactic description. Agreement, for example, can be represented by linking the value required in one part of the description to the value used in another. The paper cites approaches including LinGo and FASTR in this discussion. The authors’ design also needs to express relationships between words, but it lets a lexicon writer select a handful of checks sufficient for the intended recognition task.

The choice depends partly on what the resource is meant to deliver. Generating the forms of a phrase is valuable when a lexicon needs to supply those forms directly. The authors’ immediate goal is to locate expressions in text that has already undergone grammatical analysis. Starting with that analysis makes it possible to store a description of what constitutes acceptable evidence. Different spellings produced by inflection can then pass the same condition. This choice determines what CB-MWE stores, what it requires from a tagger, and what its corpus experiment can establish.

The method, step by step

Divide recognition between the lexicon and the analyzed text

CB-MWE stands for the constraint-based format built around WCCL, the Wrocław Corpus Constraint Language. The lexicon states what to look for. An entry identifies the whole expression by a dictionary form and supplies the words relevant to the test. The analyzed text supplies candidate tokens together with their grammatical descriptions. A condition connects the two by asking whether particular tokens can have the identities and grammatical relationships required by the entry.

A lemma is the dictionary form under which several inflected forms of a word are grouped. CB-MWE distinguishes the dictionary form of an entire expression from the lemmas of its components. The first identifies the lexical entry. The others help recognize it. A constituent can appear in the expression’s dictionary spelling in a form required by the construction, while the corresponding parameter gives the underlying lemma. The condition can then require the grammatical feature that explains the difference between the two.

This distinction is visible in kobieta życia. The whole expression is entered with życia, the form appearing in the phrase, while the parameter for that constituent is życie. Looking for the lemma connects inflected tokens to the relevant word. Checking for the genitive case narrows the match to a form that can play the required role. The stored spelling, the constituent lemma, and the case test thus provide different pieces of information. None of them needs to be reconstructed from the others during a match.

Fixed surface forms can also participate in a description. The paper refers to parameters drawn from both lemmas and inflected forms. A lemma is useful when variation is intended. A surface form is useful when the exact wording matters to the entry. The format’s choice between these kinds of parameter lets an entry retain a specific lexical feature without making all other positions equally restrictive.

The tagger supplies part-of-speech tags and other grammatical information associated with the tokens. A tag can carry attributes such as case, number, and gender as well as a grammatical class. WCCL is designed to work with positional tagsets, whose attributes are available to its conditions. A condition can access the case of a token directly when the tagset provides case. Some tagged tokens can retain more than one analysis, so the set of possible values may be more informative than a single assumed tag.

The authors use this setup to avoid a detailed analysis of every accepted phrase. For instance, a condition can check whether two words agree in specified features and whether their lemmas match the entry. It can return the constituent positions without producing a full account of how the phrase fits into the surrounding sentence. A different entry can inspect the immediate context if that is important to its identity. The level of detail therefore varies with the evidence needed for the entry.

How CB-MWE recognizes a listed expression

The steps in order.

How CB-MWE recognizes a listed expressionStep 1: Store dictionary forms under shared grammatical conditions1. Store dictionary forms under shared grammatical conditionsStep 2: Read token forms and their grammatical analyses2. Read token forms and their grammatical analysesStep 3: Locate candidates using expected constituents and arrangements3. Locate candidates using expected constituents and arrangementsStep 4: Run the entry’s WCCL condition on candidates4. Run the entry’s WCCL condition on candidatesStep 5: Check agreement, intervening words, or nearby context5. Check agreement, intervening words, or nearby contextStep 6: Return the positions of the matched constituents6. Return the positions of the matched constituents

Write a shared condition and give each entry its own words

The format stores descriptions in XML. The group is the unit of reuse. It contains a name, an overall grammatical class, an order type, a shared WCCL condition, and the entries that use the condition. A group can describe a recurring pattern such as an adjective agreeing with a noun. Each entry then fills the condition’s lexical parameters with its own words. Changes to the conditions for the shared pattern can be made at the group level.

The grammatical class on the group refers to the expression as a whole. The conditions within it refer to individual tokens, each of which can have its own class. This is how a noun expression can contain both a noun and an adjective without confusing the expression’s class with that of either position. The group name identifies the particular description, since several patterns may lead to expressions of the same overall grammatical class.

The paper names the order types fix and flex. At the schema level, it describes fixed entries as ordered and continuous, and flexible entries as permitting more variation, including gaps. The actual condition states which positions and arrangements can succeed. The daily-bread example uses flex and has a branch for each order. The worked gap entry is labeled fix even though its condition searches ahead. The condition and any preliminary filtering therefore have to be read together when considering which candidates could reach the final test.

An entry also gives a condition for finding its head. In the example that uses a nominal head condition, the head is the leftmost constituent satisfying the specified class test. This lets the entry identify the head even if the expected noun sometimes follows an adjective. The head field and the named parameters have separate purposes. The parameters supply the lexical identity used in the match, while the head condition identifies a constituent of the successful match by its grammatical properties.

WCCL provides several kinds of variable. The lexical parameters in the examples are strings. A sequence search can record a position in a variable. The condition can also assign successful constituent positions to output variables that other components can read. This last operation is important for discontinuous expressions. The recognizer can identify separated constituent tokens precisely even when a surrounding interval contains other words that belong to the sentence but fall outside the lexical entry.

The authors report that the approach was applied to expressions in plWordNet. They also say that the grouping into a limited set of patterns came from examining plWordNet expressions and proper names in a large gazetteer. A list of dictionary forms offers a starting point for creating descriptions, and the paper describes a preliminary heuristic route from such a list to entries. The measured recognition procedure uses descriptions written by linguists. Its use of shared conditions is compatible with either way of creating entries, so the recognition procedure can be understood independently of the proposed automation.

Narrow the search before evaluating the full condition

Applying a complex condition throughout a large corpus costs time. The authors describe preliminary recognition based on constituent lemmas and on what the entry says about order and continuity. This step selects areas of the text where a full match might be possible. The WCCL condition is then evaluated on those areas. The initial step can use inexpensive evidence about the presence of the required words, while the final step can weigh their grammatical compatibility and relations.

The separation explains why a weak constituent search can still be part of the design. The preliminary search is meant to identify candidates. A sentence containing the required words is worth inspecting even though the words might be parts of independent phrases. The later tests decide whether the candidate realizes the entry. Conversely, if the preliminary search discards an allowable arrangement, the final test never sees it. Coverage at this stage depends on how closely the candidate search agrees with the full condition.

The corpus experiment uses a constituent-based search as its baseline. The proposed recognition design also discusses using order and continuity for efficient candidate selection. These descriptions operate at related levels, but the experiment gives details about its sentence filter, while the format section explains how structural information can be used to limit the application of WCCL. The paper does not report an independent timing result for the preliminary step. Its usefulness in the design follows from restricting where expensive checks are attempted.

Follow a noun and adjective through the condition

The paper’s entry chleb powszedni, “daily bread,” shows the basic process without any gap. The entry supplies the noun lemma chleb and the adjective lemma powszedni. The group condition checks grammatical classes and agreement in case, number, and gender. It accepts both chleb powszedni and powszedni chleb. The condition covers the orders explicitly, so the first position in the candidate need not always play the same role.

Consider the branch for the noun followed by the adjective. The condition checks the first token for the noun lemma and a permitted nominal class. It checks the second token for the adjective lemma and the adjective class. Then it tests agreement between the tokens. If these checks succeed, it records the first token as the noun constituent and the second as the adjective constituent. The other branch reverses the token positions in the lexical and class tests and records the roles accordingly.

The lexical and class checks use an intersection operation. A word may have several analyses after tagging, and the required value needs to be among the available values. This is different from deciding that the token has been fully disambiguated. The intersection test answers whether the expected lemma or class is available. The agreement operation then checks whether the tokens meet the relevant feature relation supported by WCCL.

V ∩ E ≠ ∅

Here V is the set of available values for the attribute being checked on a token, and E is the set of values expected by the condition. The intersection symbol ∩ selects values that occur in both sets. The symbol ≠ means that the result differs from ∅, the empty set. The condition succeeds when there is an expected value among the possible values for that attribute.

For the noun and adjective, the checks can be written compactly by giving each token a role. This notation summarizes the two branches in the paper’s condition, leaving the positional assignments to the explanation that follows.

Match(x, y) = [N(x) ∧ A(y) ∧ G(x, y)] ∨ [A(x) ∧ N(y) ∧ G(x, y)]

Match is the outcome for the candidate pair. The symbols x and y identify the first and second tokens, and the parentheses list the inputs to a test. The equality sign = defines the outcome in terms of the tests on the right. N checks for the entry’s noun lemma together with an allowed nominal class, and A checks for its adjective lemma together with the adjective class. G is the WCCL agreement test over number, gender, and case. The comma separates the two token arguments. The brackets group the tests for each order. The conjunction ∧ requires all grouped checks to pass, and the disjunction ∨ permits either group to succeed.

In the actual WCCL condition, a successful branch also stores the positions of the noun and adjective. That bookkeeping makes the output stable with respect to lexical roles. The noun position is the noun position regardless of which word is encountered first. The same feature checks can apply to occurrences with different endings because the rules compare the grammatical information attached to the observed tokens.

Agreement here is a condition on the candidate tokens, while lexical identity is a condition relating a token to a particular entry. These tests complement one another. Searching for an arbitrary agreeing noun and adjective would produce many phrases that are irrelevant to this lexicon entry. Searching for the right lemmas without checking their grammatical relation would allow cases in which they happen to appear together. The condition uses both kinds of evidence to authorize the marking.

Search across a gap and inspect what intervenes

The entry kobieta życia starts by checking for kobieta as a noun. From there, a WCCL search operator moves to the right through the sentence and looks for the lemma życie analyzed as a noun in the genitive. The position returned by that search determines the other endpoint of the expression. The procedure can therefore find the second constituent without requiring it to be the next token. Being somewhere later in the sentence is enough to make a token a potential endpoint.

The endpoint does not settle the match by itself. The condition then checks the words between the constituents. The WCCL only operator applies an allowed-token test across the intervening positions. The permitted classes in the example include adverbs and particles, and the condition allows certain adjectival forms and the pronoun mój when the relevant agreement requirement is met. For the agreeing alternatives, the grammatical features are compared to those of the genitive constituent. The check concerns the content of the particular gap found by the search.

∀ t ∈ I(c, g), Allowed(t, g)

The symbol ∀ means “for every,” and t identifies a token to be checked. The symbol ∈ expresses membership in I(c, g), the interval of token positions strictly between c and g. The symbol c identifies the position of kobieta, and g identifies the position found for the genitive constituent. Allowed(t, g) tests whether token t has one of the permitted analyses, consulting the token at g when agreement is required. Parentheses enclose the inputs to the interval and the test. The commas inside the parentheses separate their inputs, and the comma after the interval separates the domain of the check from its condition.

The search and the gap condition use the same endpoint in different ways. The search identifies the noun that might complete the expression. The gap condition uses its location to bound the inspection and its analysis to check agreement where appropriate. A matching lemma later in the sentence can therefore fail as the end of the expression if the intervening material violates the restriction. The descriptions exploit the ability to look beyond adjacent tokens without accepting arbitrary separations.

When the condition succeeds, the output records the opening noun and the position of the genitive noun. The intervening words are evidence about the construction and remain outside that pair of constituent positions. This is more informative than an undifferentiated span from the start to the end. It allows another component to recover which tokens come from the entry while retaining their locations in the sentence.

WCCL has operators for searching in either direction along a token sequence. The worked gap example illustrates a search to the right. The more general point is that an entry can include a search whose stopping condition depends on a token’s attributes. A description can also inspect all the material between positions. These operations give the lexicon access to sequence structure without requiring constituent words to occupy a fixed range of offsets.

Use neighboring words as evidence without absorbing them into the entry

The example dobre wyjście na shows why a recognition test sometimes needs context beyond the words stored in an entry. The expression includes a preposition followed by an open slot. The paper uses a condition that looks for a nominal continuation of the required case. The words that fill that slot can vary, so the condition describes their grammatical behavior rather than supplying a dictionary value for the filler.

In this example, the listed adjective and noun are checked for agreement, and the preposition is part of the fixed lexical material. A search beyond the preposition checks for an appropriate nominal item, with a locative case test in the displayed condition. The context search verifies that the candidate is followed by the kind of phrase it requires. The output positions identify the listed constituents, while the inspected continuation is evidence used to accept the match.

The distinction between gap content and surrounding context is worth keeping clear. In kobieta życia, the search locates a missing constituent position, and the words before that position are inspected for admissibility. In dobre wyjście na, the listed constituents can already be located before the contextual search begins. The additional search checks a relation to something beyond them. Both descriptions exploit the same ability to move through the sentence, but they use the result for different decisions.

The paper emphasizes that such a condition can remain selective. The nominal continuation has a relevant case, and the condition can read that case without providing a complete syntactic analysis of the continuation. The sufficiency of a local test depends on the recognition task. A phrase can have a rich internal structure, while the lexical condition needs only the evidence that distinguishes a plausible instance from a misleading combination.

Extend a description through alternatives

A condition can require several tests together or accept alternative sets of tests. The daily-bread example uses alternatives for ordering. The format comparison extends the same idea to possible insertions and omissions, which can be described by accepting the appropriate arrangements. A lexical position can also be given a set of candidate words supplied through parameters. The authors discuss this as a way to represent abbreviations and some semantic and derivational variants.

These mechanisms leave a choice about the level at which to share a description. A validator for noun and adjective agreement can be shared by expressions in a group. Within the condition, the agreement check can appear in each relevant order branch. The paper points out that closely related conditions can repeat much of the same material and suggests making such descriptions more modular. The existing group mechanism removes repetition across entries that use the same template. Repetition can still remain within templates or among templates with similar requirements.

WCCL’s broader capabilities include marking token sequences as chunks and applying conditions to them. It can also express tagging or tag-elimination rules, use frequency lists, and draw on dictionary-based transformations. The recognition examples rely on a narrower subset of its facilities. Their common operations are lexical comparisons, feature checks, agreement, search, inspection across a range of tokens, and assignments that expose the matched positions. Those are the operations that connect the stored entry with the output of the recognizer.

Experiments and results

Establish a corpus baseline from constituent words

The recognition experiment uses the IPI PAN Corpus, given in the paper as ≈250 mln. tokens. The authors evaluate descriptions written by linguists. Their baseline is a search for sentences containing the constituents of a known expression, using the constituents’ lemmas and word forms. The filter keeps a sentence if the required constituents of at least one entry can be found in it. The retained collection contains about 10mln sentences.

This is a useful comparison for the paper’s question because the baseline already recognizes some variation in the forms of the words. A stricter spelling baseline would say little about the additional value of the grammatical relationships: it would lose examples simply because the words inflect. The constituent search gives the later condition a different problem. It locates the expected words and leaves open whether they go together in the way the entry describes.

The evaluation initially operates at sentence level. A sentence can qualify for the baseline because all the relevant words occur somewhere in it, even if each word belongs to a different phrase. Alternatively, a sentence can qualify for the same reason and contain a genuine instance. The authors need an estimate of how frequently the latter happens before they can use this pool as the reference for a recall calculation.

To get that estimate, the authors select 400 sentences at random from the retained baseline pool. The paper attaches the notation “10% level of confidence” to the sampling procedure. The inspection finds an expression in 20% of the sampled sentences. The unit here is the sentence, and the percentage concerns the presence of a genuine expression among sentences selected by the constituent filter. The figure illustrates how often the loose condition supplies candidates that fail to realize an entry.

Inspect the sentences with constrained matches

Next the authors apply the CB-MWE descriptions to the sentences that passed the baseline filter. They form a collection of sentences in which the conditions find instances. From this collection they select a separate random sample of 400 sentences, again accompanied in the paper by “10% level of confidence.” This time the check asks whether the marked tokens form a complete expression. The location and extent of the marking are therefore part of the judgment.

The authors report a precision estimate of 99% for these matches. The two samples describe different sets of selected sentences. The baseline sample estimates how often a constituent-selected sentence contains an expression, while the constrained sample estimates how often the marking in a selected sentence is correct and complete. Reading the percentages together shows how much more concentrated the genuine evidence is in the output after the grammatical checks. The paper supplies no independent performance figure for Multiflex on the same corpus sample.

Manual checks of candidate and matched sentences in the IPI PAN Corpus

Sentences selected by the grammatical constraints passed manual inspection much more often than sentences selected by constituent presence alone.

Manual checks of candidate and matched sentences in the IPI PAN CorpusConstituent filter, sentence contains an expression: 20Constituent filter, sentence contains anexpression20CB-MWE, marked tokens form a complete expression (this paper): 99CB-MWE, marked tokens form a completeexpression (this paper)99
The numbers
System or settingsampled sentences passing the check %
Constituent filter, sentence contains an expression20
CB-MWE, marked tokens form a complete expression (this paper)99

The precision judgment is closely related to the format’s output. Finding the right sentence would be weaker evidence if the recognizer then marked the wrong tokens. The paper asks whether the tokens selected by the description actually form the expression. This matters for cases in which a sentence contains a genuine expression alongside unrelated occurrences of one of its constituents. It also matters for a gap, where marking the surrounding interval would be different from returning the constituent positions.

The corpus search and samples support an aggregate result for the described procedure. Their figures do not isolate the effect of checking a particular attribute. A simple agreement test, a precise lexical parameter, a restricted gap, or a contextual check could each contribute to the acceptance or rejection of a sentence. The reported precision reflects the completed descriptions together with the candidate filter and available token analyses.

Estimate the share of genuine baseline cases recovered

For recall, the authors estimate the number of correctly marked sentences using the precision of the constrained matches. They compare that estimate with the estimated number of genuine expression-bearing sentences in the baseline pool. They report 61% recall on that basis. Hence, the reference population has already been limited to sentences that the constituent filter could admit. The calculation does not use a separate annotation of every expression occurrence in the corpus.

R = C ÷ B

R is the recall estimate. The equality sign = defines it as the ratio on the right, and ÷ denotes division. C is the estimated number of sentences with correct markings after applying CB-MWE, using the precision judgment to estimate how many matched sentences are correct. B is the estimated number of sentences with real expressions among those retained by the baseline, using the baseline sample to estimate how many of its sentences contain an expression.

The denominator makes the scope of 61% particularly important. It concerns genuine cases represented in the preliminary search, and it is expressed in terms of sentences. An eligible expression missed by the baseline cannot contribute to this denominator. Similarly, if a sentence contains several instances, a sentence-level estimate is not by itself a measure of how well every instance was recovered. The result is evidence about recovery from a defined pool of candidates.

The high precision and lower recall describe separate aspects of recognition. Once the conditions identify a match, the sampled judgments typically support the marking. The recall estimate says that passing the initial lexical search gives no assurance that a genuine case will also satisfy the full description. This pairing is consistent with a framework that can express restrictive conditions and depends on entries that capture the range of forms actually used. The aggregate figures leave open which restrictions or missing alternatives account for the unrecovered cases.

Keep lexicon scale separate from corpus performance

The format comparison reports 6,954 expressions described for Polish in CB-MWE and 2,822 for Serbian in Multiflex. These counts indicate the sizes of the resources discussed. They come from inventories in different languages, with no shared reference set in the comparison. They cannot tell a reader which format would cover more of the same vocabulary or recognize more occurrences in the same text.

The paper also reports that the format was integrated into SuperMatrix and tools for named entity recognition and chunking. Named entity recognition concerns identifying mentions such as names, while chunking groups sequences of tokens into local phrases. The integrations show that the descriptions were brought into the authors’ corpus-processing tools. The figures reported in the experiment concern recognition of expressions in the IPI PAN Corpus, so the integrations supply context for the implementation rather than measured changes in those other tasks. Named entity recognition

What the ablations show

The paper reports no ablation experiment that removes individual parts of CB-MWE and measures the effect on recognition. Its analyses instead compare the complete recognition procedure with a constituent search, examine what kinds of variation each description format can express, and show how selected conditions work on particular entries. These sources of evidence answer different questions about the design.

The corpus comparison tests the complete description

The comparison with constituent presence shows that finding the appropriate lexical material is a weak criterion by itself. The CB-MWE judgments show that the complete conditions can select much more convincing matches from such candidates. The comparison is at the level of the recognition procedure as a whole. It provides no separate estimate of the benefit of agreement testing, checks on word order, gap restrictions, or contextual conditions.

There is a useful distinction between what the worked example demonstrates and what the corpus measurements demonstrate. The daily-bread condition makes it possible to see how accepting either order follows from the alternatives in the rule. That is a property of the condition, visible without counting its corpus matches. The experiment shows how well the collection of complete descriptions did in the reported evaluation. It does not tell a reader how many acknowledged matches depend on the alternative branch of any one condition.

The same applies to agreement features. If a noun and adjective cannot satisfy the specified conditions together, the example’s condition rejects them. That explains a route by which a false lexical candidate can be screened out. The paper gives no breakdown of how often these failures correspond to a deliberately useful rejection, a mistake in the grammatical annotation, or an overly restrictive description. The logic explains what the recognizer tests. The aggregate measurement describes the result of using the tests together.

The format comparison asks what each representation can express

The comparison with Multiflex is organized around linguistic phenomena discussed by Savary. Both approaches can deal with expressions without an ordinary internal head, unusual agreement, and restricted paradigms. Multiflex uses detailed inflection descriptions associated with the expression. CB-MWE can express the corresponding properties as conditions on analyses available in a text. The common expressive goal is reached by assigning different responsibilities to the lexicon and the recognition process.

The difference has consequences for how a description is written. Multiflex links descriptions of constituent units in a graph. The authors explain that insertion or omission can be represented through links that allow different paths between units. In CB-MWE, conjunctions specify the requirements for an arrangement, and disjunctions make other arrangements available. Where several orders are allowed, the WCCL approach described in the paper can require a condition for each accepted order. The comparison identifies an authoring cost even though both formats can represent the phenomenon.

For discontinuity, CB-MWE’s sequence searches can skip tokens outside the expression and test the material between the constituents. This is useful when the words that intervene come from grammatical classes or particular lexical alternatives and are not all known in advance as a set of surface forms. The gap example shows how a description can use an independently analyzed token to find an endpoint and then examine the interval it has identified. The comparison establishes an available operation. It gives no separate estimate of observed recognition accuracy for expressions with gaps.

The paper’s prose also identifies sets of alternatives for representing abbreviations and semantic or derivational variants in CB-MWE. If several possible words can fill a role, the condition can refer to the set the lexicon supplies. This means a known alternative can be encoded as part of a description. The operation depends on knowing which alternatives belong together. It does not demonstrate that they can be discovered automatically, or that the same set will be appropriate for every context in which the words occur. The authors separately describe regular expressions within WCCL as a possible way to express duplication.

The authors’ discussion of redundancy adds a practical qualification. Shared templates make large groups economical to describe, but substantially similar conditions may still have to be written for different positions or arrangements. The paper suggests that a more modular organization could remove some of that repetition. The examples illustrate why the problem arises. Changing which role occupies which position preserves much of the lexical and grammatical logic and still requires the description to identify the correct positions for output. Expressive flexibility and economy of authoring are separate properties of the format.

Limitations

Limits identified by the authors

The authors describe entry automation as ongoing work. They propose using heuristics to turn a list of expression dictionary forms into WCCL-based descriptions and characterize the preliminary outcome as promising. The conclusion identifies unresolved problems in determining constituent order and continuity. These decisions are central to creating a useful entry because they influence both the candidate search and the form of the final test. A dictionary spelling records a particular order and adjacency, while actual use may allow arrangements the spelling does not reveal.

The conclusion also identifies the merging of syntactic variants, semantic variants, and abbreviations as work still to be done. The format permits an author to write alternatives, but filling in those alternatives requires knowledge of which forms realize the same entry. Encoding an alternative and establishing that it belongs in the entry are distinct operations. The corpus results assess descriptions prepared by linguists and therefore give no direct measurement of the quality of entries produced by the preliminary heuristics.

The format comparison recognizes a difference in purpose around inflection generation. CB-MWE reads grammatical information from the text and checks a candidate occurrence. Multiflex expands a description into inflected forms, which can serve in turn as the basis for recognition. A compact condition can be useful for checking an observed sequence without supplying a list of possible sequences on demand. The paper evaluates the recognition use and treats generation as a separate capability in its comparison.

The authors also identify the work of writing repeated conditions as a limitation of the current format. A group helps when several expressions genuinely share the same pattern. When the allowable constructions differ only slightly, related conditions can still repeat similar tests. Factoring them into reusable pieces is discussed as a possibility. The resource counts show the scale at which the format was used, but the paper does not provide a measurement of time saved in preparing these entries.

Limits of the evidence

The recall estimate applies within the coverage of the constituent filter. A genuine occurrence that fails to produce the required lexical evidence never enters the population against which recall is measured. This matters when the format is intended to allow omissions and other variants. An expression may be describable by a full condition that permits an omitted constituent, but evaluating recovery of that form requires candidate selection that can admit it. The paper’s aggregate recall result does not show how often that happens.

There is also a difference between validating selected sentences and evaluating all occurrences in them. The baseline procedure checks whether a selected sentence contains an expression. The constrained procedure checks whether the marking in a selected sentence corresponds to a complete expression. A fully enumerated annotation would allow separate answers about every eligible occurrence and the boundaries of every prediction. The sampling procedure supports the estimates the authors report and leaves those finer questions open.

The paper gives the sample sizes and the reported percentages without an accompanying account of annotation agreement or enough detail to interpret its “10% level of confidence” as a specific uncertainty interval around each estimate. The precision and recall should therefore be read as the reported point estimates for this procedure. The corpus result also pools different kinds of expressions, leaving no basis for estimating the performance of any one structural group from the headline figures.

CB-MWE relies on a compatible morphological analysis. A condition can accommodate alternatives retained by the tagger, as the intersection checks show. It still needs the relevant lemma or grammatical value to be available to the condition. An absent analysis can prevent a valid match, while permissive analyses can leave a candidate for the other checks to resolve. This dependency follows from the representation. The paper does not measure how much of the missed recall is attributable to the tagger and how much to the lexicon or the conditions.

The examples also leave an implementation question about the relation between the order type and the candidate filter. The schema describes fixed entries as continuous, yet the worked genitive example has a fixed label and an explicit gap search. The example demonstrates that WCCL can state the intended gap checks. It remains unclear from the paper how the preliminary filter reconciles the fixed label with those checks. The example therefore supports an expressive capability more directly than it supports a conclusion about how all instances of that pattern reach the runtime condition.

Finally, the cross-format comparison and the corpus evaluation are separate pieces of evidence. The comparison catalogs representational choices across resources for different languages. The corpus experiment estimates recognition quality for the authors’ Polish descriptions. A controlled comparison of speed, authoring effort, or recall between formats would require common material and comparable evaluation conditions. The authors’ judgment that CB-MWE is practical rests on their implementation and corpus study. Effects on the applications that motivated the work remain outside that study.

What came after

A later study building on CB-MWE is not documented here. The paper closes with a concrete set of open problems for further work on the format. It proposes improving the automatic assignment of descriptions, especially decisions about order and continuity, and bringing syntactic variants, semantic variants, and abbreviations together in lexical entries. Those are proposed extensions. The work reported in the paper establishes the format, its application to a Polish inventory, and its corpus evaluation with descriptions prepared by linguists.

Cite

Cite as Roman Kurc, Maciej Piasecki and Bartosz Broda. 2012. Constraint Based Description of Polish Multiword Expressions. 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{kurc2012constraint,
  title = {{Constraint Based Description of Polish Multiword Expressions}},
  author = {Roman Kurc, Maciej Piasecki and Bartosz Broda},
  booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
  year = {2012},
  url = {https://aclanthology.org/L12-1613/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/kurc-2012-constraint-based-description-polish-multiword/