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:
Dr. Eric Fortier, 34, of Gatineau, Que., used a pocket knife to attack a polar bear on Baffin Island, just south of the Arctic Circle, to save two friends who were being mauled.
Postion	Tokenization
1	Dr.
2	Eric
3	Fortier
4	,
5	34
6	,
7	of
8	Gatineau
9	,
10	Que.
11	,
12	used
13	a
14	pocket
15	knife
16	to
17	attack
18	a
19	polar
20	bear
21	on
22	Baffin
23	Island
24	,
25	just
26	south
27	of
28	the
29	Arctic
30	Circle
31	,
32	to
33	save
34	two
35	friends
36	who
37	were
38	being
39	mauled
40	.
Position	Tokenization	UPOS	Head	Deprel
1	Dr.	PROPN	12	nsubj
2	Eric	PROPN	1	flat
3	Fortier	PROPN	1	flat
4	,	PUNCT	1	punct
5	34	NUM	1	nmod:npmod
6	,	PUNCT	1	punct
7	of	ADP	8	case
8	Gatineau	PROPN	1	nmod
9	,	PUNCT	8	punct
10	Que.	PROPN	8	appos
11	,	PUNCT	12	punct
12	used	VERB	0	root
13	a	DET	15	det
14	pocket	NOUN	15	compound
15	knife	NOUN	12	obj
16	to	PART	17	mark
17	attack	VERB	12	xcomp
18	a	DET	20	det
19	polar	ADJ	20	amod
20	bear	NOUN	17	obj
21	on	ADP	23	case
22	Baffin	PROPN	23	compound
23	Island	PROPN	17	obl
24	,	PUNCT	17	punct
25	just	ADV	26	advmod
26	south	ADV	17	advmod
27	of	ADP	30	case
28	the	DET	30	det
29	Arctic	PROPN	30	compound
30	Circle	PROPN	25	obl
31	,	PUNCT	17	punct
32	to	PART	33	mark
33	save	VERB	17	advmod
34	two	NUM	35	nummod
35	friends	NOUN	33	obj
36	who	PRON	39	nsubj:pass
37	were	AUX	39	aux
38	being	AUX	39	aux:pass
39	mauled	VERB	35	acl:relcl
40	.	PUNCT	12	punct