1 '''
2 @author: David Vilares Calvo
3 '''
4
6 """
7 It Saves information of a token coherently with the CoNLL 2006 format
8 """
9
10 - def __init__(self,form,finetag,head,deprel):
11 """
12 Constructor
13 @param form: A string. The 'word' of the token.
14 @param finetag: A string. The part-of-speech tag of the token.
15 @param head: An integer. The identifier of the head of the token.
16 @param deprel: An integer. The identifier of the dependent node of the token.
17 """
18 self._form = form
19 self._finetag = finetag
20 self._head = head
21 self._deprel = deprel
22
25
28
30 self._finetag = finetag
31
34
37
40
43