As a helpful and smart assistant, your task is to parse a given text in any language to Universal Dependency (UD) format including POS tags and dependency relations (HEAD and DEPREL).
Key Components of UD Annotation:
1. Tokens: The fundamental units within UD are tokens. These can be individual words, punctuation marks, or even parts of multi-word expressions. Each token has several associated attributes.
2. UPOS Tags: The UPOS field in the CoNLL-U format represents the universal part-of-speech tag assigned to each word. This tag is part of a universal POS tag set designed to be applicable across different languages. The UPOS tags include categories such as NOUN, VERB, ADJ (adjective), ADV (adverb), PRON (pronoun), DET (determiner), and more. 
3. Dependency Relations: Dependency relations are the core of the syntactic representation. They form a tree structure over the tokens in a sentence. Here's how they work:
    - HEAD: This field indicates the head of the current word. The head is the word that the current word is connected to in the dependency parse tree. The value is an integer that corresponds to the ID of the head word within the same sentence. A value of zero (0) indicates that the word is the root of the sentence.
    - DEPREL: The DEPREL field specifies the type of dependency relation between the current word and its head (as specified in the HEAD field). The value is a universal dependency relation or a language-specific subtype of such a relation.
Note: Blank lines are used to mark the boundaries between sentences.
Example:
Let's analyze this sentence with its UD annotation:
"The big dog chased the cat."
1. Tokenization:
- The
- big
- dog
- chased
- the
- cat
- .
2. UPOS Tags:
- The: DET
- big: ADJ
- dog: NOUN
- chased: VERB
- the: DET
- cat: NOUN
- .: PUNCT
3. Head node (parent):
- The: the parent of this word is "dog" at position 3
- big: the parent of this word is "dog" at position 3
- dog: the parent of this word is "chased" at position 4
- chased: this is the root node, therefore its head is 0
- the: the parent of this word is "cat" at position 6
- cat: the parent of this word is "chased" at position 4
- .: the parent of this word is "chased" at position 4
3. Dependency Relations:
- root(ROOT, chased)
- det(dog, The)
- amod(dog, big)
- nsubj(chased, dog)
- det(cat, the)
- obj(chased, cat)
Combining the above annotations, the final output in UD format is:
Position	Tokenization	UPOS	Head	Deprel
1	The	DET	3	det
2	big	ADJ	3	amod
3	dog	NOUN	4	nsubj
4	chased	VERB	0	ROOT
5	the	DET	6	det
6	cat	NOUN	4	obj
7	.	PUNCT	4	punct
Generate UD annotations for the following tokenized text:
De los casi 27.000 estudiantes de ESO y Bachillerato de la red pública (incluido el BUP, que aún no había desaparecido) que se alistaron a la clase de Religión en el curso 1997-98 se ha pasado a 16.500 en el actual.
Postion	Tokenization
1	De
2	los
3	casi
4	27.000
5	estudiantes
6	de
7	ESO
8	y
9	Bachillerato
10	de
11	la
12	red
13	pública
14	(
15	incluido
16	el
17	BUP
18	,
19	que
20	aún
21	no
22	había
23	desaparecido
24	)
25	que
26	se
27	alistaron
28	a
29	la
30	clase
31	de
32	Religión
33	en
34	el
35	curso
36	1997-98
37	se
38	ha
39	pasado
40	a
41	16.500
42	en
43	el
44	actual
45	.
Position	Tokenization	UPOS	Head	Deprel
1	De	ADP	5	case
2	los	DET	4	det
3	casi	ADV	4	advmod
4	27.000	NUM	5	nummod
5	estudiantes	NOUN	39	obl
6	de	ADP	7	case
7	ESO	PROPN	5	nmod
8	y	CCONJ	9	cc
9	Bachillerato	PROPN	7	conj
10	de	ADP	12	case
11	la	DET	12	det
12	red	NOUN	7	nmod
13	pública	ADJ	12	amod
14	(	PUNCT	17	punct
15	incluido	ADJ	17	amod
16	el	DET	17	det
17	BUP	PROPN	12	appos
18	,	PUNCT	23	punct
19	que	PRON	23	nsubj
20	aún	ADV	23	advmod
21	no	ADV	23	advmod
22	había	AUX	23	aux
23	desaparecido	VERB	17	acl
24	)	PUNCT	17	punct
25	que	PRON	27	nsubj
26	se	PRON	27	obj
27	alistaron	VERB	5	acl
28	a	ADP	30	case
29	la	DET	30	det
30	clase	NOUN	27	obl
31	de	ADP	32	case
32	Religión	PROPN	30	nmod
33	en	ADP	35	case
34	el	DET	35	det
35	curso	NOUN	27	obl
36	1997-98	NOUN	35	nmod
37	se	PRON	39	expl:impers
38	ha	AUX	39	aux
39	pasado	VERB	0	root
40	a	ADP	41	case
41	16.500	NUM	39	obl
42	en	ADP	44	case
43	el	DET	44	det
44	actual	ADJ	39	advmod
45	.	PUNCT	39	punct