Package miopia :: Package analyzer :: Package counter :: Module DependencyTypeCounter :: Class DependencyTypeCounter
[hide private]
[frames] | no frames]

Class DependencyTypeCounter

source code

                   object --+        
                            |        
              Counter.Counter --+    
                                |    
SintacticCounter.SintacticCounter --+
                                    |
                                   DependencyTypeCounter


Warning: Not working properly

Instance Methods [hide private]
 
__init__(self, ftc, stop_dependencies=set([]), dict_subgraph_classifiers_info=None)
Constructor
source code
 
_count(self, list_text_info) source code
 
_get_subtext_range(self, dependency_graph, address) source code
 
_count_graph(self, textid, dg, address) source code

Inherited from Counter.Counter: count, file_id, get_feature_type_configuration, name_from_id

Inherited from Counter.Counter (private): _id_of_feature

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

Class Variables [hide private]

Inherited from Counter.Counter: BINARY, TOTAL

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ftc, stop_dependencies=set([]), dict_subgraph_classifiers_info=None)
(Constructor)

source code 

Constructor

Parameters:
Overrides: object.__init__

_count(self, list_text_info)

source code 
Parameters:
  • list_text_info - A list of TextInfo objects
Overrides: SintacticCounter.SintacticCounter._count
(inherited documentation)

_count_graph(self, textid, dg, address)

source code 
Overrides: SintacticCounter.SintacticCounter._count_graph