PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 17, 20260 citationsOpen Access

Building a Reproducible Mining Pipeline for heimskringla.no (MediaWiki) via HTML snapshots + the MediaWiki Action API: Whether the Heimskringla corpus (including the Frostaþingslög) can be searched automatically for an óðal–aþal lexical complex?

ANArvid Narimani

Key Points

  • To develop a reproducible method for mining the Heimskringla corpus for specific lexical complexes related to inherited land.
  • Created a three-stage process: URL enumeration, per-page acquisition, and text extraction.
  • Used the MediaWiki Action API to gather page data and handle page categories.
  • Preserved raw HTML snapshots of each fetched page with relevant metadata for future reference.
  • Established a comprehensive downloadable concordance of the óðal/aþal lexical complex with surrounding context.
  • Provided means to detect any changes in pages through per-page text hashing and revision tracking.
  • Enabled reproducible search and auditability through structured output formats like TSV and JSONL.

Abstract

Technical A reproducible, script-driven pipeline is specified for mining the MediaWiki corpus at heimskringla. no for attestations belonging to the curated óðal/aþal lexical complex. The workflow enforces a three-stage separation— (i) URL enumeration, (ii) per-page acquisition, and (iii) extraction plus matching—to isolate coverage decisions from network volatility and to preserve auditability. Corpus-wide coverage is obtained via the MediaWiki Action API using action=query a bounded category-harvesting mode is also supported. Each enumerated page is fetched once and persisted as a raw HTML snapshot with accompanying metadata (requested/resolved URL, timestamps, HTTP status, and captured revision identifiers). Text extraction is MediaWiki-aware, preferring the main content container and excluding predictable UI/editorial scaffolding; reference/notes strata can be separated and are excluded by default. Mining is performed against the derived clean-text layer using an invariant philological core (athalcore), while Heimskringla-specific adaptations are confined to span-safe keying normalization to reduce false negatives without rewriting evidential spans. Outputs include an append-only TSV concordance with KWIC context and stable character offsets, per-page text hashes for drift detection, and JSONL run manifests enabling resumable execution and revision-stable replay via captured oldid permalinks. Non-technical A practical method is presented for searching the Heimskringla website—an online library built on wiki software—for a specific family of Old Norse words related to inherited land and lineage (óðal/aþal). The approach is designed to be repeatable and trustworthy: first, it makes a complete list of the pages to examine; second, it saves an exact copy of each page as it was retrieved; third, it strips away menus, categories, and other website “scaffolding” so that only the real text is searched. The actual word-search logic is kept stable and unchanged, so results from different runs or different corpora remain comparable. Every finding is recorded with surrounding context and with enough provenance information to trace it back to the exact page version used, even if the website later changes. The end product is a transparent concordance—essentially a searchable evidence table—that supports philological analysis without relying on manual browsing or unreliable site-wide search boxes.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Arvid Narimani (2026) studied this question.

synapsesocial.com/papers/699405494e9c9e835dfd6188https://doi.org/10.5281/zenodo.18647092
Ask AI
Helpful
Bookmark
Share
View Full Paper