1 '''
2 @author: David Vilares
3 '''
4
6 '''
7 Auxiliary structure for analyzing negation
8 '''
9
10
11 - def __init__(self,neg_branches,other_branches,delimiter):
12 """
13 Constructor
14 @param neg_branches: Branches affected by a negation term
15 @param other_branches: Branches not affected by a negation term
16 @param delimiter: A syntactic rule delimiter. An element of L{Negationrules}
17 """
18 self.__neg_branches = neg_branches
19 self.__other_branches = other_branches
20 self.__delimiter = delimiter
21
23 return self.__neg_branches
24
26 return self.__other_branches
27
29 return self.__delimiter
30