Elamur Research

NoWaC: a large web-based corpus for Norwegian

Paper · 2010 · Emiliano Raul Guevara

Summary

Researchers who need a large body of Norwegian writing face a problem that a web browser can hide. There is plenty to read online, but pages reached individually are a long way from a collection that can be searched and counted systematically. Some repeat the same writing, some contain little beyond site navigation, and some are written in a different language from the one the researcher wants. The noWaC paper describes how a project based at the University of Oslo turned material from the Norwegian internet domain into a corpus, a collection of texts prepared for language research. The first version contains about 700 million tokens. A token counts an occurrence in the segmented text, so a word that appears repeatedly contributes each time it occurs.

NoWaC adapts the procedure used for the WaCky web corpora. It uses vocabulary drawn from Bokmål Wikipedia to find starting addresses through Google and Yahoo, then follows links within the .no domain. Automated searches yield about 6900 starting addresses. The crawl runs for 15 days and retrieves approximately 17 million HTML documents, including responses that report missing pages or other errors. The project screens documents by size and extracts the text from their markup. It then looks for repeated sequences of text to detect duplicates and near duplicates. At this step the collection contracts from 11.40 million documents to 1.17 million. The Norwegian crawl produces a larger initial archive than the published WaCky collections used for comparison, yet yields a smaller corpus.

A separate language filter addresses a problem specific to the collection. Bokmål and Nynorsk share many spelling patterns, and pages within .no can use either standard or another language. Tests on Wikipedia passages show that the language identifier has particular difficulty with this pair. After applying it to the crawl and keeping documents identified as Bokmål, the project retains 0.85 million documents. It is still deciding how best to label words with their grammatical categories and is preparing a resource that would let readers find inflected forms under a common dictionary form. These are further stages of linguistic annotation.

The paper also compares document counts for selected words against Google’s index. Under different assumptions about Google’s handling of duplicates, its estimated share of indexed Bokmål ranges from 3.15% to 15.79%. That range describes possible coverage by volume. The paper leaves a fuller assessment of the collection’s contents for future work. It also acknowledges that some of the steep loss during duplicate filtering may come from repeated code or other material left behind during text extraction. The project reports authorization to make the corpus available free of charge for non-commercial research.

Deep dive: NoWaC: a large web-based corpus for Norwegian

How noWaC built a large Bokmål corpus from Norwegian websites, what its filters removed, and how the paper estimated its coverage. · about 33 minutes to read

The problem and its context

Why researchers needed a larger collection

The paper begins with the practical conditions for developing language technology. Researchers need electronic material to build a system, adapt it to a language and check its performance. The relevant material can take several forms, from collections of ordinary texts to dictionaries and grammatical databases. These resources require work to assemble, and access to them can depend on copyright. The paper observes that languages with stronger commercial demand have accumulated more such resources. A team working in another language can inherit a promising technique and still face the task of assembling the evidence needed to make it work. This is the setting in which the paper discusses natural language processing.

The amount and scope of that evidence matter together. The paper points to systems that translate text and systems that find documents in response to a query. Both motivate the demand for large collections that extend across subject matter. A collection built for a narrow publishing context can be extensive while offering a particular kind of language. A general-purpose collection starts with a broader ambition. It can support work whose questions were still undefined when the texts were gathered. The paper uses machine translation as one example of this demand.

The other example concerns finding relevant material in large collections. Here the web has a double role in the paper. The demand for data comes partly from work on finding information, and an existing search service can also help a researcher locate documents to use as data. Search results supply leads for the collection, and the resulting corpus supplies text that can be studied under a more explicit selection procedure. The paper’s example of the first kind of work is information retrieval.

For a project choosing where to invest its effort, the attraction of web text is that the material already exists in electronic form. The project can spend its time finding, acquiring and preparing texts. It can also acquire a broad body of writing more quickly than a project that depends on arranging a fresh supply of electronic documents from individual producers. The collection still needs rules about what counts as a document and which documents count as evidence. A search for a construction or a word depends on those decisions because the collection determines which examples can be found. That dependency makes corpus construction part of the research method in corpus linguistics.

A collection for one written standard

The target of noWaC is Bokmål. The paper describes Norway as having ca. 4.8 million inhabitants and names Bokmål and Nynorsk as its official national written standards. It reports that about 85% of the population actively writes Bokmål. A corpus builder can therefore expect Bokmål to be prominent while still needing to distinguish it from another form of Norwegian writing. The paper emphasizes how much the standards share in their spelling. Many pieces of text can consequently offer weak evidence for choosing between them, even when the distinction matters to the research.

The account of dialect adds another dimension. The paper describes dialect as accepted in speech across settings and sees that tolerance extending into informal writing, including forums and social networks. For the collection, that observation creates a difference between the named target and what a crawler will find. A classifier assigns a written standard on the strength of the text it receives. Informal writing can contain forms that make the assignment less straightforward than it would be in an edited article. The project’s use of a national domain helps locate material in the relevant online setting, while the language decision still has to be made from the document.

