Package mekano :: Package atoms :: Module invidx :: Class InvertedIndex
[hide private]
[frames] | no frames]

Class InvertedIndex

             object --+    
                      |    
corpusstats.CorpusStats --+
                          |
                         InvertedIndex

Instance Methods [hide private]
 
__getstate__(...)
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__len__(x)
len(x)
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__reduce__(...)
helper for pickle
 
__repr__(x)
repr(x)
 
__setstate__(...)
 
add(vec, 1)
The elements of AtomVector-like object 'vec' will be indexed, but the object that will appear under the invind of each such item is 'store'
 
atoms(...)
 
getDF(...)
 
getN(...)
 
getii(...)
 
remove(...)

Inherited from corpusstats.CorpusStats: fromfile, iteritems, save

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

Properties [hide private]

Inherited from corpusstats.CorpusStats: N, df

Inherited from object: __class__

Method Details [hide private]

__getstate__(...)

 
Overrides: corpusstats.CorpusStats.__getstate__

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__setstate__(...)

 
Overrides: corpusstats.CorpusStats.__setstate__

add(vec, 1)

 

The elements of AtomVector-like object 'vec' will be indexed, but the object that will appear under the invind of each such item is 'store'

'store' can be id's of documents, or it could be the reference to the parent of 'vec' that is desirable to be retrieved.

Overrides: corpusstats.CorpusStats.add

getDF(...)

 
Overrides: corpusstats.CorpusStats.getDF

getN(...)

 
Overrides: corpusstats.CorpusStats.getN