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:
Hace dos semanas miles de profesores en huelga bloquearon la céntrica Avenida Paulista y se enfrentaron con piedras y palos a un destacamento de la Policía Militar que intentó desalojar el lugar, dejando un saldo de 21 heridos.
Postion	Tokenization
1	Hace
2	dos
3	semanas
4	miles
5	de
6	profesores
7	en
8	huelga
9	bloquearon
10	la
11	céntrica
12	Avenida
13	Paulista
14	y
15	se
16	enfrentaron
17	con
18	piedras
19	y
20	palos
21	a
22	un
23	destacamento
24	de
25	la
26	Policía
27	Militar
28	que
29	intentó
30	desalojar
31	el
32	lugar
33	,
34	dejando
35	un
36	saldo
37	de
38	21
39	heridos
40	.
Position	Tokenization	UPOS	Head	Deprel
1	Hace	VERB	9	advcl
2	dos	NUM	3	nummod
3	semanas	NOUN	1	obj
4	miles	NUM	9	nsubj
5	de	ADP	6	case
6	profesores	NOUN	4	nmod
7	en	ADP	8	case
8	huelga	NOUN	6	nmod
9	bloquearon	VERB	0	root
10	la	DET	12	det
11	céntrica	ADJ	12	amod
12	Avenida	PROPN	9	obj
13	Paulista	PROPN	12	flat
14	y	CCONJ	16	cc
15	se	PRON	16	expl:pv
16	enfrentaron	VERB	9	conj
17	con	ADP	18	case
18	piedras	NOUN	16	obl
19	y	CCONJ	20	cc
20	palos	NOUN	18	conj
21	a	ADP	23	case
22	un	DET	23	det
23	destacamento	NOUN	16	obj
24	de	ADP	26	case
25	la	DET	26	det
26	Policía	PROPN	23	nmod
27	Militar	PROPN	26	flat
28	que	PRON	29	nsubj
29	intentó	VERB	23	acl
30	desalojar	VERB	29	ccomp
31	el	DET	32	det
32	lugar	NOUN	30	obj
33	,	PUNCT	30	punct
34	dejando	VERB	30	xcomp
35	un	DET	36	det
36	saldo	NOUN	34	obj
37	de	ADP	39	case
38	21	NUM	39	nummod
39	heridos	NOUN	36	nmod
40	.	PUNCT	9	punct