The paper also identifies North Sami as the largest regional minority language in Norway and reports ca. 15,000 speakers. The stated ambition extends to dedicated collections for Nynorsk and North Sami. NoWaC itself addresses Bokmål. The separate projects proposed for the other languages reflect the way the paper frames the collection problem. Each corpus needs enough writing for its target and a way to recognize that writing in the sources that are reachable.

Existing resources and the precedent for web collection

Norwegian already had a range of spoken and written corpora in the paper’s account, with both national standards represented. Many of the collections had under 50 million words. The main exception discussed is Norsk Aviskorpus, a growing corpus made from newspapers. The paper reports its size as 700 million words and describes access through a dedicated interface for non-commercial use. An interface can support the searches its authors provide. Research involving other operations on the contents needs a form of access that lets the researcher carry out those operations. The paper identifies that restriction as part of the case for a new resource.

The newspaper collection also clarifies what the proposed web corpus was for. Newspapers supply a particular publishing environment, while the new project sought a collection that could draw from the wider web. Its initial objective was a general-purpose corpus of 1.5–2 billion words. The intended scope was therefore both quantitative and editorial. The project wanted enough text for data-intensive work and a way to gather it across sources without defining the collection by newspaper publication.

The practical precedent was WaCky. The paper draws particularly on the procedure described for ukWaC by Ferraresi and colleagues and on the account of the wider WaCky project by Baroni and colleagues. Those projects supplied a sequence of operations that a new team could adapt, from finding useful addresses to removing unwanted material. NoWaC also uses a toolkit from earlier work on bootstrapping corpora from the web, called BootCaT.

The precedent gave the Bokmål project a starting point for choices about page sizes and text cleaning, as well as an expectation about attainable scale. Language identification required explicit attention in the new setting. The broader question was how the established procedure would behave when its target had a smaller online presence and shared a national domain with a very similar written standard.

Permission to build and distribute the resource

A research corpus involves several uses of the same material. The project acquires a copy, extracts text, prepares it for searching and intends to share the result. The paper discusses these activities separately from ordinary access to a webpage. It considers permission from each rights holder individually impractical for a collection with millions of documents. That creates a problem for the resource itself, since a collection that the team can technically assemble may still come with limits on sharing and research use.

The project reports obtaining authorization through a Norwegian provision that lets universities and other research institutions request permission to use protected material. In the paper’s account, the relevant conditions concern the rights holders’ own uses and economic interests. The permission is reported for this project. The planned arrangement was free access for non-commercial research, with distribution through WaCky and directly from the University of Oslo. The paper presents that arrangement as part of what makes the corpus a resource for other researchers.

The method, step by step

From search terms to starting addresses

NoWaC begins by finding promising parts of the web. The search engines supply initial addresses, called seeds, and a crawler visits sites starting from those addresses. This division gives the project a way to discover pages using evidence about their language before committing to a much larger collection job. The crawl can then gather material beyond the individual pages returned by a search. Later steps examine what it actually finds.

Building the noWaC corpus

The steps in order.

Building the noWaC corpusStep 1: Select distinctive Bokmål words from Wikipedia1. Select distinctive Bokmål words from WikipediaStep 2: Search for starting addresses and retain domain roots2. Search for starting addresses and retain domain rootsStep 3: Crawl HTML pages within the Norwegian domain3. Crawl HTML pages within the Norwegian domainStep 4: Screen document sizes and extract page text4. Screen document sizes and extract page textStep 5: Discard duplicates and near duplicates5. Discard duplicates and near duplicatesStep 6: Identify document languages and keep Bokmål6. Identify document languages and keep BokmålStep 7: Segment text and prepare grammatical annotation7. Segment text and prepare grammatical annotation

For the seed vocabulary, the project obtains Wikipedia text dumps for Bokmål and compares them with dumps for Nynorsk, Danish, Swedish and Icelandic. The detailed description says it selects the 2000 most frequent words unique to Bokmål within that comparison. Frequency makes it more likely that a search term will occur in accessible text. The comparison with the other Wikipedias gives uniqueness a specific meaning. It is a selection based on observed words in those collections, with no requirement to establish that a selected form could never occur anywhere in another language.

The paper’s outline calls the search vocabulary mid-frequency, while the detailed description gives the frequency ordering after restricting the candidates to words unique to Bokmål. The latter description specifies how words enter the list more concretely. The paper gives no separate frequency band or cutoff for interpreting the label in the outline. In either description, the search terms come from a reference collection, and their purpose is to locate initial web material. The vocabulary of the eventual corpus comes from the pages the crawl and later filters retain.

A search query contains 2 words chosen at random from the list. The combination is a tool for finding sites. The words need no particular grammatical relationship, and the procedure has no stage that checks for one. Using different combinations gives the searches different lexical points of entry within the same target standard. The project sends the queries to Google and Yahoo through their automated search interfaces.

The project saves up to ten URLs for a query. It reduces the collected addresses to root URLs, removes duplicates and keeps addresses in .no. Cutting a returned URL back to its root changes how the project uses the result. A page found through the search terms indicates a place from which to start, and the crawl can explore links that lead to material without those terms. Removing duplicate roots prevents repeated search hits for a site from becoming repeated seed entries.

The paper describes one week of automated querying, with an allowance of 1000 queries per day for each search engine. Its comparison table lists 1,000 seed pairs for noWaC and 6,891 seed URLs. The method description gives the seed total as about 6900. Query pairs and seed URLs count different things. A pair is an input to discovery. The address total describes the output after processing the results, reducing them to roots and applying the domain restriction.

Downloading pages within .no

The team uses the Heritrix crawler and supplies it with the filtered seed addresses. Heritrix proceeds through links with a multithreaded breadth-first strategy. In broad terms, breadth-first traversal expands through the available addresses at a given distance from the starting points before going deeper. Multiple threads let the crawler work on more than one part of its queue. The paper describes the traversal strategy along with the constraints under which it used it.

An address within .no can be eligible for the crawl. The archive keeps HTML and excludes other document formats. HTML provides the markup from which web browsers present pages, and the collection team treats that markup as input to a later text-extraction step. At this point the crawler is acquiring pages by location and format. It will leave the decision about whether their text is Bokmål to the language filter.

The crawler observes the exclusions that sites publish through robots.txt, and the paper specifies a 90 second pause before retrying a URL. It describes these choices as measures to limit disruption to the websites. They are part of the conditions under which the collection was obtained, since exclusions and scheduling govern which work the crawler can finish in the available time. The team stops the crawl after 15 days. The archive is the result reached under those conditions at that stopping point.

The paper distinguishes the addresses handled by the crawler from the HTML documents placed in the archive. It also distinguishes successful retrievals from HTML returned as an error response. An address can therefore contribute to the work done by the crawler without furnishing a usable page. Similarly, a response can contribute to the archive’s storage volume without containing the page the crawler sought. Those distinctions are carried forward into the collection figures.

Screening sizes and extracting text

The project keeps documents between 5Kb and 200Kb, following the earlier WaCky procedures it cites. This is a rule about the size of the downloaded document. It works before the project has a clean body of text for analysis. Page size can reflect both the text a reader wants and the code or formatting used to present it. A size filter is therefore an inexpensive way to narrow the archive before extraction, with acceptance defined by an observable property of the file.

The archive that goes into post-processing still consists of HTML. A page may include an article, menus, lists of links and instructions about the appearance or behavior of the page. The extraction tool has to find the portions that count as text for corpus work. NoWaC uses BootCaT for this step. The paper describes removal of HTML markup, JavaScript and CSS, along with such material as formatting and navigation links. It describes the goal as retaining the text of linguistic interest.

Consider the difference between the main text of a page and a menu reproduced throughout the same site. A researcher looking for a word in running text would usually want each relevant passage in which it occurs. Counting every copy of the menu would also count the site’s repeated presentation choices. Extraction addresses that problem before frequencies are calculated. It also affects document selection, because the next stage compares documents using the sequences of text that extraction leaves behind.

A repeated passage can be genuine article text or a feature of how articles are delivered. From the perspective of a sequence comparison, both are repeated material in the input it receives. That makes the boundary between extraction and duplicate detection consequential. An upstream decision about what to keep can alter whether a pair of pages meets the downstream rule for removal. The paper returns to this dependency when explaining the sharp contraction of the archive.

Removing repeated and nearly repeated text

The next BootCaT script checks for duplicates and near duplicates through contiguous sequences. A duplicate repeats a document, while a near duplicate can preserve much of its wording in spite of changes in parts of the page. Comparing short sequences gives the script something to match even when the full documents differ. Such a sequence is an n-gram.

The duplicate script uses 5-grams. The paper gives a strict threshold: when the overlap exceeds 1/25 of the 5-grams under the script’s comparison, the pair qualifies as duplicate material. The removal decision applies to both documents. For example, if each of two pages contains a long shared passage interspersed with different material, the rule can reject both on the basis of their overlap. Its outcome depends on the shared sequences and the criterion, regardless of which version a human reader would choose to preserve.

The paper specifies the sequence length, the threshold and the consequence for both members of a qualifying pair. It gives less detail about the calculation within the script. The description leaves open, for instance, the exact denominator used when documents have different amounts of text and how repeated occurrences of a sequence within a document enter the comparison. The reported criterion describes the decision the project used. An exact reconstruction of the script’s behavior would need those additional details.

