Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
pip._vendor.chardet.chardistribution.CharDistributionAnalysis Class Reference
Inheritance diagram for pip._vendor.chardet.chardistribution.CharDistributionAnalysis:
Inheritance graph
[legend]

Public Member Functions

None __init__ (self)
 
None reset (self)
 
None feed (self, Union[bytes, bytearray] char, int char_len)
 
float get_confidence (self)
 
bool got_enough_data (self)
 
int get_order (self, Union[bytes, bytearray] _)
 

Public Attributes

 typical_distribution_ratio
 

Static Public Attributes

int ENOUGH_DATA_THRESHOLD = 1024
 
float SURE_YES = 0.99
 
float SURE_NO = 0.01
 
int MINIMUM_DATA_THRESHOLD = 3
 

Protected Attributes

 _table_size
 
 _done
 
 _total_chars
 
 _freq_chars
 

Member Function Documentation

◆ feed()

None pip._vendor.chardet.chardistribution.CharDistributionAnalysis.feed (   self,
Union[bytes, bytearray]  char,
int  char_len 
)
feed a character with known length

◆ get_confidence()

float pip._vendor.chardet.chardistribution.CharDistributionAnalysis.get_confidence (   self)
return confidence based on existing data

◆ reset()

None pip._vendor.chardet.chardistribution.CharDistributionAnalysis.reset (   self)
reset analyser, clear any state

The documentation for this class was generated from the following file: