Manages statistics for storage objects.
|
__init__(self,
sourcelanguage=' en ' ,
targetlanguage=' en ' ,
checkerstyle=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
fuzzy_units(self)
Return a list of fuzzy units. |
source code
|
|
|
fuzzy_unitcount(self)
Returns the number of fuzzy units. |
source code
|
|
|
translated_units(self)
Return a list of translated units. |
source code
|
|
|
translated_unitcount(self)
Returns the number of translated units. |
source code
|
|
|
untranslated_units(self)
Return a list of untranslated units. |
source code
|
|
|
untranslated_unitcount(self)
Returns the number of untranslated units. |
source code
|
|
|
getunits(self)
Returns a list of all units in this object. |
source code
|
|
|
get_source_text(self,
units)
Joins the unit source strings in a single string of text. |
source code
|
|
|
wordcount(self,
text)
Returns the number of words in the given text. |
source code
|
|
|
source_wordcount(self)
Returns the number of words in the source text. |
source code
|
|
|
translated_wordcount(self)
Returns the number of translated words in this object. |
source code
|
|
|
untranslated_wordcount(self)
Returns the number of untranslated words in this object. |
source code
|
|
|
|
|
|
|
countwords(self)
Counts the source and target words in each of the units. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|