CorEGe-PT is a large-scale corpus of academic texts written in Portuguese (mainly European Portuguese), extracted from Estudo Geral, the institutional repository of the University of Coimbra. It contains over 34,000 documents and approximately 1 billion tokens, making it the largest available corpus of its kind for the Portuguese language.
This dataset is designed to support linguistic research (Academic Discourse Studies) and the training or adaptation of Large Language Models (LLMs) for the academic domain.
The corpus covers five main Fields of Science and Technology (FOS):
Social Sciences (37.9% of docs)
Medical and Health Sciences (24.8% of docs)
Humanities (16.4% of docs)
Engineering and Technology Sciences (12.4% of docs)
Exact and Natural Sciences (7.1% of docs)
*(Some of the documents may overlap more than one FOS.)


Each record contains the full text and rich metadata. The metadata fields include original repository data and enriched fields added during post-processing:
Collection: repository collection label used during compilation and for heuristic FOS mappingdc.title: titledc.creator: author(s) (separated with ||)dc.date.issued: publication/issue datedc.subject: keywords (often separated with ||)dc.type: document type (e.g., master thesis, article, book part, etc.)dc.identifier.uri: persistent handle/URIdc.rights: access rights label (e.g., open access/embargo labels)dc.rights.uri: license URI when present (often missing)dc.subject.fos: assigned Field of Science (may be single or multiple)fos.assignment: how dc.subject.fos was assigned:
heuristic (mapped from Collection)classifier (model-based, for records not mappable by heuristic)pt.auto: whether automatic language identification classified the extracted text as Portuguesept.mean.confidence.auto: mean confidence across snippets for Portuguese language identificationpt.pt.auto: whether automatic variety identification classified the text as European Portuguese (PT-PT)pt.pt.mean.confidence.auto: mean confidence across snippets for PT-PT classificationExtraction outcomes using Docling:
Total: 34,285 Markdown files, totaling ~1.1B tokens.
textThe text field contains Markdown with section headings (## only) and may contain conversion artifacts such as:
<!-- image --> placeholders (image-heavy PDFs)Most records were mapped to one of the five OECD high-level FOS categories using the repository Collection structure (Agricultural Sciences is not represented due to the institutional organization of the source repository).
For records where Collection did not allow a reliable heuristic mapping (e.g., generic thesis/dissertation collections), supervised classification was used to assign FOS.
dc.title, dc.subject, abstract, and optionally dc.description (when available).Reported model performance (macro scores):
| Model | dc.description | Epochs | Precision | Recall | F1 |
|---|---|---|---|---|---|
| mBERT | Yes | 5 | 0.934 | 0.936 | 0.935 |
| mBERT | No | 4 | 0.926 | 0.918 | 0.922 |
| BERTimbau | Yes | 2 | 0.938 | 0.935 | 0.937 |
| BERTimbau | No | 3 | 0.927 | 0.923 | 0.925 |
| Albertina-PTPT | Yes | 5 | 0.935 | 0.933 | 0.934 |
| Albertina-PTPT | No | 4 | 0.926 | 0.921 | 0.923 |
*(If you want to avoid model-assigned labels, filter to fos.assignment == "heuristic".)
Automatic language and variety labels were added to support stricter filtering and quality control.
For each document:
pt.auto).pt.pt.auto).pt.auto may be false even though the record was selected as PortugueseA manual inspection of a sample of non-PT classifications found common causes:
*(For consistency, such documents were kept, but can be excluded by filtering on pt.auto.)
Keep only documents that the automatic language ID considers Portuguese:
pt.auto == "true"Optionally add a confidence threshold (example):
pt.auto == "true" AND float(pt.mean.confidence.auto) >= 0.8pt.auto == "true" AND pt.pt.auto == "true"Optionally add a confidence threshold (example):
pt.pt.auto == "true" AND float(pt.pt.mean.confidence.auto) >= 0.8fos.assignment == "heuristic"All documents included in CorEGe-PT were sourced from a publicly available repository. We ensured that the documents were in open access and, when such information was available, covered by permissive licenses. In the process, we excluded documents in closed access, embargoed, or without the most restrictive licenses (ND). In addition, we acknowledge all the sources in the corpus metadata, thus recognizing the intellectual contributions of authors. To support reproducibility, we provide detailed documentation of the corpus construction process, including data sources, selection criteria, and pre- and post-processing steps. The corpus is intended for research use, and we encourage responsible usage in accordance with ethical research practices.
If you find CorEGe-PT useful in your research, please consider citing:
@inproceedings{kuhn-etal-2026-corege,
title = {CorEGe-PT: Compiling a Large Corpus of Academic Texts in Portuguese},
author = {Kuhn, Tanara Zingano and Matos, José and Neves, Bruno and Pereira, Daniela and Cação, Elisabete and Simões, Ivo and Estima, Jacinto and Leão, Delfim and Oliveira, Hugo Goncalo},
booktitle = {Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026)},
month = {May},
year = {2026},
pages = {1533--1543},
address = {Palma, Mallorca, Spain},
publisher = {European Language Resources Association (ELRA)},
editor = {Piperidis, Stelios and Bel, Núria and van den Heuvel, Henk and Ide, Nancy and Krek, Simon and Toral, Antonio},
doi = {10.63317/3wm6ywh8gzxm},
abstract = {This paper describes the creation of a large-scale corpus of academic texts in Portuguese, dubbed CorEGe-PT, extracted from the institutional repository of a Portuguese university. Its compilation methodology, which combined automatic and manual procedures, is detailed, together with challenges faced and proposed solutions. The process included a thorough analysis of the metadata, which will be publicly released together with the documents, extracted in a markdown format. CorEGe-PT covers five areas of knowledge and, with over 34,000 documents and 1B tokens, is the largest of corpus of its kind in Portuguese, which will enable in-depth linguistic studies while providing data for adapting Large Language Models to academic Portuguese and related tasks.}
}
This work was partially supported by the AMALIA project, funded by FCT/IP in the context of measure RE-C05-i08 of the Portuguese Recovery and Resilience Program; by the Portuguese Recovery and Resilience Plan through project C645008882-00000055, Center for Responsible AI; and by national funds through FCT – Foundation for Science and Technology I.P., in the framework of the Project CISUC (UIDB/00326/2025 and UIDP/00326/2025), and of the Project CELGA-ILTEC (UID/04887/2025).
This project is licensed under the CC BY-NC-SA 4.0 license.
32 commits
1 commits
CorEGe-PT is a large-scale corpus of academic texts written in Portuguese (mainly European Portuguese), extracted from Estudo Geral, the institutional repository of the University of Coimbra. It contains over 34,000 documents and approximately 1 billion tokens, making it the largest available corpus of its kind for the Portuguese language.
This dataset is designed to support linguistic research (Academic Discourse Studies) and the training or adaptation of Large Language Models (LLMs) for the academic domain.
The corpus covers five main Fields of Science and Technology (FOS):
Social Sciences (37.9% of docs)
Medical and Health Sciences (24.8% of docs)
Humanities (16.4% of docs)
Engineering and Technology Sciences (12.4% of docs)
Exact and Natural Sciences (7.1% of docs)
*(Some of the documents may overlap more than one FOS.)


