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:
El expediente, por una infracción grave de la ley de seguridad ciudadana, ha sido abierto después de que la Guardia Civil interviniera navajas, palos con clavos y un bate de béisbol a los cabezas rapadas cuando, el viernes, se dirigían a Premià para boicotear la marcha antirracista.
Postion	Tokenization
1	El
2	expediente
3	,
4	por
5	una
6	infracción
7	grave
8	de
9	la
10	ley
11	de
12	seguridad
13	ciudadana
14	,
15	ha
16	sido
17	abierto
18	después
19	de
20	que
21	la
22	Guardia
23	Civil
24	interviniera
25	navajas
26	,
27	palos
28	con
29	clavos
30	y
31	un
32	bate
33	de
34	béisbol
35	a
36	los
37	cabezas
38	rapadas
39	cuando
40	,
41	el
42	viernes
43	,
44	se
45	dirigían
46	a
47	Premià
48	para
49	boicotear
50	la
51	marcha
52	antirracista
53	.
Position	Tokenization	UPOS	Head	Deprel
1	El	DET	2	det
2	expediente	NOUN	17	nsubj
3	,	PUNCT	6	punct
4	por	ADP	6	case
5	una	DET	6	det
6	infracción	NOUN	2	nmod
7	grave	ADJ	6	amod
8	de	ADP	10	case
9	la	DET	10	det
10	ley	NOUN	6	nmod
11	de	ADP	12	case
12	seguridad	NOUN	10	nmod
13	ciudadana	ADJ	12	amod
14	,	PUNCT	6	punct
15	ha	AUX	17	aux
16	sido	AUX	17	aux
17	abierto	VERB	0	root
18	después	ADV	17	advmod
19	de	ADP	24	mark
20	que	SCONJ	24	mark
21	la	DET	22	det
22	Guardia	PROPN	24	nsubj
23	Civil	PROPN	22	flat
24	interviniera	VERB	18	advcl
25	navajas	NOUN	24	obj
26	,	PUNCT	27	punct
27	palos	NOUN	25	appos
28	con	ADP	29	case
29	clavos	NOUN	27	nmod
30	y	CCONJ	32	cc
31	un	DET	32	det
32	bate	NOUN	25	conj
33	de	ADP	34	case
34	béisbol	NOUN	32	nmod
35	a	ADP	37	case
36	los	DET	37	det
37	cabezas	NOUN	24	obj
38	rapadas	NOUN	37	compound
39	cuando	SCONJ	45	mark
40	,	PUNCT	42	punct
41	el	DET	42	det
42	viernes	NOUN	45	obl
43	,	PUNCT	42	punct
44	se	PRON	45	expl:pv
45	dirigían	VERB	24	advcl
46	a	ADP	47	case
47	Premià	PROPN	45	obl
48	para	ADP	49	mark
49	boicotear	VERB	45	advcl
50	la	DET	51	det
51	marcha	NOUN	49	obj
52	antirracista	ADJ	51	amod
53	.	PUNCT	17	punct