1 '''
2 Created on 28/04/2014
3
4 @author: David Vilares
5 '''
6
7 -class TextInfo(object):
8 '''
9 classdocs
10 '''
11
12
13 - def __init__(self,textid, text, dependency_graphs, json_metadata,
14 category):
15 '''
16 Constructor
17 @param text: The raw text (a string).
18 @param dependency_graphs: A list of L{DependencyGraphs}
19 @param json_metadata: TODO
20 @param category: The category which belongs the text (a string)
21 '''
22 self._textid = textid
23 self._text = text
24 self._dependency_graphs = dependency_graphs
25 self._metadata = json_metadata
26 self._category = category
27
28 - def get_textid(self):
30
33
35 return self._dependency_graphs
36
39
40 - def get_category(self):
42