The policy also gives a specific meaning to the count after filtering. It is the number of documents that survive the configured rejection rule. If the tool detects repeated versions of a piece of writing and removes them all, that piece of writing can disappear from the surviving collection. Thus the step affects both the amount of material and which language examples remain available for study.

Identifying a document’s language

The team applies language identification after duplicate filtering. It uses Damir Cavar’s trigram algorithm. A trigram is a sequence of three adjacent elements. The general classification idea is that short patterns recur at different rates in different languages, so the patterns observed in a new passage provide evidence for a language assignment. Evidence from many such patterns can accumulate across a document. Closely related spelling systems make the task harder because many patterns offer evidence for more than one class.

The project trains the identifier on Wikipedia for 16 languages. It chooses languages on the basis of a relationship with Bokmål or contact with it. The set includes both Norwegian written standards and other Nordic languages. It also covers languages farther from Bokmål and includes Northern Sami. The collection team can thus allow several alternatives to Bokmål when classifying documents, including alternatives it regards as likely to occur in the domain.

In the strongest reported training setup, the input consists of 1Mb of randomly chosen Wikipedia lines. Evaluation uses one hundred article passages for each language, with each passage measuring 5 Kb. The training data provide the examples from which the procedure learns language patterns. The evaluation passages let the project compare the assigned language with the known language of the passage. The paper’s reported language scores refer to that evaluation setup.

The application to the crawl operates on whole documents. The procedure classifies the text left by extraction, and a Bokmål decision makes the document eligible for the final collection. Placing classification after cleaning means that the identifier uses the text that survives those earlier decisions. The post-filter document count records the number admitted as Bokmål by this procedure. It has a different evidentiary basis from the evaluation scores, which depend on passages with known labels.

Segmenting and annotating the retained text

The pipeline places tokenization after language filtering. Segmentation supplies the units that can be counted or labeled. The paper includes tokenization in its procedure and gives final totals for tokens and distinct forms. It gives more implementation detail about the problems of grammatical labeling than about the rules for separating units in the text.

The next stage assigns grammatical categories to occurrences. A researcher searching by category can then ask for a pattern involving a verb or a noun, for example, rather than supplying every word that could fill the position. The paper treats the tool choice as a practical as well as a linguistic question. A tool has to analyze text accurately enough for the intended use and also process the volume of text in the collection. This stage is part-of-speech tagging.

The established Oslo-Bergen tagger poses difficulties for the project. The paper describes it as relatively slow, unable to handle large text files and distributed in binary form without the possibility of modifying it. The team trains statistical alternatives on the Bokmål material it has. This creates a second set of constraints. The newly collected text is very large, while the text available for teaching a tagger to assign categories is comparatively scarce. The paper reports preliminary results and leaves the tool choice open.

The project is also preparing a large list of tagged dictionary forms. A dictionary form, or lemma, can stand for several inflected forms encountered in the corpus. Linking those forms to the same entry lets a search retrieve them together and lets frequency analysis bring their occurrences under a shared heading. The work of assigning those links is lemmatization. The paper anticipates a release with tagging and lemmatization, with the preparation of both still in progress at the time described.

Estimating the size of the comparison collection

The comparison with Google takes place outside the construction pipeline. It asks how the finished corpus might relate in size to a much larger index that the project can query but cannot directly count in tokens. The authors use mid-frequency words as probes. For each word, they compare the number of documents found by Google with document counts in noWaC before and after duplicate filtering. A document frequency counts documents containing the word. Many occurrences of a word inside the same document still contribute a single document to such a count.

The first ratio uses the search index and the raw noWaC count:

S = G / R

Here, S is the scaling ratio for a word, G is Google’s document frequency for that word and R is its document frequency before duplicate removal in noWaC. The slash indicates division, and the equals sign defines the ratio from those counts. The ratio expresses the size of the Google count in units of the raw noWaC count. The reported average for the selected words is 24.9.

The second ratio compares the local collection at different stages:

D = R / C

Here, D is the duplicate ratio for a word, R is its pre-deduplication document frequency and C is its post-deduplication document frequency. Again, the slash denotes division and the equals sign gives the definition. A larger ratio indicates a larger contraction in the count of documents containing that word. The paper reports an average duplicate ratio of 7.8.

The authors expect Google to do some duplicate removal and assume that it removes duplicates less aggressively than noWaC. They vary the weight on the duplicate ratio because they lack a direct measurement of Google’s practice. In the prose, they give weights of 0.1, 0.25 and 0.5. A weight stands for an assumption about the amount of duplicate removal in the index relative to the project’s own filtering.

The paper describes the token estimate in prose as a product. Written in symbols, that description is:

E = T × S̄ × (D̄ × w)

Here, E is the estimated amount of Google-indexed Bokmål in tokens, T is noWaC’s final token count, S̄ is the average scaling ratio, D̄ is the average duplicate ratio and w is the weight. The overbars indicate averages across the word probes, the equals sign gives the stated relationship and the multiplication signs join the factors. The parentheses identify the weighted duplicate ratio.

