Package miopia :: Package util :: Module TextInfo :: Class TextInfo
[hide private]
[frames] | no frames]

Class TextInfo

source code

object --+
         |
        TextInfo

classdocs

Instance Methods [hide private]
 
__init__(self, textid, text, dependency_graphs, json_metadata, category)
Constructor
source code
 
get_textid(self) source code
 
get_text(self) source code
 
get_dependency_graphs(self) source code
 
get_metadata(self) source code
 
get_category(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, textid, text, dependency_graphs, json_metadata, category)
(Constructor)

source code 

Constructor

Parameters:
  • text - The raw text (a string).
  • dependency_graphs - A list of DependencyGraphs
  • json_metadata - TODO
  • category - The category which belongs the text (a string)
Overrides: object.__init__