CoolFace
Datasetpublic

proxectonos/TreebankNos

TreebankNos TreebankNos is a Galician-language dataset combining Universal Dependencies (UD) treebank annotations with Named Entity Recognition (NER) labels. It is built upon two established UD corpora — UD TreeGal and UD Parallel Universal Dependencies (PUD) — extended with BIO-format NER annotations covering four entity types: Person, Location, Organisation, and Miscellaneous. The dataset is intended for multi-task NLP research in Galician, supporting POS tagging… See the full description on the dataset page: https://huggingface.co/datasets/proxectonos/TreebankNos.

sourceHugging Facecc-by-4.0updated 4mo agoView on Hugging Face
0likes18downloads
Dataset Card

TreebankNos

TreebankNos is a Galician-language dataset combining Universal Dependencies (UD) treebank annotations with Named Entity Recognition (NER) labels. It is built upon two established UD corpora — UD TreeGal and UD Parallel Universal Dependencies (PUD) — extended with BIO-format NER annotations covering four entity types: Person, Location, Organisation, and Miscellaneous.

The dataset is intended for multi-task NLP research in Galician, supporting POS tagging, morphological analysis, dependency parsing, and NER from a single unified resource.


Dataset Structure

Splits

SplitSource treebankSentencesTokens
trainUD TreeGal60015,436
testUD TreeGal40010,112
test_pudUD PUD1,00023,510

Tokens are counted at the syntactic word level (multiword tokens such as contractions are expanded and each component counted separately; the surface multiword form is retained in the file but excluded from this count).

Data Format

Files follow an extended CoNLL-U format. Each token is represented as a tab-separated line with 10 fields. Sentences are separated by blank lines, and each sentence is introduced by comment lines (# sent_id and # text). Multiword tokens (e.g., Galician contractions like ó, na, do) are represented with a hyphenated ID on a dedicated line followed by their expanded components.

Column Schema
ColumnFieldDescription
1IDToken index within the sentence (integer, or range N-M for multiword tokens)
2FORMSurface word form
3LEMMALemma or base form
4UPOSUniversal POS tag (UD v2 tagset)
5XPOSLanguage-specific POS tag
6FEATSMorphological features (key=value pairs separated by `\, or _`)
7HEADIndex of the syntactic head token (0 = root)
8DEPRELUniversal dependency relation to the head
9NERNER tag in BIO format (added in TreebankNos); _ for multiword surface tokens
10MISCMiscellaneous annotations (e.g., SpaceAfter=No; _ if none)
Note on column 9: The NER column is not part of the original CoNLL-U standard. It is appended as the ninth column in place of the standard DEPS (enhanced dependencies) field, which is not used in these files. Multiword token lines carry _ in this column.
Example
# sent_id = 6
# text = Á dereita, outros participantes no foro, Paulo González Mariñas e Ramón Villares.
1-2	Á	_	_	_	_	_	_	_	_
1	A	a	ADP	P	AdpType=Prep	3	case	O	_
2	a	o	DET	Ddfs	Definite=Def|Gender=Fem|Number=Sing|PronType=Art	3	det	O	_
3	dereita	dereita	NOUN	Scfs	Gender=Fem|Number=Sing	6	nmod	O	SpaceAfter=No
4	,	,	PUNCT	Q,	_	3	punct	O	_
5	outros	outro	DET	Idmp	Gender=Masc|Number=Plur|PronType=Ind	6	det	O	_
6	participantes	participante	NOUN	Scmp	Gender=Masc|Number=Plur	0	root	O	_
...
11	Paulo	paulo	PROPN	Sp00	_	6	appos	B-PER	_
12	González	gonzález	PROPN	Sp00	_	11	flat:name	I-PER	_
13	Mariñas	mariñas	PROPN	Sp00	_	11	flat:name	I-PER	_
14	e	e	CCONJ	Cc	_	15	cc	O	_
15	Ramón	ramón	PROPN	Sp00	_	11	conj	B-PER	_
16	Villares	villares	PROPN	Sp00	_	15	flat:name	I-PER	SpaceAfter=No
17	.	.	PUNCT	Q.	_	6	punct	O	_

Label Sets

NER Tags (column 9 — BIO scheme)
TagDescription
OOutside any named entity
B-PERBeginning of a Person entity
I-PERInside a Person entity
B-LOCBeginning of a Location entity
I-LOCInside a Location entity
B-ORGBeginning of an Organisation entity
I-ORGInside an Organisation entity
B-MISCBeginning of a Miscellaneous named entity
I-MISCInside a Miscellaneous named entity
_Not applicable (multiword surface token line)
NER Label Distribution
Tagtraintest (TreeGal)test (PUD)
O14,1879,27821,462
B-PER203141420
I-PER177125185
B-LOC133110399
I-LOC4112177
B-ORG220150276
I-ORG137101246
B-MISC14087151
I-MISC197108194
Universal POS Tags (column 4)

ADJ, ADP, ADV, AUX, CCONJ, DET, INTJ, NOUN, NUM, PRON, PROPN, PUNCT, SCONJ, SYM, VERB, X

Dependency Relations (column 8 — selection)

acl, advcl, advmod, amod, appos, aux, case, cc, ccomp, conj, cop, csubj, det, expl, fixed, flat:name, iobj, mark, nmod, nsubj, nummod, obj, obl, parataxis, punct, root, xcomp, and others per UD v2 guidelines.


Source Corpora

UD TreeGal

The TreeGal portion (train and test splits) derives from the UD_Galician-TreeGal treebank, a manually annotated corpus of Galician texts covering newspaper and political discourse. The original annotations follow the Universal Dependencies v2 framework.

UD PUD (Parallel Universal Dependencies)

The test_pud split is drawn from the UD_Galician-PUD corpus, part of the multilingual PUD collection released alongside UD v2. The PUD sentences are translations of a shared English source and include a parallel_id metadata field linking each sentence to its parallel in other languages.


Languages

  • Language: Galician (gl)
  • Script: Latin

Galician is a Romance language spoken primarily in the autonomous community of Galicia in northwestern Spain and in border regions of Portugal. It is closely related to Portuguese and shares many morphosyntactic properties with other Iberian Romance languages, including a rich inflectional system for gender, number, case (for pronouns), and verb tense/mood/aspect.


Intended Uses

TreebankNos is designed for:

  • NER in Galician, a comparatively low-resource language for this task
  • Joint / multi-task learning combining NER with POS tagging, morphological analysis, and dependency parsing
  • Cross-lingual transfer studies using the PUD split, which is parallel across 20+ languages
  • Benchmarking NLP pipelines for Galician

Funding

This dataset was compiled within the Nós Project, funded by the Ministerio para la Transformación Digital y de la Función Pública - Funded by EU – NextGenerationEU within the framework of the project ILENIA with reference 2022/TL22/00215336.