The paper’s results table reports a falling external token estimate as the weight rises. The multiplication described in the prose would instead yield a rising estimate for fixed positive values of the other factors. The reported scenarios therefore need to be read as tabulated outcomes. The description and table together leave the exact calculation unresolved.

Experiments and results

What the crawler obtained and what the filters retained

The largest input to the study is the crawl itself. The project reports approximately 90 million URLs processed and a total of 1 terabyte crawled. The downloaded archive of about 17 million HTML documents occupies 550 gigabytes. About 13.5 million documents are successful page responses. The other responses include pages reporting that the requested material could not be found and other messages from servers. Processing an address, acquiring an HTML response and obtaining a successful page are consequently distinct events in the accounting of this run.

After screening for file size, the paper reports 11.4 million documents for post-processing. The archive at that point is the input to text extraction and duplicate detection. Once the duplicate rule has been applied, the document count is 1.17 million. The language filter brings it to 0.85 million. Duplicate detection marks the largest reported document loss among these stages. The counts describe retention at the stated checkpoints. The paper gives no separate document total that would isolate losses from extraction before the duplicate rule takes effect.

The corpus comparison table records 0.69 Bn final tokens and 6.0M types for noWaC. A type is a distinct observed form, while tokens count each occurrence of every form. The same expression can therefore contribute repeatedly to the token total and once to the type total. The two measures answer different descriptive questions. Tokens indicate the volume of segmented text available for study. Types indicate the variety of observed strings under the segmentation used. The paper reports totals and leaves the composition of the types open, including how much of the inventory comes from spelling variation or unwanted material.

The Norwegian benchmark for scale is Norsk Aviskorpus. Its stated size is 700 million words in the background discussion. The paper treats noWaC as comparable in size and says that building it took a small fraction of the time invested in the newspaper collection. This is a comparison of how much material projects obtained and what kinds of sources were available to them. A corpus built from online newspapers has a defined publishing context, and the web collection goes through a different route to select its documents. The paper gives no matched quality test between the collections.

How noWaC compares with the WaCky corpora

The main external comparison uses the published WaCky figures for German, Italian and British English. These are corpora built using the methodological family that noWaC aimed to follow. They provide a practical reference for amounts collected and retained. The study compares files, bytes, tokens and types at identifiable stages. It does not have a common test set on which one corpus can score better at a language task.

Final token totals for noWaC and the published WaCky corpora

NoWaC retains the smallest volume of text even though its raw archive was the largest.

Final token totals for noWaC and the published WaCky corporadeWaC: 1.27deWaC1.27itWaC: 1.58itWaC1.58ukWaC: 1.91ukWaC1.91noWaC (this paper): 0.69noWaC (this paper)0.69
The numbers
System or settingbillion tokens
deWaC1.27
itWaC1.58
ukWaC1.91
noWaC (this paper)0.69

The direction in the chart concerns corpus volume. For a particular research question, the useful evidence depends on the language and contents of the collection. The chart addresses the project’s aim of reaching a comparable scale. The large initial acquisition does not translate into a final Bokmål token total of the same order as the largest of the comparison corpora in the table.

The differences are especially informative when followed through the checkpoints. The raw crawl sizes are 398GB for deWaC, 379GB for itWaC, 351GB for ukWaC and 550GB for noWaC. At the document-size checkpoint, deWaC has 4.86M documents, itWaC has 4.43M, ukWaC has 5.69M and noWaC has 11.4M. Thus noWaC has the largest archive by raw storage and the most documents after the size screen. At that point its recorded storage is 22GB, so the lead in file counts is a separate observation from its lead in storage.

After near-duplicate filtering, deWaC has 1.75M documents, itWaC has 1.87M and ukWaC has 2.69M. NoWaC now has 1.17M. Its archive at this stage measures 5GB. This checkpoint places the reversal during the cleaning of the archive and the application of the duplicate rule. For the extra language-identification step that noWaC reports, the comparison table gives no corresponding counts for the other corpora. The Bokmål corpus has already fallen below them in document count at the previous checkpoint.

The paper interprets the contraction as evidence that the downloaded material contains many repeated patterns, with machine-generated content a possible major source. The count supports the observation that the procedure rejects many candidate documents. Explaining how those repeated sequences arose requires information about the contents or construction of the pages. The comparison table describes sizes and gives the point at which noWaC’s yield diverges most sharply from the earlier collections.

How well the language identifier distinguished the standards

The classification evaluation uses the Wikipedia article passages with known languages. The paper says some results approach 100% accuracy and emphasizes that Bokmål and Nynorsk are the hardest pair to tell apart. It gives separate precision, recall and F-measure figures for these classes. Precision asks, among the passages assigned a given class, how many belong to it. Recall asks, among the passages belonging to a class, how many the identifier assigns to it. F-measure combines information from precision and recall in a single score.

