---
title: "Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of"
description: "UberText 2.0 makes a large collection of modern Ukrainian texts downloadable and shows how to maintain and export it for different research tasks."
canonical: "https://research.elamur.ai/free/en/papers/chaplynskyi-2023-ubertext2/"
---
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/chaplynskyi-2023-ubertext2/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of Modern Ukrainian at Scale // UNLP 2023 @ EACL

# Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of Modern Ukrainian at Scale // UNLP 2023 @ EACL

Paper · 2023 · Dmytro Chaplynskyi

**Authors:** Dmytro Chaplynskyi · **Year:** 2023 · **Venue:** UNLP 2023 @ EACL · **Licence:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

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

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

## Summary

A large collection of Ukrainian writing can be easy to search and still be difficult to use as research data. Some of the corpora Dmytro Chaplynskyi describes were available through a search interface, while some downloadable alternatives were smaller or had gone years without an update. UberText 2.0 addresses both access and maintenance. It makes a large collection of modern Ukrainian texts available for direct download and releases the software used to collect, check, annotate, and export them.

The sources include news websites, fiction libraries, public Telegram channels, the Ukrainian Wikipedia, and decisions of the Supreme Court of Ukraine. For sources carried over from UberText 1.0, the project collected and processed the material again. It uses Scrapy to handle acquisition, with a dedicated extractor for each source, and preserves document structure in Markdown where possible. MongoDB stores individual texts with their metadata. Linked records hold material such as sentence boundaries and tokens, the dictionary forms of words, and grammatical labels. These are forms of [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/).

The design lets the project reuse work it has already done. A researcher who needs complete documents can get a different export from someone who wants one sentence per line, without punctuation, or a list of frequent word sequences. An export can also select documents by properties such as source or publication date. When new texts arrive, the software can process the additions while retaining the annotations already computed for earlier documents. The paper presents this as a way to make regular releases practical.

After filtering, the paper reports 8,592,389 texts, 156,053,481 sentences, and 2,489,454,148 tokens, occupying 32 gigabytes of text. The collection before filtering contains 11,048,462 texts and 3,274,175,948 tokens. News supplies the largest share of the material recorded before filtering. The paper also describes uses of an early version for Ukrainian word representations, speech transcription, and other tasks. Its main evidence concerns the corpus and the work needed to deliver it. The software offers a starting point for collecting texts in other languages, with language-specific processing tools and source maintenance still required.

## Deep dive: Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of Modern Ukrainian at Scale // UNLP 2023 @ EACL

UberText 2.0 makes a large collection of modern Ukrainian texts downloadable and shows how to maintain and export it for different research tasks. · about 33 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

#### Finding text and obtaining a corpus

Ukrainian has more than 40 million speakers in the paper’s account. It also has a rich system of [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/), meaning that words take different forms to express grammatical distinctions. The author calls Ukrainian a low-resource language in the context of language technology. The shortage in question concerns the supply of publicly obtainable datasets suited to research. A language can have many speakers and a substantial written record while researchers still struggle to obtain a large, usable collection of that writing.

The paper treats direct access as a requirement in its own right. A corpus manager offers an interface for searching a collection and inspecting what the search returns. That serves a researcher who wants to find examples or examine usage. Work that needs to read the entire collection, extract documents with specific properties, or run its own processing has a different access requirement. For those purposes, a download lets the researcher operate on the data independently of the searches the interface supports.

This matters across the kinds of [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/) that motivate the paper. Large text collections can supply the examples from which [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) learn numerical representations of words. A Ukrainian corpus can also supply text for training a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/), a system that learns patterns in word sequences. Other applications named in the paper include translation, automatic transcription, and [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/). These examples explain the demand for data. The paper’s contribution is the collection and its processing infrastructure.

