---
title: "Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii"
description: "This paper uses sentence context to predict Ukrainian word stress and tests pronunciation rules for converting written Ukrainian into speech sounds."
canonical: "https://research.elamur.ai/free/en/papers/senyk-2025-stress-phonemization/"
---
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/senyk-2025-stress-phonemization/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii Paniv. Context-Aware Lexical Stress Prediction and Phonemization for Ukrainian TTS Systems // UNLP 2025

# Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii Paniv. Context-Aware Lexical Stress Prediction and Phonemization for Ukrainian TTS Systems // UNLP 2025

Paper · 2025 · Anastasiia Senyk, Mykhailo Lukianchuk, Valentyna Robeiko et al.

**Authors:** Anastasiia Senyk, Mykhailo Lukianchuk, Valentyna Robeiko and Yurii Paniv · **Year:** 2025 · **Venue:** UNLP 2025 · **Licence:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

UNLP 2025 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.unlp-1.11/)
- [PDF](https://aclanthology.org/2025.unlp-1.11.pdf)
- [DOI 10.18653/v1/2025.unlp-1.11](https://doi.org/10.18653/v1/2025.unlp-1.11)

## Summary

A Ukrainian speech synthesizer can read every letter correctly and still say the wrong word. The spelling замок can mean either a castle or a lock. A speaker distinguishes them by stressing a different vowel, and the surrounding sentence usually tells a reader which meaning is intended. Other words shift their stress when they change grammatical form, and some allow more than one pronunciation for the same meaning. The paper tackles stress assignment and a related problem, phonemization, which converts spelling into a representation of the sounds a synthesizer should produce. The authors treat these as separate parts of text-to-speech preprocessing, so each can be tested on its own.

The stress work starts with a benchmark of 1,026 sentences annotated by a native Ukrainian speaker. It includes 6,439 distinct written word forms, retains misspellings and words outside the vocabulary, and intentionally puts selected ambiguous spellings into sentences that call for different stresses. To obtain a larger training collection, the authors taught a Wav2Vec2 speech recognizer to write down stress as it transcribed audio. They used the recognizer to label Voice of America Ukrainian broadcasts and trained ByT5 on the resulting text. ByT5 predicts stress from written context and can therefore be used when the input has no accompanying audio.

The strongest overall benchmark results came from combining ByT5 with Ukrainian Word Stress. The dictionary system supplied a pronunciation when it could select one, and ByT5 filled in when it could not. That combination reached 92.5% word accuracy and 52.0% sentence accuracy, where a sentence counts as correct only when all its evaluated words are correct. A different dictionary setting, which chooses the first listed variant if ambiguity remains, did best on the ambiguous-word measures. That difference matters because a system can improve its performance over all words while still struggling with the spellings for which sentence context is most important.

The phonemizer uses ordered rules for changes such as consonant deletion, assimilation and variation in how a sound is realized. Reviewed by linguists, its outputs had a word error rate of 1.23% on a manually assembled pronunciation set and 3.07% on words drawn from the VESUM dictionary when only errors judged clearly incorrect were counted. The VESUM figure rose to 6.15% when disputed cases counted as well. The authors release the benchmark, datasets and code in the `lang-uk/ukrainian-tts-preprocessing` project. Their results measure stress placement and pronunciation transcription, which are intermediate outputs on the way to synthesized speech.

## Deep dive: Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii Paniv. Context-Aware Lexical Stress Prediction and Phonemization for Ukrainian TTS Systems // UNLP 2025

This paper uses sentence context to predict Ukrainian word stress and tests pronunciation rules for converting written Ukrainian into speech sounds. · about 32 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 ordinary spelling leaves a decision to make

Lexical stress is the prominence attached to a syllable within a word. Ukrainian spelling normally leaves the position of that prominence implicit. The omission presents little difficulty when a reader already knows the word and can tell which grammatical form or meaning the sentence requires. For a text-to-speech front end, the same information has to be inferred before a stressed transcription can be passed downstream. The written form may identify the place where the decision is needed without supplying the information that settles it. [Speech & spoken language](https://md.research.elamur.ai/free/en/topics/speech/)

The paper distinguishes several reasons a spelling might be associated with different stress positions. The castle in за́мок and the lock in замо́к illustrate heteronymy. A heteronym has the same written form as another word but a different pronunciation. In this example the stress difference distinguishes meanings. In низови́ни and низовини́, both translated as “lowlands,” the distinction is grammatical. The forms exemplify nominative plural and genitive singular, respectively. The letters alone leave the choice open, but the role the word plays in the sentence can help settle it. This is how a problem in pronunciation becomes a problem in [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/), the structure and grammatical variation of words.

A different situation arises with ба́йдуже and байду́же, both meaning “indifferently.” The paper presents these as acceptable variations with the same meaning. Choosing between them has a different purpose from choosing between castle and lock. For a heteronym, the wrong placement can change the intended word. For a freely varying form, different placements can express the same intended reading. Any evaluation that assigns stress to written text has to contend with this distinction. A marked sentence provides an answer against which predictions can be scored, while the linguistic question of which forms are permissible may admit more than one answer.

These distinctions explain why the paper puts whole sentences at the center of its stress benchmark. A list of spellings can test how well a system recalls a common placement or generalizes to an unfamiliar form. A sentence can also test whether a placement changes when the same spelling has a different function. Including examples with both readings matters because a predictor that always returns the more familiar variant may look competent on an ordinary collection if the other reading seldom occurs. The benchmark design makes room for failures that an inventory of isolated words would miss. [Evaluation & benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

#### What existing stress predictors could use

According to the paper, Ukrainian stress assignment had traditionally relied on dictionaries and rules. Ukrainian Word Stress illustrates how a dictionary can be combined with sentence information. It uses part-of-speech tagging, which assigns a word a grammatical category such as noun or adjective. The spelling дорога can be the noun доро́га, meaning “road,” or the adjective дорога́, meaning “expensive.” In a sentence where the tagger can tell which category applies, it gives the lookup system a reason to select the corresponding entry. [Part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/)

The paper identifies two gaps in this approach. A dictionary needs an entry for the spelling it receives, so a word outside its vocabulary or a misspelled word can leave it without a candidate. And a grammatical distinction can resolve ambiguity only where the readings differ in features the system can identify. A tag that says a word is a noun has limited use when the competing readings are both nouns. It can still be possible to distinguish them by meaning or by a finer grammatical distinction. The point is that the evidence used by the lookup system determines which cases it can resolve.

Work on learned stress prediction addressed part of the coverage problem. The paper describes a recurrent approach that used phonemic word representations and a Ukrainian approach that learned from dictionary entries in their original written form. Such approaches can suggest a placement for an unfamiliar spelling because they learn patterns across examples. In the work discussed here they process individual words, so an unchanged spelling gives them the same input even when the surrounding words call for another reading. The authors also cite studies that specifically target pairs of homographs, or words with identical spellings. These use signals from context but, in the authors’ account, concentrate on limited sets of pairs and need substantial annotated data.

An earlier Ukrainian system took sentence context into account by training on text labeled with Ukrainian Word Stress. That created sentence-level training examples at scale. It also inherited the dictionary’s coverage when assigning the labels. The authors found a precedent for their own alternative in work on Bulgarian, where automatic speech recognition supplied stress annotations for training a predictor. A recording can supply a cue that the spelling leaves implicit: the speaker has already selected and pronounced one reading. Turning that cue into a reliable mark in a transcript is itself a learning problem, which is why the paper develops a separate labeling stage.

#### Why a phonemizer has work to do after stress assignment

Phonemization is also called grapheme-to-phoneme conversion, or G2P. A grapheme is a unit of writing, and a phoneme is a unit used to represent the sound pattern of a language. The paper’s output also records selected phonetic variants. In Ukrainian, the written form is generally a good starting point for this conversion. The difficulty is that a letter’s pronunciation can depend on its neighbors, several letters can represent a single sound, and a consonant present in the spelling can disappear in pronunciation. Correct stress placement does not perform these conversions.

Earlier G2P work surveyed in the paper includes explicit rules, statistical approaches and neural approaches. The authors say that Ukrainian systems have mostly used rules, in part because suitable pronunciation dictionaries are scarce and the inventories for writing and sound do not line up straightforwardly. Different rule implementations make different compromises. The authors describe a voicing rule broad enough to yield the wrong pronunciation for берегти, “keep.” They also describe a system that asks the user to change the spelling of certain words to signal an internal morphological boundary. In the authors’ account, [Epitran](https://md.research.elamur.ai/free/en/papers/mortensen-2018-epitran-precision-g2p-many-languages/) is an example of a simpler mapping that misses the sound changes at issue in their study.

Those examples show what the paper wants a preprocessing component to do. It should work with ordinary written input, including cases where the spelling gives an incomplete account of the pronunciation. It should make its treatment of those cases inspectable. The authors argue that a front end offers a place to make targeted pronunciation changes after a synthesizer has been trained. They also argue that a synthesizer left to learn the same regularities directly from text and audio would need more data and would make individual pronunciation decisions harder to inspect. These are motivations for the design. The experiments put the stress and phoneme outputs themselves under evaluation.

### The method, step by step

#### Establishing a reference for stress in sentences

The manually marked benchmark is the evaluation resource. Its annotations, the stress placements supplied by a native speaker, serve as the reference for scoring. The starting material came from 300 Wikipedia sentences and 438 sentences from Pluperfect GRAC. The authors used Wikipedia for encyclopedic language and GRAC for a wider range of styles. They kept unfamiliar spellings and misspellings because these are among the inputs that a practical system can encounter. Cleaning them all away would make it harder to observe what happens when a lookup fails. [Linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/)

The authors then identified 288 commonly used words whose spelling appeared only once in the starting collection and for which the Dictionaries of Ukraine listed alternative stresses. They wrote an additional sentence for each word using another stress placement. This added 288 sentences and gave the test examples in which the same string had to be pronounced differently. The criterion operated on words already represented in the collection. It supplied a counterpart for an observed reading, so the test could ask whether a system distinguished the variants instead of merely knowing one valid pronunciation for the spelling.

The resulting Ukrainian Lexical Stress Benchmark contains 1,026 sentences and 6,439 distinct word forms. A [word form](https://md.research.elamur.ai/free/en/concepts/word-form/) is the particular form that appears in text, so inflected forms can count separately. The dataset size in distinct written forms describes vocabulary breadth. It does not define the denominator of word-level accuracy, which is computed over eligible occurrences. A form that occurs in different sentences supplies different opportunities for a context-sensitive decision, even though its written characters are unchanged.

The additional sentences give an important property to the benchmark. Ambiguity is represented as a decision in a particular utterance, even when both possibilities occur in a dictionary. A list of variants is useful when deciding which words to test. To score a prediction, however, the evaluator needs to know which variant the sentence calls for. The authors use sentence annotation for that job. They use considerably more text, labeled by a different procedure, to train the predictor.

#### Teaching a speech recognizer to transcribe stress

The training strategy starts from speech because it contains evidence about the placement the speaker chose. The authors cite pitch, duration and intonation as cues available in the recording. Their method uses the acoustic recording as an input to transcription and adds the stress mark to the symbols the recognizer can emit. The recognizer can then produce text in which vowel prominence is made explicit, leaving a sentence that can be used to teach a written-text predictor. The recognizer is based on [wav2vec 2.0](https://md.research.elamur.ai/free/en/papers/baevski-2020-wav2vec-2-0-framework-self/).

To train that recognizer, the authors first needed examples pairing audio with written targets containing stress. They used Common Voice 19, with roughly 30,000 sentences distributed across training, development and test subsets. They took the available transcriptions and added provisional stress labels. These are pseudo-labels, meaning that the expected outputs for training come from existing automatic systems. The audio gives the recognizer evidence from actual pronunciations, and the provisional annotations specify the stress marks it is asked to write. [Common Voice](https://md.research.elamur.ai/free/en/papers/ardila-2019-common-voice-massively-multilingual-speech/)

Ukrainian Word Stress supplied the first pass of provisional labels. The authors used its `OnAmbiguity.Skip` setting. If the dictionary and grammatical disambiguation could select a stress, the tool inserted it. If the choice remained open or the tool otherwise failed to assign stress, Ukrainian Accentor filled the gap. The combination lets dictionary entries supply many of the labels while giving the pipeline a way to continue when lookup or disambiguation is insufficient. The filled-in labels are still automatic. In a difficult case, the intended label can differ from what the speaker actually said.

After the recognizer had been trained, the authors used dictionary lookup again as a post-correction step to refine the stress assignments. The uses of the dictionary occur at distinct points. Initially it helps construct written targets for training on Common Voice audio. Later it checks or corrects assigned stresses in the recognition pipeline. The resulting system can be applied to recordings beyond the starting dataset. Its ability to produce marked transcriptions on that material is what makes the training strategy scalable.

The authors next ran the speech pipeline on the Ukrainian Voice of America corpus, whose material is broadcast speech. They cleaned and filtered the resulting sentences. The collection they retained has approximately 135,000 stress-marked sentences and around 80,000 unique words. Calling this a synthetic stress corpus describes the provenance of its annotations. The underlying speech comes from recordings, and the transcripts used by the next stage carry stress marks generated through the recognition and correction procedure.

A useful way to follow the data is to distinguish what each stage sees. The speech recognizer sees audio and learns to emit text containing stress marks. The sentence-level predictor sees written text and learns to supply the marks in a new sentence. An acoustic cue can therefore influence the latter through its training targets, although there is no waveform for it to consult when it reads ordinary input. This division also explains why a benchmark annotated by a speaker has a role alongside the much larger automatically constructed training collection. It supplies an independently annotated set of written sentences on which to compare competing predictors.

#### Learning to mark written input

ByT5 is the text-to-text architecture used for stress prediction. The paper calls the resulting predictor ByT5 G2P, but the conversion it learns in this experiment is from written text to written text with stress marks. The separate, rule-based component supplies the transcription in speech sounds. ByT5 works with byte tokens, units of the encoded text. The authors chose this representation because adapting it to Ukrainian does not require a new inventory of language-specific text pieces. This is the point of their discussion of [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), the process of deciding which units a system receives as input.

Using a learning rate of 0, the authors ran 10 epochs of ByT5 training on Voice of America material annotated for stress.0002. An epoch is a pass through the training data. The learning rate controls the size of parameter updates during training. The text was normalized, which reduces differences in written presentation that are incidental to deciding stress. The expected output was the corresponding text with the appropriate marks. Learning to preserve the rest of the sequence is part of the text-to-text task, which helps explain why the authors report character error rate alongside the separate benchmark accuracies.

When processing a new sentence, the system splits it into chunks of up to 150 characters. The authors use this limit to manage the difficulty their encoder-decoder architecture has with long input. The encoder processes the input chunk, and the decoder emits its marked version. This arrangement supplies neighboring words to the predictor, but any clue in another chunk is beyond the input for that particular prediction. The output is then merged with the original text to recover capitalization, punctuation and special characters. This restoration lets the prediction stage operate on normalized text while returning the visible form of the input with stress marks added.

The authors also test a combined system. Ukrainian Word Stress retrieves possible entries and, when necessary, compares their grammatical features with the tags assigned in the sentence. Under `OnAmbiguity.Skip`, it leaves the word unmarked if the candidates cannot be resolved. The combined system uses the dictionary’s answer when the tool supplies one and takes the ByT5 answer for the remaining cases. Thus the dictionary and ByT5 do not vote on every word. The routing decision follows from whether the lookup stage returns an assignment.

The standalone setting `OnAmbiguity.First` changes the handling of an unresolved lookup. Rather than leaving the word unmarked, it selects the first stress variant among the candidates returned by the dictionary. This setting establishes a useful baseline because it can obtain a benchmark match without resolving the underlying question from context. It also gives an answer where skipping would leave no stress to score. The contrast between the two settings becomes important for interpreting the ambiguous-word results.

From speech-derived labels to Ukrainian pronunciation The steps in order.

#### Representing sounds before exporting them

The phonemizer uses a set of internal transcription symbols derived from Ukrainian letters. The system applies its rewriting rules to those symbols and then renders the result in the International Phonetic Alphabet, or IPA. The final rendering has a reported inventory of 52 symbols. Keeping an internal representation gives the rules a way to record intermediate changes before the result is presented in the final alphabet. For instance, a transformation can introduce a palatalization marker that a later rule can use. Palatalization is the modification commonly described in the paper’s examples as consonant softness.

The inventory makes choices about how much detail to show. It leaves out diacritics for differences such as dental versus alveolar articulation when those differences do not distinguish Ukrainian phonemes. The system nonetheless gives separate output symbols to the bilabial and labiodental realizations of Ukrainian в, represented by /w/ and /v/. These are allophones, meaning distinct pronunciations of what the paper describes as the same phoneme. The extra distinction records a feature the authors want the pronunciation transcription to retain.

The system also represents palatalized forms of consonants, including the groups discussed in the paper as hushing sibilants, labials and velars. These labels refer to properties of articulation. The transcription has to preserve the distinction because some rules change a consonant according to whether it or its neighbor is palatalized. For gemination, the lengthening associated with doubled consonants, the authors choose to represent a sequence of identical letters as a sequence of consonant symbols of the same quality. In життя, “life,” the doubled consonant is represented with repeated palatalized consonant symbols. This avoids adding separate categories for long consonants while preserving the repetition in the written transcription.

#### Applying a rule in the right environment

The authors implement the rules as Python regular expressions, which are patterns that can match strings of characters. The general form of a rule can be written as follows.

```
⟨L⟩ ⟨G⟩ ⟨R⟩ → ⟨P⟩
```

The angle brackets delimit the parts of the rule. L is the required left context and R is the required right context. G is the grapheme sequence to replace, and P is the replacement in the pronunciation representation. The arrow means that the system substitutes P for G when both contextual requirements are met. L and R are checked without being consumed by the match. This is what the paper means by using regular-expression lookarounds. The characters that license the change can remain available for other rules.

For instance, the paper illustrates the replacement of г by х in легко, “easy.” The rule can match the target consonant when the surrounding spelling fits the intended environment. This is a more specific operation than assigning the same replacement to every occurrence of г. It is also possible for a rule to delete a letter. In невістчин, meaning “daughter-in-law’s,” a rule drops a consonant from the cluster. The resulting neighbors then satisfy the conditions for another rule, which alters a sibilant. These operations explain why the ordering of the rule groups affects the output.

Ordered Python dictionaries hold the rules, which operate on the entire input string without prior tokenization. This is a description of how the program applies its patterns. The pronunciation decisions discussed and evaluated in the paper concern word-internal forms. A whole-string operation can implement word-level behavior when its patterns are written for that behavior. ByT5’s use of neighboring words to infer stress is a separate mechanism.

#### Following the ordered pronunciation changes

The rule sequence begins with mappings for particular letters and letter combinations. The paper includes я, ю, є, ї, ь, й and щ, as well as combinations such as дз and дж. The changes serve different functions. In щука, “pike,” the initial letter becomes a sequence represented internally by ш and ч. In яблуко, “apple,” initial я is rendered with a glide followed by a vowel. In синю, a form of “blue,” the intermediate representation puts a glide after the preceding consonant and then marks that consonant as palatalized. Starting with these mappings brings different spellings into a representation that later rules can inspect.

Consonant-cluster reduction comes next. A cluster is a series of consonants, and reduction removes a consonant from certain series. The paper shows a deletion in студентський, a form related to “student,” and in невістчин. A deletion can change more than the length of the representation. It can produce a pair of adjacent consonants that were separated in the spelling. A subsequent assimilation rule can then act on the new pair. Assimilation is a change that makes a sound share a property with a neighboring sound.

The next group handles voicing and devoicing. Voicing is the difference involved in pairs such as т and д or с and з. In боротьба, “fight,” the representation of the consonant before б changes from a voiceless to a voiced one. In зсипати, “pour,” the representation becomes voiceless at the corresponding boundary, producing repeated с symbols internally. The rule group therefore has to recognize environments in which adjacent sounds affect one another. A fixed sound for each letter would preserve the written distinction in those environments.

The sibilant group handles adjustments among consonants such as the sounds written с, ш and ч. In the paper’s example for “pilot,” the consonant before ч changes so the intermediate transcription contains repeated ч. In the example for “agree,” a sibilant changes before the reflexive ending. The system also has a rule group for assimilation of palatalization. In сьогодні, “today,” the internal representation shows a consonant taking on a softness mark before a palatalized neighbor. Both groups depend on local conditions, but they encode different properties of the sounds.

Allophonic rules come last in the regular schedule. In вовк, “wolf,” the internal representation shows the second в realized as a glide-like sound, written ў at this stage. In гілка, “branch,” the program marks a palatalized realization of the initial consonant. These rules illustrate why the symbol inventory includes distinctions beyond an undifferentiated letter-to-sound table. Their output depends on the conditions in the word and on the representation produced by earlier passes.

The ending -ться has an exception to the usual schedule. In робиться, “is being done,” the program converts this sequence to its phonemic form before the consonant-cluster reduction pass. The output at that point has repeated palatalized ц symbols. Placing the special case early ensures that the general treatment of clusters receives the intended intermediate form. The exception illustrates the role of timing in a cascade of rules. A pattern can be correct on its own terms and still produce the wrong result if another rule changes its input first.

#### Seeing the sequence in a single word

For шістдесят, “sixty,” the authors show each of several changes in turn. The program first replaces я with an intermediate form containing a glide and a vowel. It then represents the preceding с as palatalized. At this point the earlier part of the word still contains the written consonant sequence стд. Cluster reduction removes the middle consonant, leaving с next to д. Voicing assimilation changes that newly adjacent с to з. The allophonic pass marks the initial ш with its palatalized realization before the final conversion of symbols.

The example explains both why the authors use a sequence of passes and why they expose the intermediate representation. If the deletion leaves the wrong cluster, the later voicing rule sees a different environment. If the initial consonant is transcribed incorrectly despite the earlier steps being correct, the allophonic rule supplies a more specific place to look. The system gives a series of local decisions that can be inspected during error analysis. Any claim about which group contributes most to overall accuracy would still require a comparison between versions of the system.

The phonemizer runs with or without written stress marks. Stress can be supplied by the automatic predictor or by the user. The pronunciation rules do not explicitly select a change on the basis of stress, but a mark is still a character in the string that the rule has to recognize. The paper uses ле́гко and легки́й to illustrate the issue. The letters to the left of г can appear as ле́ or ле in the marked input. A rule that lists an exact prefix or root therefore needs to account for the possible written contexts. This is a point of interaction between the modules even when a rule’s linguistic rationale concerns consonants.

### Experiments and results

#### What each stress measure counts

The paper compares ByT5 with Ukrainian Accentor, Ukrainian Accentor Transformer and Ukrainian Word Stress. It tests the dictionary system under both First and Skip and also tests dictionary-first combinations with ByT5 and with Ukrainian Accentor. In both combined settings, the lookup system supplies a stress where it can, leaving the other predictor to fill in. The authors evaluate these systems on the same Ukrainian Lexical Stress Benchmark. This makes it possible to compare the results under the same sentence contexts, spellings and reference annotations.

The benchmark excludes words containing fewer than two vowels from the stress evaluation. Word accuracy is the share of eligible word occurrences with the correct mark. Sentence accuracy is the share of sentences with correct assignments on every evaluated word. A sentence with a single misplaced or missing stress fails that sentence-level test. These measures answer different questions. A front end can give correct stress for a large share of individual words while still leaving many sentences that need at least one correction.

The authors also give separate accuracies for ambiguous and unambiguous words. Their ambiguous class is defined by possible stress differences associated with meaning or inflection, and the unambiguous class contains word forms with a single listed stress. The classification uses the same dictionary as Ukrainian Word Stress. Thus the reported subsets reflect that dictionary’s account of which readings exist, even though the benchmark’s sentence references were manually marked. This distinction is important when reading the especially strong results that the lookup system obtains on the unambiguous subset.

The final stress measure is mean macro F1 over ambiguous word pairs. F1 combines precision, the share of predicted assignments of a class that are correct, and recall, the share of relevant assignments the system recovers. The macro averaging gives the reader a view across the ambiguous pairs rather than letting the most frequent outcomes stand in for success on every pair. It complements ambiguous-word accuracy. A predictor can recover a large share of occurrences by favoring one reading, while its performance across the competing readings remains weaker.

The speech-labeling pipeline has a separate evaluation on a held-out test subset. This is the stage that generates marks from recordings. After the dictionary post-correction described by the authors, the reported result is 93.81% word accuracy and 72.00% sentence accuracy, excluding words with fewer than two vowels. The ByT5 setup, in turn, reports a character error rate of 0.58% for the stress-marking task on the automatically labeled Voice of America material. The paper gives that figure in the training description without identifying a split for it. Character error rate describes errors over output characters. It has a different denominator and answers a different question from exact word or sentence stress accuracy on the manual benchmark.

#### Overall stress performance

ByT5 by itself reached 35.3% sentence accuracy and 87.7% word accuracy on the manual benchmark. Both figures exceed the corresponding results for Ukrainian Accentor, which reached 16.6% on sentences and 73.2% on words. Ukrainian Accentor Transformer reached 26.9% on sentences and 83.4% on words. The stronger standalone dictionary setting for the overall measures was First, at 41.5% sentence accuracy and 88.7% word accuracy. Skip reached 32.5% on sentences and 86.0% on words.

Sentence accuracy on the Ukrainian Lexical Stress Benchmark The dictionary with ByT5 fallback places every evaluated stress correctly in more sentences than any other tested setting.

**The numbers**

| System or setting | Accuracy % |
| --- | --- |
| Ukrainian Accentor | 16.6% |
| Ukrainian Accentor Transformer | 26.9% |
| Ukrainian Word Stress (Skip) | 32.5% |
| ByT5 | 35.3% |
| Ukrainian Word Stress (First) | 41.5% |
| Ukrainian Word Stress (Skip) with Accentor fallback | 48.8% |
| Ukrainian Word Stress (Skip) with ByT5 fallback (this paper) | 52.0% |

Both fallback systems finished ahead of the standalone systems on these overall measures. Ukrainian Word Stress with Ukrainian Accentor as the fallback reached 48.8% sentence accuracy and 91.9% word accuracy. Substituting ByT5 as the fallback yielded 52.0% and 92.5%, respectively, the highest reported sentence and word accuracies. The sentence results put practical weight on any unmarked or incorrect word. The word results show that a large share of decisions can be correct even when the sentence still contains an error.

The overall rankings also show why the standalone word result for ByT5 tells only part of the story. ByT5 is tested first on all types of words on its own and then only on the cases handed to it by the dictionary. The best combined score measures the final result of that division of work. It does not directly tell us how frequently the dictionary routed a case to ByT5, or how accurate ByT5 was on those specific cases. The results establish the benchmark performance of the combined procedure as actually tested.

#### Context-dependent and unambiguous words

Ukrainian Word Stress with First led the ambiguous-word results, with 64.3% accuracy and 47.3% mean macro F1. ByT5 with dictionary routing reached 61.0% accuracy and 46.7% mean macro F1. With Ukrainian Accentor as the fallback, the corresponding results were 59.1% and 46.3%. ByT5 alone reached 58.1% and 37.2%. The First policy can supply a listed variant even when its analysis cannot distinguish the candidates. Its lead on these benchmark measures shows that such a choice was often effective on the evaluation examples.

Mean macro F1 for ambiguous pairs on the Ukrainian Lexical Stress Benchmark Selecting the first listed variant when dictionary disambiguation fails gives the strongest mean score across ambiguous pairs.

**The numbers**

| System or setting | Mean macro F1 % |
| --- | --- |
| Ukrainian Accentor | 28.7% |
| Ukrainian Accentor Transformer | 32.4% |
| Ukrainian Word Stress (Skip) | 35.7% |
| ByT5 | 37.2% |
| Ukrainian Word Stress (Skip) with Accentor fallback | 46.3% |
| Ukrainian Word Stress (Skip) with ByT5 fallback | 46.7% |
| Ukrainian Word Stress (First) (this paper) | 47.3% |

On the unambiguous subset, Ukrainian Accentor Transformer reached 96.3%, ahead of ByT5 at 94.8%. Dictionary-derived training labels are the authors’ suggested explanation for the Transformer system’s advantage on this subset. The standalone dictionary systems each reached 98.6%, and both fallback systems reached 98.7%. The authors attribute the remaining errors in the dictionary’s own unambiguous class to inconsistencies in its entries and to a priority rule that can prefer capitalized forms over lower-case ones. High agreement on the subset is therefore compatible with failures on specific words.

The difference between rankings is meaningful. The combined ByT5 system is the strongest reported choice by overall exact word or sentence accuracy. Ukrainian Word Stress with First has the strongest reported scores on the subset where the written form can admit different stresses. The benchmark supplies both views because they test different aspects of a practical front end. Scoring the entire sentence gives weight to ordinary words as well as difficult ones. Scoring ambiguous pairs probes more directly whether the system handles the range of competing pronunciations.

#### Evaluating the phonemizer on reviewed words

The phonemizer evaluation uses a manually assembled set of 487 words and a set of 553 words selected automatically from the VESUM dictionary. The manually assembled set was designed to cover a wide range of sound combinations. Expert linguists reviewed both collections. The unit of evaluation is a word transcription. The reported word error rate, or WER, records a word as erroneous when its transcription is judged incorrect under the relevant scoring condition. The authors omit a phoneme error rate because they found at most a single error type in each affected word. The reported figures therefore describe the incidence of affected words, without measuring the size of each difference in phoneme symbols.

The manually constructed set yielded 1.23% WER. The automatically selected VESUM set yielded 3.07% when only incorrect transcriptions counted. It yielded 6.15% when the evaluation also counted controversial cases. The strict and inclusive figures for VESUM apply to the same rule system and word collection. The difference comes from which judgments are counted as errors. The manually assembled set excluded the controversial cases. The authors also report that abbreviations and words with complex consonant clusters were excluded from that set, which they suggest helps explain the low rate.

Word error rate under different scoring criteria on the VESUM selection Counting controversial transcriptions as errors raises the rate for the same rule-based phonemizer.

**The numbers**

| System or setting | Word error rate % |
| --- | --- |
| Clearly incorrect transcriptions only (this paper) | 3.07% |
| Clearly incorrect and controversial transcriptions | 6.15% |

The paper also reports 48.75% WER for a baseline that applies simple letter-to-phoneme mappings. The baseline row in the reported evaluation does not identify a separate test set, so the figure is best read as the authors’ reported baseline for the phonemization evaluation. The authors relate the high rate to the number of test words whose pronunciation requires changes that a letter mapping cannot express. The word-by-word judgments give examples of where the ordered system improved on that basic strategy and where its own treatment still falls short.

An incorrect transcription is one the reviewers considered inconsistent with established Ukrainian phonetic rules. In надзвонюватимемся, a form meaning “we will call,” the phonemizer produced a doubled z where the reference has a single z in the corresponding sequence. In ексдипломатів, “former diplomats,” it omitted the voiced g expected in the transcription. These examples show errors involving neighboring consonants even though the system has explicit machinery for assimilation and clusters.

The controversial category covers cases the authors treat as outside the current rule set’s explicit coverage. For Ваньчжоу, “Wanzhou,” they give a transcription with an extra sound in the relevant consonant sequence and indicate that a shorter realization is more accurate. In Держспоживслужба, the name of the State Consumer Service, the disputed choice is between two sibilants in the first part of the word. Such cases explain why the VESUM evaluation provides both scoring conditions. The reader can see how much the treatment of difficult judgments matters without confusing a change in the scoring rule with a change in the converter.

### What the ablations show

The paper gives no formal component-by-component ablation, but it does compare ambiguity policies, fallback predictors, pronunciation systems and scoring conditions, and it traces how several individual rules affect a word.

#### What changing the stress policy reveals

The cleanest comparison within Ukrainian Word Stress is between First and Skip. Both start with the same dictionary and use the same grammatical evidence where it can settle an ambiguity. They differ once multiple readings remain. First chooses a listed variant, while Skip leaves the stress unset. On the ambiguous subset, First scored 64.3% accuracy and 47.3% mean macro F1, compared with 42.3% and 35.7% for Skip. On the unambiguous subset, both reached 98.6%. The results match the intended point of intervention. The policy matters when a candidate choice remains unresolved.

Choosing a variant can take advantage of the distribution of readings in the benchmark. Some first-listed variants will match the reference regardless of whether they were chosen for a reason specific to the sentence. As a result, this comparison shows the value of supplying a candidate under the evaluation’s scoring rules. It cannot separate that benefit from the effectiveness of the contextual analysis shared by First and Skip. The cases where the tagger already resolves the word contribute to both settings.

The next comparison starts from Skip and fills the gaps. Its sentence accuracy was 32.5% by itself, 48.8% with Ukrainian Accentor supplying unresolved assignments, and 52.0% with ByT5 in that role. These settings give a comparison of two fallback options behind the same dictionary policy. ByT5 gives the stronger overall benchmark result as a fallback. Both combined systems get 98.7% on unambiguous words, which indicates that their difference in aggregate performance is not explained by one combination having a higher reported accuracy on that subset.

The two standalone learned predictors and the dictionary combinations also make clear why it is difficult to infer the source of every gain from the aggregate scores. ByT5 has access to surrounding text and learns from the broadcast-derived training collection. Ukrainian Accentor uses a different prediction setup. Replacing one with the other changes the predictor and what it has learned at the same time. The comparison cannot assign the gain specifically to sentence context, byte input or the method used to acquire training labels. The benchmark measures the behavior of the resulting systems with those choices bundled together.

A related distinction concerns First’s lead on the ambiguous measures. The winning overall combination calls ByT5 after Ukrainian Word Stress declines to make a choice. Some context-dependent cases may already have received an answer from the dictionary stage. The ambiguous-subset scores cover the final output, including those dictionary decisions. The scores therefore do not give a clean head-to-head test of how frequently ByT5 and a first-listed variant succeed on exactly the same unresolved cases. They establish which complete policy performs better under each reported measure.

#### What the pronunciation comparisons reveal

The letter-mapping baseline and the ordered phonemizer compare two approaches at the level of the complete system. The baseline lacks the transformations the authors describe for consonant clusters, assimilation and allophony. Its 48.75% reported WER supplies evidence that simple mappings miss many pronunciations in the evaluation. Because the ordered converter adds its transformations together, the comparison leaves the individual contribution of each rule group unknown. It also leaves open how often the rules succeed by interacting across stages.

The trace of шістдесят offers a narrower kind of evidence. Cluster reduction changes which consonants are adjacent, and the voicing rule then uses that changed neighborhood. That explains why the two rules work together for this word. The early treatment of -ться gives another case where the architecture anticipates an interaction. These examples justify inspecting rule order as part of the method. The paper gives no benchmark score with the passes reordered or with a rule group removed, so the trace cannot indicate how sensitive the overall WER is to those choices.

The two VESUM figures isolate a different factor. Holding the word set and system fixed, the reported WER moves from 3.07% for clearly incorrect cases to 6.15% when controversial cases are included. This is a direct comparison of evaluation criteria. The contrast between the manually assembled and VESUM sets changes more than the scoring condition. The words come from different selection procedures, and the manual set leaves out some difficult categories. It shows that the converter’s measured error rate depends on the vocabulary offered to it. It does not isolate the effect of cluster complexity or of any other property on its own.

### Limitations

#### Limits the authors state

The authors identify weak coverage of ambiguous words in the stress training material. Roughly 135,000 marked sentences provide a substantial amount of text for learning common patterns, but a large sentence count does not guarantee that different readings of a particular spelling are represented well. A predictor can therefore learn one use of a heteronym and still have little evidence about the contexts that favor another. The authors identify better representation of heteronyms as a direction for improving the approach.

They also identify dependence on automatic stress labels as a limitation. The labeling pipeline begins with provisional assignments, trains a recognizer and uses corrections from a dictionary. Errors can pass through that process into the targets used by ByT5. Audio supplies information a written dictionary cannot observe, but the recognizer has to learn how to connect that information to the annotation it should output. The results establish that the pipeline supplies data on which a competitive predictor can be trained. They leave the quality of labels for particular rare or ambiguous readings uncertain.

For phonemization, the authors describe the current system as word-level. It does not handle abbreviations or numerical expressions. The paper explains that such inputs can have irregular or ambiguous pronunciations that require analysis beyond the converter’s current scope. The ability to apply regular expressions to an entire input string does not amount to analyzing a sentence’s meaning or using morphology to expand an expression. The authors discuss sentence-level phonemization and evaluation on full passages of running text as future work.

The paper also identifies a maintenance cost. Adding rules makes the system more complex, and their effects can interact. The examples of successful rewrites explain why ordered application is useful. The same dependence means a rule introduced for one pattern can change the input another rule sees elsewhere. The authors also say that neither stress prediction nor phonemization addresses nonstandard varieties such as regional dialects. The results apply to the pronunciations and written material studied in the paper.

#### Limits that follow from the evaluation

The manually marked stress benchmark makes explicit choices about what kinds of difficulty to include. The added counterparts guarantee examples for particular ambiguous spellings. This is valuable for comparison, but it prevents interpreting the resulting aggregate score as a frequency-weighted estimate of errors in unrestricted Ukrainian text. A collection of everyday inputs could contain a different mix of ambiguous readings, unfamiliar words and sentence styles. The reported accuracy describes the benchmark’s mixture.

The annotation procedure also supplies evidence of a particular kind. A native speaker marked primary stress in context. The paper gives no measurement of agreement between annotators for the stress benchmark, and its treatment of freely varying stress is illustrated linguistically rather than evaluated as a separate category. A strict mark comparison is straightforward where context selects a different meaning or inflection. It is harder to interpret where more than one placement could be acceptable. The aggregate figures do not show how often that issue influenced the rankings.

There is a further qualification to the ambiguous and unambiguous subsets. Their definition comes from the dictionary used by one of the evaluated systems. The manually marked sentence still supplies the reference stress, so the two roles should be kept distinct. However, a word can enter a subset because of how that dictionary describes its possibilities. An alternative inventory of permissible pronunciations could draw the boundary differently. Results reported for the subsets therefore describe both the behavior of the predictors and the categories used to organize their errors.

The authors’ choice to retain misspellings and words outside the vocabulary gives the benchmark some coverage of difficult inputs. The main results do not provide a dedicated accuracy for each of these groups. It is possible to compare systems on all eligible words and on the ambiguity categories. It is harder to determine how much of the fallback gain is attributable to previously unseen words, misspellings or known spellings whose readings could not be selected. Similarly, chunking at up to 150 characters bounds the context ByT5 can use at inference, but the study does not quantify the effects of placing clues across a chunk boundary.

For the pronunciation experiment, each test word supplies a judgment about a transcription. The word error rate conveys how frequently a word is affected and gives no weighting to the effect a pronunciation difference might have on listeners. The manually assembled set favors phonemic variety in the words it includes and leaves out some difficult categories. The VESUM set includes cases for which a separate judgment category was useful. Together they offer more information than either one alone, but they do not establish the distribution of pronunciation errors in continuous text.

Finally, the paper motivates both components through text-to-speech quality, while its experiments evaluate the intermediate text and phoneme outputs. It reports no listening comparison of speech produced with different preprocessing settings. The improvements can therefore be stated directly as more correct stress assignments on the benchmark and a low rate of word transcription errors on the reviewed pronunciation sets. How those differences affect intelligibility, naturalness or perceived prosody in a complete synthesizer remains an empirical question.

### What came after

No later citing work is documented for this paper. Its own conclusion describes the follow-up questions left by the experiments. On the stress side, the authors call for training material that represents more of the competing readings of heteronyms. On the pronunciation side, they plan to evaluate complete transcriptions of running text and consider extending the converter to decisions that require sentence context. Those directions follow from the paper’s two main evaluation gaps, the handling of rare readings in stress prediction and the behavior of pronunciation rules beyond reviewed words.

## Cite

Cite as Anastasiia Senyk, Mykhailo Lukianchuk, Valentyna Robeiko and Yurii Paniv. 2025. Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii Paniv. Context-Aware Lexical Stress Prediction and Phonemization for Ukrainian TTS Systems // UNLP 2025. UNLP 2025.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2025.unlp-1.11](https://doi.org/10.18653/v1/2025.unlp-1.11)

```bibtex
@inproceedings{senyk2025anastasiia,
  title = {{Anastasiia Senyk; Mykhailo Lukianchuk; Valentyna Robeiko; Yurii Paniv. Context-Aware Lexical Stress Prediction and Phonemization for Ukrainian TTS Systems // UNLP 2025}},
  author = {Anastasiia Senyk, Mykhailo Lukianchuk, Valentyna Robeiko and Yurii Paniv},
  booktitle = {UNLP 2025},
  year = {2025},
  doi = {10.18653/v1/2025.unlp-1.11},
  url = {https://doi.org/10.18653/v1/2025.unlp-1.11}
}
```

> 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)