For Bokmål, the reported precision is 1.00, recall is 0.89 and F-measure is 0.94. In the evaluation, the evidence for the accuracy of Bokmål assignments is stronger than the evidence that the identifier recovers all available Bokmål passages. This matters because the project uses a Bokmål label as an admission decision. If some target material receives another label, it is left out even when the passages selected as Bokmål are correctly identified.

For Nynorsk, precision is 0.90, recall is 1.00 and F-measure is 0.95. Here the stronger measure is recovery of the known Nynorsk evaluation material. The precision figure shows that the set assigned to Nynorsk also includes passages belonging elsewhere. Taken with the paper’s description of confusion between the standards, the scores give a better picture of the selection problem than the combined scores alone. A complete table of which class each wrongly assigned passage goes to is absent, so the figures have their clearest meaning at the level of the reported classes.

The same procedure then assigns languages to the deduplicated crawl. The paper reports that 72.25% of those documents are identified as Bokmål and 16.00% as Nynorsk. It gives 05.80% for English, 02.43% for Danish and 01.95% for Swedish. These are proportions of documents classified into each named language after earlier filters have operated. This measurement shows how the language filter handles the material it receives. The known-label evaluation and the classification totals describe different populations of text.

The proportions also show why the language filter affects final corpus size. A rule that retained all documents left after deduplication would accept a substantial body of material that the identifier assigns to other languages. The project uses the classifier to enforce its particular target. In the case of Bokmål and Nynorsk, the observed difficulty on the evaluation passages remains relevant to how precisely that decision can be understood on the crawl.

Preliminary tagging performance

The project reports about 120,000 words of Bokmål training material for grammatical labeling. Its preliminary accuracy figures compare TnT and SVMT. The metric is the reported accuracy of part-of-speech assignments. The paper gives the figures in the context of choosing a tagger and does not specify the complete training and evaluation split for these experiments.

Preliminary Bokmål part-of-speech tagging accuracy

SVMT has the higher reported accuracy in a close comparison between the systems under consideration.

Preliminary Bokmål part-of-speech tagging accuracyTnT: 94.32TnT94.32SVMT (this paper): 94.40SVMT (this paper)94.40
The numbers
System or settingaccuracy %
TnT94.32
SVMT (this paper)94.40

The marker indicates the highest reported accuracy in this comparison. The project was still considering which tool to use. It judges the reported results below the standard of the best available tagging and supplies no directly comparable score for the Oslo-Bergen tagger in this experiment. The operational difficulties of using that established tagger are a separate part of the selection problem. The figures are preliminary evidence about alternatives and leave the performance of an annotated release open.

These results also establish how far the paper has progressed in preparing the resource. It can give a corpus size and show the output of language selection. It can report promising grammatical taggers and a plan for preparing lemma information. The paper anticipates finishing annotation after the work it describes. A user interested in the unannotated text and a user interested in grammatical searches therefore have different evidence available about the first version.

Estimated coverage of Google-indexed Bokmål

The word probes make the coverage analysis concrete. For bilavgifter, the paper gives a Google document frequency of 33,700. The noWaC frequency before duplicate removal is 1637, and the frequency after it is 314. For mekanikk, the corresponding counts are 82,900 for Google, 3266 for raw noWaC and 661 for deduplicated noWaC. The third example, musikkpris, has frequencies of 16,700, 570 and 171 in those same collections. These are counts of documents containing each word. The loss of a document can change the frequency of more than one probe, and repeated uses of the same probe in a retained document count once toward its document frequency.

Each example connects the local cleaning stage to the search-index comparison. The Google count establishes the external point of reference for a particular word. The two noWaC counts reveal how much the frequency depends on which version of the archive is used. There is a decline through duplicate removal for each illustrated probe. The scaling method combines the average relationships from the selected words with assumptions about Google’s treatment of repeated material.

The table gives scenario weights of 0.10, 0.25 and 0.50 and reports weighted duplicate-ratio entries of 0.78, 1.97 and 3.94, respectively. At the first weight, the estimated Google-indexed amount is 21.8 bn tokens. The middle weight gives 8.7 bn, and the highest gives 4.3 bn. Each estimate supplies a possible denominator against which the final noWaC token count can be compared.

Estimated noWaC share of Google-indexed Bokmål by duplicate weight

The estimated share rises when the scenario assumes more duplicate removal by Google.

Estimated noWaC share of Google-indexed Bokmål by duplicate weightWeight 0.10: 3.15Weight 0.103.15Weight 0.25: 7.89Weight 0.257.89Weight 0.50 (this paper): 15.79Weight 0.50 (this paper)15.79
The numbers
System or settingestimated share %
Weight 0.103.15
Weight 0.257.89
Weight 0.50 (this paper)15.79