The literature discussed in the introduction offers several ways to work around a shortage of dedicated data. One is to use a multilingual system. The paper cites work on how tokenizers affect monolingual performance to explain why multilingual coverage alone can leave room for improvement on an individual language. Another is to take the needed language from a multilingual collection such as Wikipedia, Common Crawl, or OSCAR. A third is to gather text from the web for the task at hand. That last option gives researchers control over collection, while making them responsible for finding usable text, removing noise, and identifying the language of the material they have gathered. [How Good Is Your Tokenizer?](https://md.research.elamur.ai/free/en/papers/rust-2021-how-good-is-your-tokenizer/)

#### The choices available to Ukrainian researchers

The background places corpora on a spectrum. At one end are carefully assembled, relatively small collections, illustrated by Brown and the Ukrainian BRUK project. Their appeal lies in deliberate composition and attention to quality. At the other end are very large collections assembled with automated methods, illustrated by Common Crawl and OSCAR. The author presents both ends as useful. The demands of an individual research task determine whether a small, balanced sample, a large web collection, or a combination of sources will serve it. The work on OSCAR cited in this discussion also gives an example of an effort to improve the cleanliness and document organization of crawled material. [Towards a Cleaner Document-Oriented Multilingual Crawled Corpus](https://md.research.elamur.ai/free/en/papers/abadji-2022-towards-cleaner-document-oriented-multilingual/)

For Ukrainian, the paper’s comparisons illustrate why size figures alone gave an incomplete picture of what researchers could use. It describes Zvidusil as containing 2.8 billion tokens, largely gathered automatically, with its last update in 2017. GRAC-16, the General Regionally Annotated Corpus of Ukrainian, had nearly 1.9 billion tokens, extensive information about its texts, and updates twice a year. Both appear in the paper’s group of resources without direct download. GRAC-16’s metadata and update schedule show that a corpus can offer substantial capabilities even where its access arrangement differs from the one UberText sets out to provide.

The paper describes other forms of restricted access. A limited corpus manager provided access to approximately 120 million tokens in KUM, another name for the Ukrainian Text Corpus. The Ukrainian Web Corpus at Leipzig offered samples of up to 1 million words. Araneum Ucrainicum Beta had around 5,249 million tokens and required registration for its corpus manager. ukTenTen contained about 3,280 million tokens and offered access through a manager for subscribers. These are different restrictions. A sample gives the user a portion of the data, while a manager gives the user a way to query a collection. Neither number by itself describes the amount of material a researcher could obtain as files.

The Chtyvo Library corpus illustrates a separate issue. The paper describes 6.6GB of text produced by optical character recognition, the process of converting an image of printed writing into machine-readable characters. The author regards that material as mediocre in quality. A measure in bytes says how much storage the files occupy. It leaves open how faithfully the writing was transcribed. The distinction matters when comparing the practical value of text collections with very different origins and formats.

Brown-UK and UberText 1.0 appear on the downloadable side of the comparison. The paper describes Brown-UK as a carefully balanced, high-quality collection of around one million words. UberText 1.0 offered around 665 million tokens and had gone without an update since 2016. Its sentences had been shuffled. A shuffled sentence collection can still supply examples of how words occur within a sentence. Research that relies on the relationship between neighboring sentences has a different requirement, because that relationship is lost when the material is distributed as shuffled sentences.

#### The undertaking behind a release

The author argues that a corpus should make its commitments clear to its users. Those commitments include how the data was gathered, what users can obtain, what services or annotations they receive, and how frequently the collection is expected to change. Taken together, these conditions help a researcher decide whether the collection is suitable before investing in a study. They also make it easier to describe what was measured when different projects use nominally similar corpora under different access and processing conditions.

For UberText, the intended combination is scale, a downloadable release, modern language coverage, and a degree of quality control. The author also wants processed layers to be available alongside the text. A frequency list restricted to a grammatical category, for instance, requires a way to tell both which dictionary form a word belongs to and which grammatical label it received. Such a list is a different product from a collection of the original articles, although the two can draw on the same underlying documents.

The requirement to make the collection maintainable follows from what happened with UberText 1.0. In the paper’s account, making the original release demanded substantial manual work. The earlier architecture made it difficult to refresh material from its sources or produce it in a new format. Repeating that approach on a larger collection would carry those costs into every update. The new architecture therefore treats collecting a document, preparing its annotations, and deciding how to distribute it as separate stages. This distinction connects the paper’s access goal with its engineering goal. The download is the result of a pipeline that is intended to be run again.

### The method, step by step

#### Choose sources and collect their documents

The project begins with named sources. The news portion covers 38 websites, including national, regional, and industry publications. The paper’s use of *news* encompasses interviews, opinion pieces, and blogs alongside short reports and longer articles. A site is a source, while an article extracted from it is a document. That distinction lets the corpus record where a text came from and lets a later export select material from a particular publisher.

Fiction comes from two public libraries and includes novels, other prose, and some poetry. The social portion comes from 264 public Telegram channels supplied by TGSearch. The Wikipedia portion is drawn from a snapshot of the Ukrainian edition as of January 2023. The court portion contains decisions of the Supreme Court of Ukraine. These divisions organize the data by origin and give the editor a way to work on a portion of the corpus without treating the entire collection as one kind of writing.

The inputs arrive in different forms. News and library sources are crawled on the web. Wikipedia comes from a Wikimedia dump, a bulk copy obtained for processing. The project adapted a Wikipedia reader from gensim to deal with accented characters and to handle Ukrainian section names. The Telegram records come from a bulk dump rather than from repeatedly visiting individual posts. The court files were obtained through Court on the Palm as rich-text documents with a CSV index, a separate tabular file. The paper reports that Ukraine’s State Judicial Administration first published the decisions on the National Open Data Portal.

Scrapy provides a common framework for bringing this material in. A spider is the piece of code that knows how to collect from a source and identify the useful parts of its records. The project writes a dedicated spider for each source. It uses the same collection framework for the court, Wikipedia, and social portions even though their data arrives in bulk. A spider for a news website and one working through a dump face different inputs, but both produce records for the same corpus infrastructure.

From source documents to a corpus export The steps in order.

#### Extract the writing and keep track of its origin

A page served by a news website can contain the article, the title, navigation, suggestions for other reading, and messages inviting readers to subscribe. Even within the area occupied by the article, a publisher can insert a standard message that appears in many pieces. The project tries to remove such material during collection. The spider uses rules tailored to the source, including CSS and XPath selectors, which describe where to find elements in the structured representation of a webpage. The same mechanism can identify the title, locate the body, or skip a recurring element embedded in it.

This is the first place where the pipeline distinguishes useful text from noise. The subsequent language check would have little reason to discard a subscription message written in Ukrainian. A length threshold might even favor documents padded with such material. A collection rule can act on a different signal, namely the role the element has in a particular website’s layout. Its advantage comes from the information encoded in the rule. Its cost is that a developer needs to understand the layout and revisit the rule if the publisher changes it.

The project also distinguishes boilerplate from structure that belongs to the writing. Headings, subheadings, lists, and emphasis can help convey how an article or other document is organized. Where possible, the pipeline uses html2text to convert the selected HTML to Markdown. Markdown expresses some of those distinctions with readable text conventions. The result can retain, for instance, a heading and the paragraphs under it, while giving the project a practical way to derive an unmarked text version later.

That retained version represents the source writing as extracted by the project. Its relation to the website matters when interpreting the term *raw* in a possible export. The project has already selected the article area, removed some material, and converted the markup. A request for marked-up text retrieves the version preserved by that process. It can contain more of the document’s organization than the normalized text used by annotation jobs.

The document also carries metadata. The paper lists a title where one can be obtained, an author, a source or publisher, the original URL, a publication date, and such properties as categories, tags, and a main picture. These fields describe the document separately from the words in its body. A publication date can control an export of recent texts without becoming part of the text that the researcher analyzes. An original URL can help a reviewer trace a sample to its source. The contents of the available metadata depend on the input.

Some of the metadata is specific to a domain. Court documents can record the judge and geographic region. Those fields have a clear role in an export of judicial writing, while publications from other sources have their own useful descriptors. The project’s use of separate records also preserves the identity of documents through the pipeline. A long court decision, a Telegram message, and a news article each occupy a record while differing considerably in length and internal structure.

#### Store documents separately from the work done on them

The corpus uses MongoDB, a document-oriented database. A collection in this database is a group of records. Each subcorpus has its own collection of source documents, and the database permits records with different sets of fields. It can therefore store specialized metadata for court decisions without requiring the same data from a fiction library or a Telegram channel.

The paper also cites storage compression as a reason for the database choice. The corpus retains source writing and several processed representations, and the processing can add information for every token. Compressing the stored data helps manage those costs. The use of a compact representation for grammatical tags later in the pipeline serves the same purpose at a different level. One concerns how the database stores records, while the other concerns how much annotation the project writes into them.

The project keeps additional layers in separate collections and links their records to the document from which they were derived. A layer is a particular representation of a document or a set of observations about it. A normalized text layer describes the writing after cleanup. A token layer records the units into which the text has been divided. Other layers record dictionary forms and grammatical labels. The link lets the software find the corresponding source and processed material when building an export.

This design matters as soon as two users want different treatments of the same punctuation or markup. If the collection retained only a version prepared for one task, a later export might need to return to the source. Retaining the document and processed layers lets both users draw from the stored work. It also keeps the source metadata available to select records regardless of which layer an export uses. A researcher can ask for a recent subset and then request either marked-up documents or processed sentences from that subset.

The same distinction gives the editor a place to put a new annotation without rebuilding the corpus from its original websites. The author describes the possibility of adding layers, output formats, and filters. These changes have different costs. A new representation may require a job to calculate and store it. A new export format can often be built from information already stored. A filter on an existing metadata field can change the selection while leaving the underlying text and annotations in place.

#### Prepare the text for linguistic analysis

Once a batch is in the database, the corpus editor can launch preprocessing. This is the work that prepares texts for reuse across exports. The project removes Markdown for the cleaned text and normalizes such features as hyphens, apostrophes, and Ukrainian diacritics. It also addresses encoding problems and word wraps. A misplaced line break or inconsistent character can affect how a tool divides a word or recognizes its form. Normalization gives later operations a more consistent text to work with while the project retains the marked-up representation separately.

The paper attributes Markdown removal to the Python Markdown library. It uses nlp-uk-api, a wrapper over the nlp-uk library, for normalization, sentence segmentation, tokenization, and lemmatization. A wrapper provides the corpus pipeline with a way to call the language-processing component. In discussing transfer to other languages, the paper also identifies the Ukrainian component’s connection to LanguageTool. These details matter because the processing comes from language tools integrated into the project, while the corpus software supplies their inputs and stores their outputs.

The pipeline runs CLD3 to detect the language of a document. The stored result can be used at export time to select Ukrainian texts for which the detector has sufficient confidence. The source itself is an imperfect guide to document language. The author identifies Russian and English articles on some news websites as examples. Since detection happens during preprocessing and selection happens when an export runs, a text can be collected and receive a language assessment before the editor decides whether to include it in a particular release.

Sentence segmentation determines where sentences begin and end. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) divides the text into smaller units that later jobs can count or label. The project preserves punctuation in the tokenized representation. Keeping it at this stage gives the export job a choice. A text prepared for a task involving punctuation can retain it, while a particular export for word-sequence analysis can omit it. Sentence boundaries offer a separate choice about how to group the units. They let an export present a document as a sequence of sentences or place each sentence on its own line.

[Lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) assigns a dictionary form to a word as it appears in the text. That dictionary form is called a [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/). This layer is especially relevant to the reason the paper notes Ukrainian’s rich morphology. A count of surface forms can divide instances of the same lexical item among its different forms. A lemma count can gather those instances together. The two views answer different questions about usage. The source forms are useful when the distinctions among them matter, and the lemma view is useful when the unit of analysis is the underlying word.

For [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), the project uses a Ukrainian-tuned fork of UDPipe and the corresponding Ukrainian tagger. A part-of-speech tag describes the grammatical category assigned to a token, such as noun or verb. The project stores tags and grammatical features using [Universal Dependencies](https://md.research.elamur.ai/free/en/concepts/universal-dependencies/) conventions. The resulting layer can support an export that selects or counts words with a particular category. Its descriptions are automatic assignments produced by the Ukrainian tool.

The author notes that the written representation of a tag and its features can be much longer than the word receiving the annotation. Across the corpus, that makes the format of the annotation consequential for storage. A converter writes the tagging results in a more compact textual form. The processed results are then saved in their respective layers with links to the corresponding source document. The paper describes calling and integrating the existing language processors. It gives no training procedure for them and introduces no mathematical formula for the corpus pipeline.

#### Check the sources and inspect what the spiders return

The project applies different checks before, during, and after collection. At the source level, the social portion excludes channels that post only in Russian and channels that media-monitoring organizations classify as propaganda. At the extraction level, a spider tries to omit repetitive page elements. At the document level, the editor can use the language detector and length of the extracted text during export. These measures address separate decisions. The reason for excluding a whole channel need not be the reason for excluding an individual article from an otherwise useful website.

After a crawl, the spider automatically prepares samples. The paper describes taking the oldest material and items at the extremes of document length. It also includes records with no title or no body, together with a randomly drawn sample. Suspicious items can expose a problem directly. A short result might show that a spider found part of a page where the article should have been. A long result might prompt a check for unrelated writing captured with the article. Reviewing older material can test whether an extraction rule works on pages from earlier site layouts.

The random sample plays a complementary role. A document can have an ordinary length, a filled title, and a filled body while still containing the wrong section of the page. A review confined to outliers would have little chance of finding such a case on purpose. The combination of targeted and random examples gives volunteers several ways to discover defects. They review the samples and report problems in the project’s GitHub repository. The paper’s figures show a source overview and an interface with details and samples for an individual source.

A developer also checks the spider before a major refresh. This verification addresses a practical dependency of source-specific collecting. The design of a site can change while the articles remain available under the same publisher. At that point the question is whether the instructions still identify the right fields. The paper shows a spider management interface based on ScrapydWeb. Its role is to help operate the collection process, while sample review connects that operation to the content actually recovered.

#### Make a release from the stored material

Post-processing happens when the editor launches an export. The export job first has to determine which documents belong in its result. It can select a subcorpus, an individual source, or an interval of publication dates, and it can use other available metadata as criteria. The paper gives the example of an export restricted to recently published writing. The database can answer that request from the records and their dates without forcing the acquisition or annotation of those texts to run again.

Quality-related selection uses additional information. The project normally requires the title and body together to exceed 100 characters and takes texts that CLD3 identifies as Ukrainian with confidence. The author describes short or unfinished Wikipedia entries and foreign-language articles from news sites as reasons to apply such rules. The length of the title and body is a property of the extracted record. The language decision comes from preprocessing. Bringing both together during export allows an editor to apply a definition of the desired output on top of the data already collected.

The job then chooses the representation. A researcher may need the Markdown and original document structure. Another may need tokenized sentences stripped of punctuation. A third may want just the unique sentences or a lemmatized view. Each choice affects the unit a later program receives. Removing punctuation changes which units are counted. Selecting unique sentences changes how frequently repeated sentences appear in the export. Retaining the document version preserves relationships among passages that a sentence-only export may no longer expose.

The paper also describes frequency dictionaries built from [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/), sequences of successive tokens or lemmas. A frequency export aggregates occurrences drawn from the selected processed layer. Its computation happens when the export runs. This is a different operation from passing through the selected documents in a new format. The pipeline can reuse dictionary forms already assigned to words while still computing new totals for a requested subset. A list built from surface tokens and a list built from lemmas can consequently describe the same texts at different levels.

The export can compress the output stream with bzip2 or lzma2. This is compression of the material being delivered, separate from the compression available inside the database. The paper illustrates the export settings and the options for producing lemma frequencies in separate figures. The project also releases its corpus software through Lang-uk. The published implementation includes source management, corpus updates, statistics, quality checks, and export in addition to the code that gathers the text.

#### Build new releases from previous work

An incremental update uses the stored state of the corpus. After new texts are collected, their processed layers can be computed and linked to them. Under the procedure described in the paper, earlier texts that already have these layers need not go through the same preprocessing to accompany the additions in a release. An export can then draw its output from the combined collection. This saves the cost of processing every retained document simply because more material has arrived.

The editor can also distribute a new type of export between corpus releases. The author distinguishes publishing a new deliverable from adding fresh writing. If the database already holds the layer and metadata required, producing a differently filtered or formatted output can be a matter of running an export. A change to the sources, by contrast, can entail collection and quality checks before the relevant records are in place. The underlying design separates release work according to which inputs have changed.

The paper sets an annual release cycle as a goal. Versioned releases would let researchers identify the state of the corpus they used, especially if the sources or dated coverage grow later. The author also plans to add websites and social media sources to follow changes in Ukrainian vocabulary. These plans express what the new infrastructure is designed to support. The procedure the paper describes is collection, storage, processing, and export. Establishing a history of regular releases requires those steps to be carried out over time.

### Experiments and results

#### What the paper measures

The central results are measurements of the collection at different stages of the pipeline. The paper tabulates the number of sources, texts, and tokens in each subcorpus before filtering. It gives whole-corpus counts after filtering and reports the size of that text in storage. A text count records the number of documents, however different their lengths may be. A token count describes the amount of material at a finer level. A sentence count gives another view of how much processed material the collection contains.

The paper also compares UberText with earlier corpora, but these serve as reference points for scale, availability, or upkeep. They are not baselines in the sense of competing systems evaluated on the same task and test split. There is no reported training, validation, and test partition for the release. The comparisons identify what type of data a researcher can obtain and in what form. The demonstration of scale is the volume that passes through the pipeline and is reported for the export.

#### The inputs before filtering

News is by far the largest component by token count in the paper’s table. The news records span 2000-2023 and come from 38 sources. Before filtering, that portion has 7,208,299 texts and 2,172,526,177 tokens. The numbers describe the news category with its broader mix of writing, including articles, interviews, and opinion. They give the amount of material captured under that category, instead of a separate total for each journalistic form.

The fiction portion contains 23,796 texts and 253,321,894 tokens before filtering. The paper records no time span for this subcorpus. Its material comes from two libraries. Fiction has the smallest text count in the table, yet its token count exceeds that of the social portion. Because the two statistics count different units, the ordering of subcorpora depends on whether the reader is asking about documents or about the volume of text in them.

The court portion covers 2007-2021 and contains 111,658 decisions counted as texts, with 285,252,442 tokens before filtering. The table treats this bulk collection as a single source. The Wikipedia portion is also counted as a single source. Its entry covers 2004-2023, with 2,819,395 texts and 499,603,082 tokens before filtering. The time span in the table describes the material counted, while January 2023 identifies the snapshot used to acquire it.

The social portion spans 2018-2022. For its 264 Telegram sources, the paper gives 885,314 texts and 63,472,353 tokens before filtering. It contributes the fewest tokens among the subcorpora despite having the largest listed source count. In this table a source can be a Telegram channel, a website, or a bulk collection. The source count conveys how the acquisition was organized, and the token count conveys the amount of language material it obtained.

Token counts by subcorpus in UberText 2.0 before filtering News supplies the most tokens, and Wikipedia is the next largest source category.

**The numbers**

| System or setting | tokens |
| --- | --- |
| News (this paper) | 2,172,526,177 |
| Wikipedia | 499,603,082 |
| Court | 285,252,442 |
| Fiction | 253,321,894 |
| Social | 63,472,353 |

The chart compares volume under the same unit. The ordering has a direct consequence for how to read the corpus description. The combined dataset includes several settings in which Ukrainian is written, and those settings make unequal contributions to what will be seen when the texts are pooled. The smaller sources still matter when used as separately selectable subcorpora. A researcher interested in court language, for instance, can work with that material as its own dataset even though news determines much of the volume in the combined collection.

The date ranges add another distinction. The table gives news the earliest starting year of the subcorpora for which it reports a span, and the social material covers a narrower interval. The dates support selection and description of source coverage. They give no assurance of evenly spaced observations within each interval. The author’s proposal to filter by publication date relies on dates stored on documents. The headline time spans by themselves leave the internal distribution of those dates open.

#### The collection after filtering

Before filtering, the table reports 11,048,462 texts and 3,274,175,948 tokens for UberText 2.0 as a whole. For the collection after post-processing and filtering, the paper gives 8,592,389 texts, 156,053,481 sentences, and 2,489,454,148 tokens. It reports that the filtered text occupies 32 gigabytes. These are counts for the full collection at the respective stages. The table does not assign the filtered totals to individual source categories.

Total token count before and after filtering in UberText 2.0 The filtered release retains a smaller body of text after the export applies its selection rules.

**The numbers**

| System or setting | tokens |
| --- | --- |
| UberText before filtering | 3,274,175,948 |
| UberText after filtering (this paper) | 2,489,454,148 |

Here the starred row marks the delivered collection. The larger input count measures the amount of text available before filtering. The lower output count measures the amount remaining under the release’s selection procedures. As a comparison of corpus sizes, this gives the reader the scope of the input and output. The numerical direction of the change gives no score for the quality of the retained writing.

The distinction also resolves a discrepancy in how the counts are described in the paper. Its abstract couples 3.274 billion tokens with 8.59 million texts and 32 gigabytes. In the detailed table, the corresponding token scale is assigned to the collection before filtering, while the corresponding text count is assigned to the one after filtering. The corpus description associates the storage figure with the filtered text. The exact counts labeled by stage in the body of the paper are therefore the basis for describing the released collection.

The filtered sentence total is useful for understanding what the pipeline offers to work that uses sentences as inputs. The count describes the release, under its processing, as a whole. It leaves open how many distinct sentences an export would have after removing repeats. The paper describes unique sentences as an export option. The headline count gives the size of the filtered collection in sentences, while the size of a specific transformation would depend on what that export selects.

#### What the comparisons establish

UberText 1.0 is the most direct predecessor. The paper puts its size at around 665 million tokens and describes a release made up of shuffled sentences. UberText 2.0 recrawled sources that it held in common with the earlier corpus and organized the new data as individual documents with linked information. The comparison therefore concerns more than the totals. The revised release can supply document structure and information needed to select by source or other metadata. The old release provides the historical reference for the scale and format of what had previously been downloadable through the project.

Other corpora in the related-work discussion illustrate why access is important to the comparison. The paper lists Araneum Ucrainicum Beta and ukTenTen among large Ukrainian collections with access through a corpus manager. It describes GRAC-16 as offering substantial metadata and frequent updates. Those strengths remain relevant to users who want to search for usages and examine examples in an interface. UberText’s result is a corpus of substantial size that a researcher can download and process independently. The study offers no matched comparison of duplicate rates, annotation quality, or genre coverage across those collections.

The paper reports that exporting all subcorpora takes around 24 hours on hardware the author describes as modest. This is an observation about a complete export using the prepared data. Most of the reusable linguistic processing has already happened by that point. The timing gives a sense of the delivery operation as implemented. The paper does not give the hardware specifications, repeated timing runs, or a comparable measure of the cost of crawling and preparing the entire corpus from scratch.

#### What researchers did with the preview

The paper reports practical uses of a developer preview. One group of applications concerns representations of Ukrainian text. The author describes building Ukrainian Flair embeddings and using them in compact systems for part-of-speech tagging and [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), the task of identifying mentions such as names in running text. The paper also reports using the preview to train fastText word vectors. These outputs use text from the corpus to learn representations that can be applied to other language-processing work. [Contextual String Embeddings for Sequence Labeling](https://md.research.elamur.ai/free/en/papers/akbik-2018-contextual-string-embeddings-sequence-labeling/)

The corpus also supplied text for Ukrainian speech transcription and punctuation restoration projects. The speech application used it to train compact language predictors for a system concerned with written outputs from speech. Punctuation restoration is the task of predicting punctuation in text where it is missing. These applications illustrate why retaining punctuation in the corpus and offering a choice about whether to export it are consequential. Written text with punctuation can supply examples for learning it, while a project with a different input requirement can omit it through export settings.

The author describes using the preview to train Ukrainian GPT-2 systems of different sizes and adapt them for tasks expressed as instructions. Another project took sentences mined from the corpus to adapt multilingual sentence representations for [word sense disambiguation](https://md.research.elamur.ai/free/en/concepts/word-sense-disambiguation/), the task of identifying the sense a word has in context. This latter use makes the unit of extraction particularly clear. A project can take sentences relevant to its task without needing to adopt the entire downloadable corpus as a single input.

Separately, UberText shared material with GRAC to extend its coverage of modern writing. In that collaboration, corpus texts reach linguists, translators, and students through the sort of corpus manager that the paper treats as a different form of access. The sharing shows that direct distribution and managed search can serve different users of some of the same material. It also illustrates a practical use of preserving source texts and their metadata beyond the immediate set of downloadable exports.

These examples establish that projects made use of early access and that different projects could take different units of text from the collection. When the paper describes an application favorably, it does not provide matched baseline scores or specify a controlled comparison on the final corpus release. Consequently, the preview reports demonstrate use. The detailed quantitative evidence in the paper remains the size and composition of the corpus, the totals before and after filtering, and the time reported for an export.

### What the ablations show

The paper contains no formal ablation experiment. It offers a before-and-after comparison for the collection as a whole, a breakdown of its sources, a comparison with the earlier UberText release, and a description of the checks used to inspect crawled data. Those analyses describe the effect of applying the pipeline as a whole and the kinds of errors its components are designed to address. They do not isolate the effect of removing or replacing an individual component.

#### What filtering changes

The most direct comparison holds the underlying collection in view at different processing stages. The numbers show that the material delivered after filtering is smaller in both texts and tokens. Reading this as a comparison of retained material is important. A decrease can arise when an export excludes documents on language or length grounds. The totals do not say which of those criteria accounts for particular exclusions, or how much each source contributed to the decrease.

Some quality measures precede the recorded before-and-after comparison. The spiders are already designed to extract article content and omit recurring page elements when they gather the material. The social collection also applies its source-level criteria. The unfiltered totals in the paper describe the collected corpus before its documented export filtering. They are not counts for a separate crawl that gathered the whole webpage, used no source rules, and was evaluated against the project’s normal spiders.

The pipeline’s design explains why individual comparisons would require more information. A change in the number of retained documents would say how much material a filter excludes. To judge whether those were the intended exclusions, a reader would need an independent account of what the documents contained. For language detection, this would mean knowing the language of examples near the decision boundary. For the length rule, it would mean inspecting useful short writing as well as records that are short because extraction failed or the source text was unfinished. The paper describes the reasons for the rules and reports their joint operating context.

#### What source statistics and samples reveal

The composition statistics show that subcorpora differ depending on the unit of measurement. A collection can have many sources while producing relatively few tokens, and a subcorpus with comparatively few texts can still contribute a large block of writing. The contrast between Telegram posts and fiction is the clearest case in the table. Document counts provide a view of how many records the project has organized. Token counts provide a view of how much linguistic material they supply. Neither count directly measures the range of vocabulary, the quality of the text, or the importance of a source to a particular task.

The spider samples are an analysis of possible failure cases in an operational sense. A missing title invites a check of how the spider finds metadata. A missing body invites a check of article extraction. Very old pages can reveal whether a rule built around a current layout still works on archived material. The random draw creates an opportunity to see failures outside those categories. The paper presents the procedure and interfaces for examining such examples. It does not report how many samples showed defects or compare the results of sample-based review with a separate manual assessment.

The new UberText is also compared with its predecessor through differences in architecture and deliverables. Keeping documents and linked layers makes different exports possible, and storing earlier work makes incremental processing possible. These are consequences of what the software retains and exposes. The paper reports no timed comparison with the old architecture when producing an equivalent export. The reported export time characterizes the new pipeline in operation without providing a measure of the engineering gains attached to any one design decision.

### Limitations

#### Limits the author identifies

The reuse of the software in other languages depends on the availability of language-specific components. Sentence segmentation, tokenization, and lemmatization rely on Ukrainian processing supplied by nlp-uk and its associated tools. Automatic grammatical annotation relies on the Ukrainian UDPipe setup. The author points out that another language may require a suitable wrapper or a different library, mentioning SpaCy as a possible component to integrate. The overall arrangement can be reused when the new components can produce the representations the pipeline needs.

That dependency matters even for an apparently simple output such as a list of frequent lemmas. Its usefulness depends first on getting the writing out of the source, then on identifying units and assigning dictionary forms that fit the target language. The project supplies storage and export machinery for those assignments. The author explicitly leaves the acquisition or integration of appropriate language tools as part of transferring the method.

The paper also identifies a need for expertise in data retrieval and engineering. Source-specific extraction requires a developer to understand the relevant websites or bulk formats. The project’s practice of checking spiders before an important update recognizes that prior extraction rules may stop working as source layouts change. Automation reduces repeated work once those rules and workflows are in place. It leaves ongoing work in obtaining inputs, checking results, and maintaining the connections to sources.

The ethics statement describes an effort to preserve authorship when possible and the author’s view that collecting the texts is compatible with fair use and Ukrainian copyright law. It discusses categories such as ordinary press information and official judicial documents when explaining that position. The project also offers to remove texts at the request of authors or rights holders. That is the release team’s stated position and response policy. From a reader’s perspective, the release’s availability and the provenance of an individual item remain separate questions about the collection.

#### Limits visible in the design and measurements

The term *modern Ukrainian* describes the period and intended coverage of the resource. The collection’s contents are also the result of specific source choices. The pre-filter statistics show that news supplies the bulk of the tokens, while the other portions contribute different volumes and cover different periods. The paper does not test how closely the combined distribution matches Ukrainian writing or language use more broadly. The corpus supports studies of material from its documented sources, and a broader claim about contemporary usage would depend on what a study can establish about its own sample.

The source spans also need care in work on change over time. Newer and older parts of a selected export may contain different mixes of sources or kinds of document. A shift in observed word frequency could then reflect the available material. The database’s dates and source fields make it possible to separate those influences in a study. The corpus paper gives time spans and describes those fields, while leaving a like-for-like analysis of linguistic change to subsequent research.

The language and length filters define a practical selection rule. The paper does not report an annotated evaluation of CLD3 on these sources, a detailed account of confidence thresholds, or an error rate for the selections it makes. Short Ukrainian records and short extraction failures pose different cases for a length rule even when their character counts are similar. Material that mixes languages also raises questions about how a document-level classification should be used. The paper motivates its criteria with examples of the inputs it encounters and reports the collection produced under its approach.

Similar limits apply to the annotations. The paper names the tools and describes how their outputs are stored. It supplies no independent accuracy measurements for sentence boundaries, tokens, lemmas, or grammatical labels across the corpus. This leaves open whether the tools behave as reliably on informal social posts as on news or judicial writing. Storing the source text alongside the annotations lets researchers inspect the relationship between an assignment and the writing it describes. Such inspection would supply different evidence from the counts reported for the release.

The paper’s option to export unique sentences should also be read at the level at which it is described. It is a way to choose one form of output. The paper gives no measure of repeated text across the whole collection, no separate count of sufficiently similar documents, and no estimate of joint coverage between sources that may carry related writing. The overall token count is therefore a measure of volume in the release. A study concerned with distinct evidence would need to characterize the output obtained under its chosen export settings.

Finally, the preview applications show that researchers can use the texts in several ways. The corpus paper does not compare the downstream results of training with and without UberText, or against equally sized alternatives. Its findings on source composition, filtering, and exports support claims about what is available and how it was prepared. The expected improvements to downstream work and the planned annual update cycle remain prospects described by the author. Demonstrating either over time would require evidence beyond the initial corpus release.

### What came after

The documented projects belong to the developer-preview period. The corpus paper thus establishes that UberText was already contributing to Ukrainian word representations, speech transcription, punctuation restoration, and sense disambiguation by the time the release was described. Post-publication follow-up is unverified.

## Cite

Cite as Dmytro Chaplynskyi. 2023. Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of Modern Ukrainian at Scale // UNLP 2023 @ EACL. UNLP 2023 @ EACL.

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

```bibtex
@inproceedings{chaplynskyi2023dmytro,
  title = {{Dmytro Chaplynskyi. Introducing UberText 2.0: A Corpus of Modern Ukrainian at Scale // UNLP 2023 @ EACL}},
  author = {Dmytro Chaplynskyi},
  booktitle = {UNLP 2023 @ EACL},
  year = {2023},
  doi = {10.18653/v1/2023.unlp-1.1},
  url = {https://doi.org/10.18653/v1/2023.unlp-1.1}
}
```

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