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:
(a) Buď střed úsečky P, Q, buď A bod, jenž je patou kolmice spuštěné z bodu S na přímku p, buď B bod ležící na přímce q na druhé straně přímky u než bod A, přičemž úsečky AP, BQ jsou stejně dlouhé.
Postion	Tokenization
1	(
2	a
3	)
4	Buď
5	střed
6	úsečky
7	P
8	,
9	Q
10	,
11	buď
12	A
13	bod
14	,
15	jenž
16	je
17	patou
18	kolmice
19	spuštěné
20	z
21	bodu
22	S
23	na
24	přímku
25	p
26	,
27	buď
28	B
29	bod
30	ležící
31	na
32	přímce
33	q
34	na
35	druhé
36	straně
37	přímky
38	u
39	než
40	bod
41	A
42	,
43	přičemž
44	úsečky
45	AP
46	,
47	BQ
48	jsou
49	stejně
50	dlouhé
51	.
Position	Tokenization	UPOS	Head	Deprel
1	(	PUNCT	4	punct
2	a	NOUN	4	nmod
3	)	PUNCT	4	punct
4	Buď	VERB	0	root
5	střed	NOUN	4	nsubj
6	úsečky	NOUN	5	nmod
7	P	NOUN	6	nmod
8	,	PUNCT	9	punct
9	Q	NOUN	7	conj
10	,	PUNCT	13	punct
11	buď	AUX	13	cop
12	A	NOUN	13	nsubj
13	bod	NOUN	4	conj
14	,	PUNCT	17	punct
15	jenž	PRON	17	nsubj
16	je	AUX	17	cop
17	patou	NOUN	13	acl:relcl
18	kolmice	NOUN	17	nmod
19	spuštěné	ADJ	18	amod
20	z	ADP	21	case
21	bodu	NOUN	19	obl
22	S	NOUN	21	nmod
23	na	ADP	24	case
24	přímku	NOUN	19	obl
25	p	NOUN	24	nmod
26	,	PUNCT	29	punct
27	buď	AUX	29	cop
28	B	NOUN	29	nsubj
29	bod	NOUN	4	conj
30	ležící	ADJ	29	amod
31	na	ADP	32	case
32	přímce	NOUN	30	obl
33	q	NOUN	32	nmod
34	na	ADP	36	case
35	druhé	ADJ	36	amod
36	straně	NOUN	30	obl
37	přímky	NOUN	36	nmod
38	u	NOUN	37	nmod
39	než	SCONJ	40	mark
40	bod	NOUN	35	advcl
41	A	NOUN	40	nmod
42	,	PUNCT	50	punct
43	přičemž	ADV	50	advmod
44	úsečky	NOUN	50	nsubj
45	AP	NOUN	44	nmod
46	,	PUNCT	47	punct
47	BQ	NOUN	45	conj
48	jsou	AUX	50	cop
49	stejně	ADV	50	advmod
50	dlouhé	ADJ	29	conj
51	.	PUNCT	4	punct