The marker identifies the setting with the highest estimated coverage. The paper associates that setting with the duplicate assumption in the earlier scaling work it follows. The outcome is conditional on the external index and the weight. The same final corpus appears in every row. The different percentages arise because the settings give different estimates of the total volume to which it is compared.

According to earlier estimates cited in the paper, the figures for the WaCky collections were 3% for German and 7% for Italian. That provides context for the authors’ view that the Bokmål collection captures a substantial portion of what can be found in its comparison index. The figures concern an estimated share by volume. How well the corpus covers a kind of writing, a construction or a rare word depends on the sources represented within that volume.

What the ablations show

The paper reports no component-removal ablation under fixed conditions, and instead offers counts at successive stages, a comparison with earlier corpora, language and tagging evaluations, and a sensitivity analysis of estimated coverage.

Locating the loss in the construction pipeline

The most informative comparison for the construction method is between the material entering and leaving duplicate processing. At the start of post-processing, noWaC has more documents than any of the three WaCky collections in the comparison. It has fewer after near-duplicate filtering. It also undergoes a separate reduction at language identification, once the reversal has already occurred. Taken together, those checkpoints make the duplicate stage and the extracted text it receives the immediate places to look when explaining the unexpectedly small yield.

The checkpoints show what happened with the chosen filter. They leave the effect of a different threshold or a policy of preserving a representative document unmeasured. They also leave open what would happen if text extraction were more effective at removing site material. Since the duplicate detector works on the product of extraction, overlapping content can be genuine repetition or a remnant of how pages are presented. The contraction alone cannot tell the two apart.

The earlier corpora show why the contraction is striking. A related procedure can have a different yield with a different web and language setting. The comparison combines differences in source populations with any differences in how the procedure is applied. The authors relate the Norwegian outcome to the amount of linguistically relevant content a small speaker community can supply. The cross-corpus figures establish the difference in retained volume, while that explanation remains an interpretation of the observed result.

Reading the language and tagging comparisons

The separate language scores disclose a direction of error that would be easy to miss in the F-measures. For the corpus builder, the main distinction is between including the wrong material and losing wanted material. The Bokmål figures show complete precision in the reported Wikipedia evaluation with lower recall. The Nynorsk class has its strongest result in recall. This pattern makes close distinctions between standards a meaningful concern even when the aggregate scores look encouraging.

That finding applies directly to the known-language passages tested. The study provides no separate comparison between accuracy on those passages and accuracy on extracted text from the crawl. Nor does it report a corpus built with an alternative language identifier for comparison. The evidence supports the need to pay attention to Bokmål–Nynorsk confusion and gives the direction of the class-specific errors in the test. The accuracy of the same decisions across the full set of retained pages remains unmeasured.

The TnT and SVMT comparison addresses the narrower question of reported tagging accuracy for available alternatives. The two results are close, and the higher figure goes to SVMT. Speed, file handling and the size of the training supply remain part of the choice the authors discuss. The comparison therefore informs one criterion for selection without resolving the operational decision.

Varying an assumption about the external index

In the coverage calculation the paper changes one stated assumption while holding the observed corpus and the word-frequency comparison in place. The resulting movement in estimated coverage shows how much the conclusion depends on the assumed extent of Google’s duplicate filtering. This is a sensitivity analysis of an inference about the index. It leaves the corpus itself as collected and cleaned.

The value of the exercise lies in seeing how the same frequency evidence supports different coverage figures under different premises. The scenarios establish neither which premise describes Google’s practice nor how likely any scenario is. They give the paper grounds for a claim about approximate scale under specified assumptions. The range is especially important because the paper cannot derive the external total by directly summing the running text in the index.

Limitations

Limits the authors acknowledge

The paper says that a full qualitative assessment is premature. Its clearest results concern how much material survives the procedure. Those results leave open the make-up of the retained collection and its usefulness for individual research purposes. The authors expect unwanted material to remain, including possible machine-generated pages. The decision to filter aggressively does not give the retained corpus a measured purity level.

The paper also recognizes a possible fault upstream of duplicate removal. Its discussion credits a reviewer with pointing out that the extraction stage may leave sequences of HTML or similar material in the input to the duplicate script. The script can count those sequences as if they were text. With repeated page structure across documents, that could produce rejections the team would not want. The paper identifies refinement of this part of the procedure as work for later versions.

A related limitation concerns language assignment. The authors explicitly identify Bokmål and Nynorsk as the close pair that gives the identifier trouble. The error matters because a choice between these classes affects whether a document enters the corpus. Better results on languages with more distinctive patterns offer little evidence about that particular boundary.

The authors also describe the scaling estimates as rough. They cannot measure Google’s duplicate policy and have to supply assumptions about it. The paper’s broader assessment that the corpus is representative rests partly on the share suggested by these estimates. The directly evaluated quantity is more specific: an approximate fraction of Google-indexed Bokmål by token volume under the tabulated scenarios. The authors leave the size and growth of linguistically relevant online content as questions for further research.

