Introduction
Parliamentary records serve as the "black box" of a society, capturing the raw dialectical confrontations and ideological shifts that define a nation's history. For bilingual societies, these records are even more complex, reflecting the intricate relationship between linguistic identity and political power. In the Basque Country, where the isolate language Basque (Euskara) coexists with Spanish, parliamentary discourse provides a unique window into these dynamics. However, until recently, researchers lacked a large-scale, annotated resource to study this intersection.
The BasqueParl corpus addresses this gap. It is the first large-scale, bilingual corpus of Basque parliamentary transcriptions, spanning nearly a decade (2012–2020). Containing approximately 14 million words, the dataset is enriched with speaker metadata, named entity recognition (NER), and lemmatization, offering a robust foundation for computational linguistics and political science research.
Addressing the Bilingual Gap
While major languages benefit from extensive parliamentary corpora—such as the UK Parl for English or the Canadian Hansard for French and English—minority or isolate languages like Basque often lack comparable resources. The challenge is not just the language itself, but the frequent code-switching that occurs in bilingual legislatures. BasqueParl provides a structured, machine-readable dataset that allows for the analysis of not only what is being said, but how the choice of language reflects political identity and social trends.
Methodology: From Raw Text to Research-Ready Data
The researchers developed a multi-stage pipeline to transform raw transcriptions into a high-quality corpus:
- Language Identification: Using the
langdetectlibrary, the team identified the language of every paragraph. This was essential because speeches in the Basque parliament frequently transition between Basque and Spanish. - NLP Enrichment: The team utilized the Flair framework, a BiLSTM-based deep learning architecture, to perform lemmatization and Named Entity Recognition (NER). For Spanish, they employed the Flair-Oscar model. For Basque, they used specialized models designed to handle the language’s complex, agglutinative morphology.
- Metadata Integration: Beyond the text, the corpus includes rich metadata for each speaker, including gender, party affiliation, and year of birth. Where records were incomplete, linguistic cues (such as the term andrea for "Ms.") were used to infer gender.
Dataset Overview
The resulting BasqueParl corpus is a significant contribution to the ParlaMint-style ecosystem:
- Volume: ~14 million words across 41,417 speeches and 342,666 paragraphs.
- Timeline: Covers two legislative terms from December 2012 to February 2020.
- Content: Primarily Basque and Spanish, with 122,439 Basque entities and 227,451 Spanish entities identified.
Key Insights: Language, Gender, and Politics
The analysis of the BasqueParl corpus revealed several striking trends in the Basque legislative environment:
The Symbolic Use of Basque
A notable finding is the discrepancy between language use at the speech level versus the word level. While many speeches contain at least some Basque—often for formal greetings or closing remarks—Spanish dominates the actual word count, accounting for roughly 78% of the total. This suggests that while Basque holds significant symbolic value, the core "content" of political debate remains primarily in Spanish.
The Gender Word-Gap
The data also highlights complex gender dynamics. While women appeared to produce more speeches than men during the study period (largely because the President of the Parliament was female), they produced fewer words overall. When procedural utterances from the President were filtered out, women’s participation in substantive debate was significantly lower than their male counterparts. However, there is a positive trend: in 2012, women contributed less than one-third of the words in parliament; by 2020, that figure rose to nearly two-thirds.
Political Identity and Language Choice
Language use serves as a clear marker of political identity. The pro-independence EH Bildu party maintains a relatively balanced use of both languages. In contrast, Spanish unionist parties, such as the PP or UPyD, use Basque almost exclusively for short, formal phrases, with over 97% of their total word count being in Spanish.
Future Directions
The release of BasqueParl opens new avenues for research in the Basque context, including sentiment analysis to track the emotional "temperature" of political debates, argumentation mining to identify the structure of political arguments, and automated fact-checking. By providing a transparent and accessible dataset, BasqueParl allows researchers to move beyond anecdotal evidence and conduct rigorous, data-driven analyses of the linguistic and political landscape of the Basque Country.
Summary updated