---
title: "Multi-word Expressions for Abusive Speech Detection in Serbian"
description: "How a revised Serbian HurtLex and a dictionary of multiword expressions help find potentially abusive language, and what a Twitter pilot found."
canonical: "https://research.elamur.ai/free/en/papers/stankovic-2020-multi-word-expressions-abusive-speech/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/stankovic-2020-multi-word-expressions-abusive-speech/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Multi-word Expressions for Abusive Speech Detection in Serbian

# Multi-word Expressions for Abusive Speech Detection in Serbian

Paper · 2020 · Ranka Stanković, Jelena Mitrović, Danka Jokić et al.

**Authors:** [Ranka Stanković](https://md.research.elamur.ai/free/en/authors/ranka-stankovic/), [Jelena Mitrović](https://md.research.elamur.ai/free/en/authors/jelena-mitrovic/), [Danka Jokić](https://md.research.elamur.ai/free/en/authors/danka-jokic/) and [Cvetana Krstev](https://md.research.elamur.ai/free/en/authors/cvetana-krstev/) · **Year:** 2020 · **Venue:** Proceedings of the Joint Workshop on Multiword Expressions and Electronic Lexicons · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **3** papers in our library of the 163,136 papers whose bibliographies we read · Proceedings of the Joint Workshop on Multiword Expressions and Electronic Lexicons · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2020.mwe-1.10/)
- [PDF](https://aclanthology.org/2020.mwe-1.10.pdf)

## Summary

A Serbian expression about spicing someone’s stew can mean deliberately making life difficult for that person. A search for swear words would have little reason to flag the expression, even when it carries that figurative meaning. Conversely, a tweet can contain a word associated with insults and use it without hostility. The authors study how to build a Serbian dictionary that can help find both obvious and less direct forms of abuse. Their focus is on combinations whose meaning or use depends on the phrase as a whole, known as [multiword expressions](https://md.research.elamur.ai/free/en/topics/multiword-expressions/).

The work starts by auditing the Serbian part of [HurtLex](https://md.research.elamur.ai/free/en/papers/bassignana-2018-hurtlex-multilingual-lexicon-words-hurt/), a multilingual dictionary of potentially hurtful vocabulary. Automatic translation had left foreign words, unnatural phrases and incorrect grammatical information in the Serbian entries. In the audit, only 35.1% of cases in the authors’ analysis of distinct dictionary forms had both the correct form and the correct grammatical category. The authors corrected forms, removed unsuitable entries and reviewed the abuse categories assigned to phrases. Of the 265 HurtLex phrase entries examined, they confirmed the category for 156 and eliminated 109.

They also assembled a new collection by searching for expressions containing words chosen as possible clues to abuse. The resulting 4,624 candidates included 1260 that reviewers judged abusive, 462 that reviewers judged potentially abusive and 2902 that they judged non-abusive. An ordinary word such as *junak*, meaning hero, could lead to a taunt about someone who only talks bravely or to an unremarkable reference to a fictional protagonist. The authors used the judgments to enrich Serbian dictionaries and describe how selected expressions change with grammatical case, word order and the phrases that can appear alongside them. Some of those changes can be handled by generating dictionary forms. Others require search patterns that allow extra material inside the expression.

A pilot search using entries marked as abusive or potentially abusive returned around 800 hits in a corpus of approximately 8000 tweets. The authors report that 80-90% of those hits indicated abusive language. The result concerns the material the search found. The study leaves open how much abuse went undetected, how much the multiword entries contributed compared with single words, and how well the resource would work on other collections of Serbian text.

## Deep dive: Multi-word Expressions for Abusive Speech Detection in Serbian

How a revised Serbian HurtLex and a dictionary of multiword expressions help find potentially abusive language, and what a Twitter pilot found. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why an abusive expression can be hard to find

The paper treats abusive language as a broad category that includes forms of insult, offense and hate speech. Its discussion of hate speech emphasizes attacks directed at people or groups on grounds such as ethnicity, religion, gender or nationality. Abusive language can also attack someone over appearance, conduct or social position. A resource for this broader category has to serve several purposes. A phrase might be relevant because it targets a particular group, because it characterizes an individual in a degrading way, or because it can be used as a curse. The paper takes its account of abuse and of explicit and implicit messages from work including [I Feel Offended, Don’t Be Abusive!](https://md.research.elamur.ai/free/en/papers/caselli-2020-i-feel-offended-don-t/).

Some abuse announces itself through familiar insults. Other instances depend on how ordinary words are put together. The paper’s expression *zapržiti nekome čorbu* is built around preparing someone’s stew. Its figurative use concerns knowingly causing trouble for someone. The words about food offer a poor guide to the purpose of the expression. A dictionary that stores the whole phrase can give a search system access to the figurative reading, and the surrounding text can help establish which reading is relevant.

The reverse problem comes from words that a search would be right to notice in some settings. The authors point out that people use swear words in everyday speech with varying intentions. They also cite work observing that different groups may regard the same insult differently. A word list can therefore produce false positives, cases flagged by the search in which the intended kind of abuse is absent. Together, these examples explain the authors’ choice to work on phrase coverage and to treat a match as a possible indicator. Better coverage can help retrieve cases that a narrow list would miss, while interpreting the cases still depends on their use in context.

Serbian adds a problem of form. A dictionary usually stores a conventional headword, or [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/), while speakers and writers use whichever form a sentence requires. The study describes Serbian as both morphologically rich and relatively short of resources for abusive-language detection. In a phrase made up of an adjective and a noun, for example, grammatical information about the noun helps determine the form of the adjective. A dictionary that keeps just the translated phrase as a fixed string leaves much of that variation unrepresented. The study therefore draws on existing descriptions of Serbian [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/).

The authors give phrase entries the same standing in their planned retrieval work as individual words. The case for doing so is partly about the scale of the vocabulary. Earlier work cited in the paper suggests that speakers know multiword expressions in numbers of the same broad order as single words. More directly, a phrase can provide evidence that even a well-curated single-word list has no way to express. A word can also be a productive clue that leads researchers to several phrases, each of which then merits its own judgment. The resource has to accommodate the word as a search clue and the phrase as an entry with independent information.

#### How earlier work used dictionaries and corpora

The paper describes lists of potentially offensive terms as common starting points for detecting abuse in online writing. They are convenient because many familiar expressions can be found by matching against known entries. Earlier studies had used a lexicon as a baseline for a more elaborate classifier or as a source of signals for classification. A match can contribute a yes-or-no feature, and several matches can contribute a count or a weighted score. A rule-based system can assign a category once enough evidence meets a threshold. The paper also describes using lexical entries as training material for a classifier. These are different roles for a dictionary within [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/).

One route to building such a dictionary was to begin with existing descriptions of subjectivity or negative sentiment. The paper discusses work by Wiegand and colleagues that starts with negative vocabulary from a subjectivity resource, then expands the resulting abusive-word inventory through a computational procedure. The cited work also gives the Serbian authors a reason to include several grammatical classes in their inventory. Limiting entries to nouns would leave out clues carried by adjectives, verbs and other kinds of words. Prior work by Gitari and colleagues combined information about polarity, intensity and subjectivity with classification rules, drawing on resources including [SentiWordNet](https://md.research.elamur.ai/free/en/papers/esuli-2006-sentiwordnet-publicly-available-lexical-resource/).

An earlier dictionary for detecting aggressive exchanges illustrates a different issue. In the work by Razavi and colleagues, entries could carry a weight reflecting offensiveness and subjectivity, and those weights were adjusted using training data. The entries could also be turned into search templates. A slot for a person could be represented by a wildcard, and forms of nouns and verbs could be broadened by allowing affixes. The Serbian study adopts the idea that an entry can stand for a family of surface strings. Its more detailed phrase descriptions use specified grammatical structures for some of those slots.

The paper also points to annotated corpora as an important resource alongside word lists. A lexicon says an expression deserves attention. An annotated corpus can record whether a particular tweet or message was judged hateful, offensive or abusive under a stated task. The authors situate their project beside shared evaluations of social media text, including [SemEval’s multilingual hate-speech task on immigrants and women](https://md.research.elamur.ai/free/en/papers/basile-2019-semeval-2019-task-5-multilingual/) and [OffensEval](https://md.research.elamur.ai/free/en/papers/zampieri-2019-semeval-2019-task-6-identifying/).

For Serbian, the paper identifies existing resources for parts of the job. The morphological dictionaries describe word forms and already include some nominal and adjectival expressions. A Serbian ontology of rhetorical figures gives a way to characterize devices such as irony, sarcasm, simile and hyperbole, several of which can feature in indirect abuse. The authors cite early efforts to detect some of these devices. They also discuss a Serbian newspaper search that marked pieces of evidence relevant to attacks motivated by hatred or intolerance. That earlier search shows the role of contextual clues around words, because multiple parts of an article could contribute to judging why a report was relevant.

#### What the Serbian revision inherited from HurtLex

The original HurtLex drew on an Italian dictionary organized around stereotypes, derogatory language and words whose negativity depends on context. HurtLex extends that resource to over 50 languages and distinguishes 17 categories, with an additional broad marker for stereotypes. The paper describes the category scheme as a way to search for particular kinds of vocabulary or group several kinds together. Previous uses cited by the authors include detecting misogyny in tweets, work on aggression and misogyny, and submissions on offensive language in multiple languages.

The multilingual resource also distinguishes conservative and inclusive entries. The conservative translation procedure selects senses judged offensive in the source dictionary. The inclusive procedure admits all senses regarded as potentially relevant. These labels describe how a translation was selected. They say little on their own about how natural the result is in Serbian, whether the original category survives translation, or whether a particular use is abusive. Translating a broader set of senses can increase the set available for inspection, and that inspection still requires judgments about the target language.

A Serbian revision therefore called for several checks. An entry could be recognizable Serbian but have the wrong dictionary form. Its form could be correct but carry the wrong grammatical tag. A phrase could be grammatically fine and still be entirely unsuitable for its assigned category. Conversely, a literal translation might point toward a familiar Serbian expression that uses fewer words or a different construction. These were separate problems to solve before the authors could use the inherited vocabulary as one source of clues for finding new phrases.

### The method, step by step

The authors worked on the inherited Serbian dictionary and on a collection of additional expressions. They checked the inherited entries for acceptable Serbian forms and meanings, then assembled a set of single words that could lead to useful phrases. Once the new phrases had been reviewed, the authors selected relevant ones for richer dictionary descriptions. Those descriptions supported matching in text, either through generated forms or through search patterns that accommodate more variation.

From Serbian lexical sources to a Twitter search The steps in order.

#### Clean the inherited forms and grammatical labels

The starting Serbian HurtLex set contained 2518 entries with 1903 distinct lemmas written in Latin and Cyrillic. The authors first unified the script used for the audit. They report 1819 distinct lemmas after this step. Script normalization matters here because two entries can look different and still represent the same lexical item. Once the script is consistent, it is easier to see repeated headwords and to check them against other Serbian resources.

The Serbian Morphological Dictionaries supplied the first check on the standardized lemmas. The authors then inspected manually the forms that the dictionaries had failed to recognize. The unrecognized forms were a queue for review: a dictionary check could draw attention to a string, while the reviewers determined whether it should be removed or corrected. The paper describes inherited entries containing foreign words, foreign material written in Cyrillic, irrelevant names and phrases that made little sense because they were translated component by component.

For entries that could be kept, the authors checked the dictionary form and its grammatical class through [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/). A part of speech, abbreviated POS in the paper, classifies a word as a noun, adjective, verb or another grammatical type. A legitimate Serbian word might have been entered in the form used in a particular sentence rather than in the form under which a dictionary would normally store it. For example, the paper describes correcting *zlostavljao*, a form of the verb for abusing someone, to the infinitive *zlostavljati*. In a multiword entry referring to an extreme right-winger, the adjective was corrected so that its form agreed with the noun. The audit also made some orthographic corrections.

Getting the lemma right makes it possible to associate the entry with a Serbian inflection pattern. Getting the grammatical class right helps the dictionary and the search procedure interpret that pattern. These checks are distinct even when they concern the same string. A form can already be suitable as a headword but carry an incorrect label, or need correction even though its assigned grammatical class is appropriate. The authors counted those cases separately. They also removed duplicates in the revised inventory, since an entry count and a count of distinct headwords describe different aspects of the resource.

#### Check whether the inherited categories make sense

The phrase audit asked whether the existing HurtLex category was justified for each Serbian entry. The reviewers could confirm the category while still suggesting a more suitable translation. The paper gives a phrase literally describing a priest’s assistant for which the reviewers preferred the established word *đakon*, meaning deacon. A translated entry framed as a multiword expression can thus lead to a single-word Serbian equivalent. The desired unit depends on actual Serbian usage.

Some entries were unsuitable because of what translation did to the relationship between a word and its category. The paper discusses *neobrazovana osoba*, meaning an uneducated person, which had appeared under the category for animals. The phrase can be used critically, but that possibility gives no reason to assign it to that category. Another example, *meka na dodir*, describes something as soft to the touch. A loosely connected adjective might have a figurative use as an insult. That use gives little support for the range of unrelated categories attached to the translated phrase. The review asked what the Serbian expression itself could plausibly mean or do.

A further case concerns how much of an expression survives the translation. According to the authors, where the inherited entry gives the Serbian equivalent of a snake in the grass, Serbian would ordinarily use *zmija*, meaning snake, on its own. The remarks about these replacements clarify what the audit was trying to preserve. A useful lexicon contains recognizable Serbian ways of saying things, including figurative usages. Preserving the number or order of words in the source would sometimes leave the wrong expression in the inventory.

The authors also encountered entries marked under both the conservative and inclusive translation levels. These statuses concern the provenance of entries, and they can overlap when translated material converges on the same Serbian form. The phrase review considered that duplication along with literal or otherwise unsuitable translations. The paper presents the results by inherited HurtLex category, so the counts describe review decisions about particular entries and categories.

#### Use single words to find phrases worth reading

To enlarge the phrase collection, the researchers built a list of words they call triggers. A trigger is a cue for looking up phrases that contain it. During candidate collection, its job is to help find examples that a reviewer might otherwise overlook. A phrase found through a trigger still needs to be read and judged in its own right.

One source was Leximirka, the database supporting the Serbian electronic dictionaries. The authors looked for existing usage markers indicating augmentative, pejorative or derogatory vocabulary. An augmentative can suggest increased size or intensity. A pejorative or derogatory label tells a reviewer that the dictionary already associates the item with a demeaning use. The *Dictionary of Serbian Language* supplied additional marked items, including vulgar, ironic, pejorative and scornful vocabulary. These markings give several ways into the candidate pool, from direct insults to words that might acquire a hostile force in a particular turn of phrase.

Serbian HurtLex supplied another set of clues. The authors also processed material containing threats and offensive language, including tweets and posts, to obtain words from actual examples. The final list had 2,851 single-word lemmas. The authors used the list to collect expressions containing a selected trigger, looking across dictionaries, the threat collection and online search results. The different sources served different purposes. A dictionary could show a conventionalized phrase and its form, while online examples could show the contexts in which people used it.

The paper’s example *junak*, or hero, explains the advantage of the approach. A reference to the hero of a novel uses the word in a familiar, non-abusive sense. The expression *junak na jeziku* instead mocks someone whose bravery is expressed in talk. Finding both expressions from the same trigger lets the reviewers record the contrast at phrase level. Labeling *junak* itself as uniformly abusive would discard precisely the difference that made the search informative.

#### Give each candidate a manual judgment

The authors reviewed all 4,624 candidate expressions and assigned one of the labels YES, MAYBE or NO. YES marked expressions judged abusive. MAYBE marked possible abusive use. NO covered candidates judged non-abusive. Reviewers could search a Twitter corpus assembled specifically for the research, the wider web and previously compiled corpora. Those searches gave them access to examples in use as they decided whether the expression belonged in the abusive inventory.

This stage is a form of [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), with an expression as the unit being labeled. A label records the reviewers’ assessment of an expression’s abusive status or potential. It does not imply that every occurrence inside a tweet receives the same label. MAYBE is particularly important to that reading of the procedure. It preserves entries that may be useful for finding abuse even when an expression alone gives a weaker basis for deciding how it is being used. The pilot could then search with these entries as well as those marked YES.

The authors also describe a category scheme for types of abuse. It takes inspiration from work on targets of online hate and includes categories concerning ethnicity, disability, appearance, social class, religion and gender. It also accounts for such kinds of expression as slurs, curses and offenses, and includes vocabulary associated with criminal or immoral activity. The paper allows an entry to belong to several categories when it can occur in different kinds of abusive speech. The coarse YES and MAYBE judgments supply useful information even while the more detailed categorization is being developed.

Automated collection introduced grammatical errors of its own. The authors give the example of dictionary shorthand in which a tilde stands in for the headword. Substituting the adjective *topovski*, meaning related to a cannon, for that shorthand yields an ungrammatical phrase if the noun needs an adjective of a different gender. The noun *meso*, meaning meat, requires *topovsko meso*. The feminine noun *hrana*, meaning food, calls for *topovska hrana*. This difference must be resolved before the expression can serve as a proper dictionary entry. The study reports manual lemma corrections for 285 items in the YES class.

#### Describe the components and the phrase as a whole

For dictionary construction, the authors examined the internal structure of expressions marked YES or MAYBE. They separated some versions that had originally been recorded together. An entry might contain an optional word or a choice between alternative lexical items. Taking those versions apart for structural analysis makes it clearer which components each one has. In the eventual dictionary or search description, selected alternatives can be grouped together when they belong to the same expression.

A Serbian tagger assigned grammatical categories to the components. This provided a first pass for grouping expressions by their arrangement of words. In the paper’s notation, A denotes an adjective, N a noun and V a verb. ADV denotes an adverb, PREP a preposition, CONJ a conjunction and PRO a pronoun. A pattern such as A N records an adjective followed by a noun. V PREP N records a verb followed by a preposition and a noun. The labels describe the visible sequence of categories. They leave open the underlying syntactic relationships and the role the expression plays in a sentence.

The difference matters when an individual form is ambiguous. The form *leglo* can be a noun meaning lair or a form of a verb for lying down. In *leglo opozicije*, the noun reading is appropriate. The tagger took the form as a verb, putting the phrase in the wrong structural group. The authors corrected cases like this manually. The issue arose partly because the initial grouping went by sequences of grammatical tags without an analysis of how the components depend on one another, the job of [dependency parsing](https://md.research.elamur.ai/free/en/topics/dependency-parsing/).

Other difficulties remain even when the component tags are accurate. *Pukla bruka* looks like a verb followed by a noun, and its literal image is that a scandal has burst. In use it is largely a fixed interjection. The expression’s function therefore needs to be described independently of the categories of its parts. That distinction helped guide the authors when moving phrases into dictionary groups. A sequence that resembles a nominal phrase at first glance can turn out to work as a frozen expression and require a different treatment.

The largest nominal group had an adjective before a noun. In these phrases, the adjective can follow the noun’s grammatical gender, number and case. Other nominal groups included sequences of nouns, a noun followed by a prepositional phrase and pairs of nouns joined by a conjunction. The authors could draw upon information already present in the Serbian Morpho-syntactic Dictionary, abbreviated SrpMD. The existing component entries gave the semi-automatic construction procedure information about the changes a word could undergo and the characteristics that had to be coordinated across an expression.

Leximirka provides an editor for this work. The paper illustrates an entry for *bruka i sramota*, a coordinated phrase expressing shame and disgrace. The editor lets the user assign a syntactic class to the phrase, specify its constituent words and enter relevant grammatical information. The resulting inflected forms can be generated and inspected. A reviewer can also attach the usage labels `HRT=yes` and `HRT=maybe`. In those labels, `HRT` is the field for abusive usage and the value records the earlier judgment of abusive or potentially abusive use.

The paper illustrates the difference between a stored entry and an automatically generated form with *ženski petko*, a derogatory expression aimed at a man judged insufficiently masculine. Its genitive singular form is *ženskog petka*. A search that can use the generated form has a way to retrieve the phrase when the sentence requires the genitive. For the adjectival comparison *glup kao klada*, which likens someone’s stupidity to a log, the paper shows genitive singular forms with the adjective in its usual position and with it moved after the comparison. This is variation the dictionary description can capture through its inventory of forms and permitted orders.

#### Represent insertions and complements with search patterns

A dictionary of generated forms can handle some alternate orders while still expecting the phrase’s components to occur contiguously. The authors illustrate this with *glup kao klada*. The basic order and the order with the adjective last can be recognized by the lexical description. Inserting *je*, meaning is, gives *glup je kao klada*. The added word creates a natural sentence pattern that is beyond the contiguous dictionary forms illustrated in the paper. The authors began extending the treatment of adjectival comparisons through descriptions that combine structured tables and finite-state search patterns.

Verbal expressions offer further reasons to describe the grammar explicitly. A verb followed by a noun may form a frozen utterance or an expression like *sejati strah*, meaning to sow fear. It can also require a person or thing in a particular grammatical form. The paper uses *lišiti nekoga slobode*, depriving someone of freedom, as an example with a person expressed in the accusative. In *zabadati nos u nešto*, literally putting one’s nose into something, the relevant slot is a prepositional phrase. These differences are obscured by the broad V N label. To retrieve actual uses, a search needs to allow for the rest of the construction.

The tables record such details as lexical alternatives, complements and adjuncts. A complement is a phrase called for by the construction, such as the person deprived of something. An adjunct adds information without filling the same sort of required role. The tables can also group variants such as the Ekavian and Ijekavian forms *reč* and *riječ* in an expression about breaking one’s word. The paper describes grouping related verbs as alternatives in other expressions.

The companion finite-state automata turn parts of these descriptions into patterns that can be run over text. A finite-state automaton advances through specified positions as it recognizes pieces of an expression. Alternative transitions can allow different orders or forms. A permitted insertion can be described as a phrase with a particular grammatical case, such as a nominal phrase in the dative. This gives the search a more specific account of what may occur in the gap than the earlier wildcard approach offered. The paper reports an initial implementation for a subset of the verbal inventory. Its descriptions can group multiple variants of a single expression.

The paper does not introduce a mathematical formula for assigning an abuse score. The method uses dictionary checks, manual judgments, grammatical descriptions and search patterns. Its final retrieval step searches tweets with simple and multiword entries marked as abusive or potentially abusive. Classifier training belongs to the authors’ future plans.

### Experiments and results

#### How much of the inherited inventory needed repair

The paper’s numerical evidence starts with the lexical audit. In the original set of 2518 Serbian HurtLex entries, the authors counted 803 entries removed as unsuitable forms, 1057 entries with a correct lemma and 658 with an incorrect lemma. Among the 1057 entries whose lemma was correct, 93 had an incorrect part-of-speech label. Among the 658 entries with an incorrect lemma, 48 also had an incorrect part-of-speech label. These are counts of entries. Repeated lemmas can occur in more than one record.

The table for distinct lemmas uses a different unit. It gives 34.5% for the items classed as nonwords, 38.8% for items with a correct lemma and 26.7% for items with an incorrect lemma. The row headed as distinct lemmas after correction totals 1747 across these categories. Incorrect grammatical labels account for 6.0% in the table’s count of distinct items. The authors summarize the joint outcome by reporting a correct lemma with a correct POS in 35.1% of cases. That last measure is stricter than accepting a headword on the quality of its form alone.

For the revised inventory, the paper reports 1725 entries after removing wrong entries and 1402 after removing duplicates, with 1000 distinct lemmas in the cleaned inventory. The audit’s labels and the inventory counts concern different stages of the work. The paper reports them as stage-specific totals and gives a separate count of 90 candidates for removal that carried both the conservative and inclusive annotations.

The inherited phrase review covered 265 entries representing 198 distinct lemmas. Reviewers confirmed the category of 156 entries and eliminated 109. The paper identifies 34 entries as inappropriate because of poor translation. It also describes 12 entries carrying both translation-level labels, with only one kept from that group. The category table includes striking differences in the amount of usable material. The row for derogatory words contains 45 confirmations and 38 rejections, while the animals row contains 10 confirmations and 26 rejections. Those counts reflect the result of reviewing the inherited categories. They are measured on phrase entries, independently of how many occurrences such expressions might have in a corpus.

#### How the new candidate collection turned out

The trigger inventory drew from several sources, for which the paper gives counts before reporting the final list. The Leximirka selection includes 103 items marked augmentative, 89 marked pejorative and 41 marked derogatory. In the *Dictionary of Serbian Language*, the authors report 981 pejorative, 224 ironic, 68 vulgar, 29 under the `podr.` marker, 17 scornful and 3 derogatory selections. The paper also reports adding 602 items from Serbian HurtLex and obtaining 694 words from material involving threats and offenses. The final inventory is reported as 2,851 single-word trigger lemmas. These source tallies describe how the pool was assembled, while the reported final inventory is the basis for phrase collection.

The result of collection and review was 4,624 phrase candidates. The YES label went to 1260, reported in the table as 27.2% of candidates. MAYBE went to 462, or 10.0%. The remaining 2902 candidates labeled NO account for the table’s 62.8%. The large NO group is expected from a procedure that invites the reviewers to inspect expressions found through a word of interest. It shows the amount of filtering between the automatically assembled candidate collection and the entries selected for further work.

The paper also reports the distribution according to the trigger’s grammatical category. The following comparison uses only rows with a named trigger POS. Each value is the YES share of candidates in that category. It measures how often that part of the collected pool received a positive phrase judgment.

Share labeled YES by trigger part of speech in the Serbian phrase candidate collection Adjective triggers have the highest share labeled abusive among the named trigger categories.

**The numbers**

| System or setting | % of candidates labeled YES |
| --- | --- |
| Adjective triggers (this paper) | 28.9 |
| Noun triggers | 24.5 |
| Verb triggers | 24.0 |
| Adverb triggers | 20.2 |
| Pronoun triggers | 0.0 |

The underlying group sizes vary. The paper reports 213 YES judgments among 738 candidates with adjective triggers. Noun triggers yielded 367 YES judgments out of 1497 candidates, while verbs yielded 474 out of 1975. For the 17 candidates with pronoun triggers, all judgments were NO. The table also has a blank category with 204 candidates, 167 labeled YES and 37 labeled MAYBE. Its YES share is 81.9%. The blank category has no named trigger part of speech, so the paper’s table supplies a separate row from the grammatical categories compared in the figure.

#### How far the grammatical description went

In the discussion of grammatical representation, the authors give 1772 items as the starting figure and 1832 items after they split out variants. These are figures for the structural analysis described in that part of the paper. Among the resulting items, the paper reports 893 expressions of 2 components, 464 of 3 components, 279 of 4 components and 119 of 5 components. Another 77 have more than 5 components. The most common length is short enough to be stored as a dictionary unit, although an occurrence in text can still have extra words or a different order.

The first structural grouping produced 653 nominal and 1179 verbal phrases. The largest named nominal pattern, an adjective followed by a noun, contained 448 assignments. There were 50 assignments to N N and 25 to N PREP N. The paper also reports 11 assignments to A ADV N, which includes comparisons, and 9 to the coordinated N CONJ N pattern. The results reflect the initial analysis of shapes, with some group assignments subsequently corrected by hand.

For the nominal group, the authors found 79 phrases already in SrpMD. The existing entries lacked the usage marker needed for this work. After moving misgrouped items and separating expressions whose frozen uses called for different treatment, the authors prepared 518 new nominal entries. This is a measure of dictionary construction. It counts new entries prepared for the resource, each of which can give rise to multiple inflected forms.

Among verbal phrases, the authors report 289 assignments to V N, 124 to V PREP N, 52 to V PRO N and 40 to V N PREP N. At the time of the paper, finite-state descriptions covered three classes of the V N group and 68 verbal expressions. Some descriptions accommodate several lexical versions. The figure of 68 gives the scope of the completed work reported for those classes, while the higher pattern counts show the breadth of material available for further description.

#### What the Twitter search measured

The authors searched a corpus of approximately 8000 tweets using single-word and multiword dictionary entries labeled abusive or potentially abusive. They obtained around 800 hits and report that 80-90% indicated abusive language. The paper describes the returned units as hits. It does not break that number down into distinct matched tweets, individual matching occurrences or counts for the two kinds of dictionary entries. It also gives no separate training, development or test split for the search.

The reported percentage describes how often a returned hit indicated abuse. This is closer in meaning to the precision of a search, the share of retrieved material that is relevant, than to classification accuracy across the corpus. The total of roughly 8000 tweets tells the reader the search’s scale. Establishing recall would require knowing which abusive passages or tweets were missed in the unreturned material. A classifier F1 score would likewise require information beyond the quality of the returned hits.

The original HurtLex set is the starting point for the audit, but the paper gives no matched Twitter search with that starting inventory as a baseline. It also reports no baseline run using only the corrected single-word entries. The raw and corrected inventories can therefore be compared through the audit decisions and their counts. The Twitter pilot measures the behavior of the combined marked resource in that collection.

### What the ablations show

The paper reports no formal ablation that removes one component and measures the resulting change in detection. Its analyses instead examine where the inherited entries failed, how often trigger-based collection yielded abusive phrases, which structures occurred in the accepted material and what different representations could recognize in specific examples.

#### A trigger can be productive without being diagnostic

The analysis by trigger word changes the denominator from phrases to the words used to find them. The authors report that 45% of trigger words yielded no expression labeled abusive in the collected material. For 19%, abusive expressions were less numerous than the candidates labeled NO or MAYBE. The paper reports 14% for the group that produced more abusive expressions, and 22% for triggers whose extracted expressions were all judged abusive. These figures describe the output of the authors’ collection and review method. The behavior of the same word in a different corpus is a separate question.

The mixed behavior of *junak* shows what the distribution means at the level of an individual entry. Its appearance in a novel’s description has a different force from its appearance in a phrase mocking someone’s courage. A trigger can help find both by linking them to the same word. Once the phrases are found, the reviewer needs the distinction that the trigger itself lacks. Some triggers in the collection consistently brought back abusive phrases, while many others needed this kind of filtering.

The part-of-speech breakdown makes a different comparison. Adjective triggers gave the highest YES share among the named groups, whereas verbs supplied the largest YES count in that comparison. A source can therefore produce a larger volume of usable material even if its review yield per candidate is lower. The small pronoun group shows why the counts matter beside the percentages. Its all-NO outcome comes from 17 collected candidates and applies to that group in the authors’ collection.

The trigger distributions also bear on the paper’s concern with expressions whose meaning is difficult to infer word by word. In the stew expression, the abusive or hostile reading depends on the conventional figurative interpretation. In the hero examples, the contrast depends on what accompanies the word. The authors illustrate both phenomena, while their collection counts organize candidates by the review labels and trigger characteristics. They give no numerical breakdown of the expressions by how transparent their meaning is from their components.

#### Lexical form and category assignment need different checks

The inherited HurtLex audit reveals failures that a uniform spelling or stem rule would leave in place. Some entries fail at the level of Serbian vocabulary. Some are valid words in the wrong headword form. Some have a correct lemma and the wrong grammatical label. The phrase analysis adds a further category of failure. An expression can pass a Serbian form check and still be assigned to an irrelevant category. In the example of an uneducated person under animals, the words are understandable and correctly formed. The problem lies in the categorization.

The counts by HurtLex category let the reader see where those decisions accumulated. The animal category contains many rejected translations, and the derogatory group contains substantial numbers of both confirmed and rejected entries. Because this is a review of what happened to be inherited in each category, differences can reflect the original senses, the translation choices and the number of entries put in the category. The table gives direct evidence of what the reviewers changed. It gives no controlled estimate of which individual cause accounts for the outcome in each row.

The construction work offers an analogous distinction. A word can have the correct label and still be part of a phrase whose function differs from the one suggested by its component sequence. Conversely, the phrase may belong in a familiar structural group once an ambiguous word’s tag is corrected. The contrast between a verb reading of *leglo* and a nominal reading of the whole expression demonstrates the latter case. The fixed interjection with the surface shape V N demonstrates the former. Both show why the authors treated the first grouping as the beginning of the dictionary description.

#### Generated forms and patterns cover different variations

The comparison built around *glup kao klada* holds the expression constant and changes how it appears in a sentence. A dictionary entry with generated forms can cover inflection and the two illustrated orders. Adding the copula inside the expression creates a case the described dictionary entry cannot match. A finite-state pattern has a place to represent an allowed insertion. This example establishes the representational difference directly, even though the paper gives no measured change in retrieval across a corpus for that one extension.

The verbal analysis shows why a word sequence alone is an incomplete description even within a frequent structural group. Expressions described under V N include fixed utterances and verbal constructions with different complements. A search restricted to a verb and an adjacent noun would miss some of these realizations. A wildcard would allow additional material but leave its grammar unspecified. The paper’s proposed patterns can express a requirement for a phrase in a particular case or introduced by a particular preposition. The reported 68 verbal expressions establish that the authors applied this method to part of the collection. The Twitter pilot groups the results together, so it gives no separate performance estimate for those finite-state descriptions.

### Limitations

#### Limits the authors identify

The authors call the Twitter findings preliminary and say that larger and more varied corpora are needed to confirm them. They also say that an occurrence of a dictionary item is an indication of possible offense. When the lexicon is used to collect a corpus, manual assessment is needed to establish the right labels for the tweets. This condition follows from their discussion of ordinary swearing, context-dependent evaluations and implicit abuse.

They explicitly identify a limitation of the lexical representation illustrated in the paper. Inflected forms and a specified set of word orders can be generated, while inserted material falls outside that contiguous description. The work on tables and finite-state automata addresses some of these cases. For verbal phrases, the published implementation covers selected constructions. The authors also describe the `HRT` judgments as coarse, with more detailed annotation still in progress.

The conclusion describes coverage gaps the authors intend to pursue. Some expressions attested in offensive use are missing from existing lexicons and would need to be brought in from corpora. A single expression may need separate descriptions of abusive and ordinary uses. Context rules, intensifiers and information about word sense are proposed ways to help distinguish those uses. The paper also treats a hybrid classifier and a web interface as work in progress or future aims.

#### Limits visible in the setup

Candidate collection begins mainly with words already identified as promising. Phrase-level review can find figurative expressions in that pool, including expressions whose abusiveness is carried by the combination. The resulting inventory gives limited evidence about phrases that cannot be reached through those clues. It also reflects the dictionaries, threat material and search sources from which the authors collected candidates. Frequencies within that set are therefore frequencies within a curated collection, with no sampling design that would make them representative of all abusive Serbian usage.

The paper describes corpus searches used to support manual phrase judgments, but it does not report a measure of agreement among reviewers or detail how disputed decisions were resolved. That matters especially near the YES and MAYBE boundary. The structural description also starts from 1772 items even though the earlier results give the YES and MAYBE figures separately as 1260 and 462. The paper leaves the relationship between the reported starting figure and those earlier totals unexplained. Its figure of 1832 is explicitly associated with the stage after variants were separated.

The Twitter corpus has a role both in checking candidates and in the retrieval demonstration. The paper does not identify an independent held-out set for the final check or describe how much material could overlap between the two uses. The pilot can establish that the resource returned relevant material in the collection examined. Estimating how well it generalizes would require evidence about performance on independently selected text, with a corresponding account of what counted as abusive.

The absence of a comparative run also limits what can be attributed to any particular change. A hit may come from a repaired HurtLex entry, a new phrase, a retained single word or a description that allows an inflection or insertion. The reported hit percentage combines those possibilities. It gives no count of tweets found because of the multiword work alone, or of correct hits lost or gained when any individual component is omitted. Similarly, the number of collected or generated entries measures the resource’s scope. Evaluation of detection would need judgments for relevant material across the text searched, including material the resource never returned.

### What came after

There are no identified later studies to trace as applications of this Serbian lexicon. The directions described in the paper are the authors’ plans at the end of the project, including using the revised inventory to collect Serbian social media text for manual annotation. Their precedent was earlier work that used offensive vocabulary to select tweets for a harassment corpus and then had people review the selected texts. The Serbian pilot demonstrates the retrieval stage of that approach.

The authors intended to extend the vocabulary using material from surveys and crowdsourcing, slang and synonym dictionaries, and translations of other lexicons. They also proposed drawing on the Serbian sentiment lexicon and Serbian WordNet. Corpus examples could supply expressions missing from those resources and help record the contexts in which an expression becomes offensive. That planned work continues the distinction made in the audit between whether a phrase exists in Serbian and what evidence supports assigning it a particular use.

For detection, they proposed a classifier combining dictionary evidence with rules or machine learning. They singled out context rules and intensifiers, drawing on earlier Spanish work on multiword expressions in sentiment analysis. They also considered information about different senses of the same expression as a way to distinguish ordinary uses from abusive ones. The paper’s concrete contribution to that agenda is the revised Serbian inventory and the grammatical descriptions that make some of its phrases searchable across different forms.

## Cite

Cite as Ranka Stanković, Jelena Mitrović, Danka Jokić and Cvetana Krstev. 2020. Multi-word Expressions for Abusive Speech Detection in Serbian. Proceedings of the Joint Workshop on Multiword Expressions and Electronic Lexicons.

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

```bibtex
@inproceedings{stankovic2020multi,
  title = {{Multi-word Expressions for Abusive Speech Detection in Serbian}},
  author = {Ranka Stanković, Jelena Mitrović, Danka Jokić and Cvetana Krstev},
  booktitle = {Proceedings of the Joint Workshop on Multiword Expressions and Electronic Lexicons},
  year = {2020},
  url = {https://aclanthology.org/2020.mwe-1.10/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