Finally, the paper describes tagging and lemmatization as ongoing. It reports the results it obtained with candidate taggers and says those results are below established tagging quality. The available training text is small relative to the collection the project wants to annotate. A forecast for the availability of an annotated version does not provide a measurement of that version’s accuracy.

Limits that follow from the collection design

The priorities of the crawl define its reach. Search-derived roots favor sites discoverable through the query vocabulary and available through the search services. Following links broadens the acquisition beyond the returned pages, with coverage depending on what can be reached from the seeds under the crawler’s rules. The paper does not compare seed lists or show how different search terms affect the subject matter of the pages eventually retained.

The .no boundary excludes Bokmål writing beyond that domain. The HTML rule excludes other document formats. The size screen excludes documents outside its stated range before the project has extracted their main text. Some material left out by these choices could be useful for studying language. The paper reports the rules and the observed yield, with no inventory of the usable writing beyond those boundaries. The fixed duration also makes the results those of a particular bounded run. They leave open what further crawling would add after the existing sources and repeated material have been accounted for.

The duplicate policy raises a question about the composition of the surviving text. A corpus with repeated variants collapsed to a representative would preserve some content that can disappear when both documents are rejected. Repeated passages can also be shared by pages with substantial independent writing around them. The paper gives no manual assessment of rejected pairs to measure the prevalence of these cases. It is consequently hard to infer the amount of valid writing lost, or to tell how much the collapse owes to copying, generated pages or extraction errors.

The assessment of language accuracy has its own boundary. Wikipedia passages make it possible to test on known examples under consistent conditions. The cleaned crawl can contain informal writing, passages of uneven length or material written in different languages within a page. A whole-document decision gives limited information about such mixtures. With no reported manual check of a sample of crawl classifications, the assigned proportions describe the filter’s output. They do not provide a separate measurement of the proportions that a human review would establish.

There are also distinct meanings of coverage in the final results. The share of indexed text, the spread across topics and styles, and the number of independent writers answer different questions about a corpus. The paper speculates about potential writers using the population as a point of reference. That comparison illustrates why a count of documents can be misleading as an indication of independent writing. The study does not trace documents to distinct authors, so it cannot estimate author coverage from document counts. Nor does the word-probe estimate supply a breakdown by genre or topic. A common word can appear in many documents from a narrow range of sources.

The external comparison inherits the limits of the word sample and of the reported calculation. The paper illustrates the method with individual counts and gives averages, but says little about how much those averages vary across the sampled words. The scenarios rely on assumptions about the search index, and the mismatch between the direction described in the prose and the direction of the tabulated estimates limits reproducibility. The estimates can be reported as the paper’s scenarios, with their scope fixed by the external index, the word probes and the assumptions behind the table.

What came after

Later citing work takes up questions from different stages of the noWaC project. PaddyWaC, published in 2011, concerns web-corpus construction for Hiberno-English with minimal supervision. Its subject connects to noWaC’s use of automated discovery and processing to assemble a collection around a particular linguistic target. For noWaC, the target determined the seed vocabulary and the decision about which documents to retain. The later work asks how to build a web corpus for a different variety, with its own emphasis on the amount of supervision involved. The documented connection is its citation of noWaC. That relationship alone leaves open which tools or filtering rules carried over. PaddyWaC: A Minimally-Supervised Web-Corpus of Hiberno-English

Automatic Lemmatisation for Norwegian, published in 2026, takes up a task that the noWaC paper describes as being in preparation. Its subject is the automatic assignment of dictionary forms to Norwegian word forms. In noWaC, the planned lemma information would let users search together for inflected forms associated with a common entry. The later study makes that linguistic task its central subject and cites the corpus paper. The citation establishes a connection to noWaC’s work on Norwegian text resources. It leaves the later study’s use of the actual corpus, its training material and its results unspecified. Automatic Lemmatisation for Norwegian

These connections show the reach of the questions raised by the construction report. One concerns getting enough usable web text for a specified variety. The other concerns making Norwegian forms searchable and countable under their dictionary entries. The noWaC paper documents the acquisition and filtering in detail and shows where annotation still had to be developed.

Cite

Cite as Emiliano Raul Guevara. 2010. NoWaC: a large web-based corpus for Norwegian. Proceedings of the NAACL HLT 2010 Sixth Web as Corpus Workshop.

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

@inproceedings{raul2010nowac,
  title = {{NoWaC: a large web-based corpus for Norwegian}},
  author = {Emiliano Raul Guevara},
  booktitle = {Proceedings of the NAACL HLT 2010 Sixth Web as Corpus Workshop},
  year = {2010},
  url = {https://aclanthology.org/W10-1501/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/guevara-2010-nowac-large-web-based-corpus/