Each record contains the full text and rich metadata. The metadata fields include original repository data and enriched fields added during post-processing:
Collection: repository collection label used during compilation and for heuristic FOS mappingdc.title: titledc.creator: author(s) (separated with ||)dc.date.issued: publication/issue datedc.subject: keywords (often separated with ||)dc.type: document type (e.g., master thesis, article, book part, etc.)dc.identifier.uri: persistent handle/URIdc.rights: access rights label (e.g., open access/embargo labels)dc.rights.uri: license URI when present (often missing)dc.subject.fos: assigned Field of Science (may be single or multiple)fos.assignment: how dc.subject.fos was assigned:
heuristic (mapped from Collection)classifier (model-based, for records not mappable by heuristic)pt.auto: whether automatic language identification classified the extracted text as Portuguesept.mean.confidence.auto: mean confidence across snippets for Portuguese language identificationpt.pt.auto: whether automatic variety identification classified the text as European Portuguese (PT-PT)pt.pt.mean.confidence.auto: mean confidence across snippets for PT-PT classificationExtraction outcomes using Docling:
Total: 34,285 Markdown files, totaling ~1.1B tokens.
textThe text field contains Markdown with section headings (## only) and may contain conversion artifacts such as:
<!-- image --> placeholders (image-heavy PDFs)Most records were mapped to one of the five OECD high-level FOS categories using the repository Collection structure (Agricultural Sciences is not represented due to the institutional organization of the source repository).
For records where Collection did not allow a reliable heuristic mapping (e.g., generic thesis/dissertation collections), supervised classification was used to assign FOS.
dc.title, dc.subject, abstract, and optionally dc.description (when available).Reported model performance (macro scores):
| Model | dc.description | Epochs | Precision | Recall | F1 |
|---|---|---|---|---|---|
| mBERT | Yes | 5 | 0.934 | 0.936 | 0.935 |
| mBERT | No | 4 | 0.926 | 0.918 | 0.922 |
| BERTimbau | Yes | 2 | 0.938 | 0.935 | 0.937 |
| BERTimbau | No | 3 | 0.927 | 0.923 | 0.925 |
| Albertina-PTPT | Yes | 5 | 0.935 | 0.933 | 0.934 |
| Albertina-PTPT | No | 4 | 0.926 | 0.921 | 0.923 |
*(If you want to avoid model-assigned labels, filter to fos.assignment == "heuristic".)
Automatic language and variety labels were added to support stricter filtering and quality control.
For each document:
pt.auto).pt.pt.auto).pt.auto may be false even though the record was selected as PortugueseA manual inspection of a sample of non-PT classifications found common causes:
*(For consistency, such documents were kept, but can be excluded by filtering on pt.auto.)
Keep only documents that the automatic language ID considers Portuguese:
pt.auto == "true"Optionally add a confidence threshold (example):
pt.auto == "true" AND float(pt.mean.confidence.auto) >= 0.8pt.auto == "true" AND pt.pt.auto == "true"Optionally add a confidence threshold (example):
pt.pt.auto == "true" AND float(pt.pt.mean.confidence.auto) >= 0.8fos.assignment == "heuristic"All documents included in CorEGe-PT were sourced from a publicly available repository. We ensured that the documents were in open access and, when such information was available, covered by permissive licenses. In the process, we excluded documents in closed access, embargoed, or without the most restrictive licenses (ND). In addition, we acknowledge all the sources in the corpus metadata, thus recognizing the intellectual contributions of authors. To support reproducibility, we provide detailed documentation of the corpus construction process, including data sources, selection criteria, and pre- and post-processing steps. The corpus is intended for research use, and we encourage responsible usage in accordance with ethical research practices.
If you find CorEGe-PT useful in your research, please consider citing:
@inproceedings{kuhn-etal-2026-corege,
title = {CorEGe-PT: Compiling a Large Corpus of Academic Texts in Portuguese},
author = {Kuhn, Tanara Zingano and Matos, José and Neves, Bruno and Pereira, Daniela and Cação, Elisabete and Simões, Ivo and Estima, Jacinto and Leão, Delfim and Oliveira, Hugo Goncalo},
booktitle = {Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026)},
month = {May},
year = {2026},
pages = {1533--1543},
address = {Palma, Mallorca, Spain},
publisher = {European Language Resources Association (ELRA)},
editor = {Piperidis, Stelios and Bel, Núria and van den Heuvel, Henk and Ide, Nancy and Krek, Simon and Toral, Antonio},
doi = {10.63317/3wm6ywh8gzxm},
abstract = {This paper describes the creation of a large-scale corpus of academic texts in Portuguese, dubbed CorEGe-PT, extracted from the institutional repository of a Portuguese university. Its compilation methodology, which combined automatic and manual procedures, is detailed, together with challenges faced and proposed solutions. The process included a thorough analysis of the metadata, which will be publicly released together with the documents, extracted in a markdown format. CorEGe-PT covers five areas of knowledge and, with over 34,000 documents and 1B tokens, is the largest of corpus of its kind in Portuguese, which will enable in-depth linguistic studies while providing data for adapting Large Language Models to academic Portuguese and related tasks.}
}
This work was partially supported by the AMALIA project, funded by FCT/IP in the context of measure RE-C05-i08 of the Portuguese Recovery and Resilience Program; by the Portuguese Recovery and Resilience Plan through project C645008882-00000055, Center for Responsible AI; and by national funds through FCT – Foundation for Science and Technology I.P., in the framework of the Project CISUC (UIDB/00326/2025 and UIDP/00326/2025), and of the Project CELGA-ILTEC (UID/04887/2025).
This project is licensed under the CC BY-NC-SA 4.0 license.
32 commits
1 commits