![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| None | __init__ (self) |
| bool | eligible (self, str character) |
| None | feed (self, str character) |
| None | reset (self) |
| float | ratio (self) |
Protected Attributes | |
| _character_count | |
| _uncommon_count | |
Detect messy CJK text that probably means nothing.
| bool charset_normalizer.md.CjkUncommonPlugin.eligible | ( | self, | |
| str | character | ||
| ) |
Determine if given character should be fed in.
Reimplemented from charset_normalizer.md.MessDetectorPlugin.
| None charset_normalizer.md.CjkUncommonPlugin.feed | ( | self, | |
| str | character | ||
| ) |
The main routine to be executed upon character. Insert the logic in witch the text would be considered chaotic.
Reimplemented from charset_normalizer.md.MessDetectorPlugin.
| float charset_normalizer.md.CjkUncommonPlugin.ratio | ( | self | ) |
Compute the chaos ratio based on what your feed() has seen. Must NOT be lower than 0.; No restriction gt 0.
Reimplemented from charset_normalizer.md.MessDetectorPlugin.
| None charset_normalizer.md.CjkUncommonPlugin.reset | ( | self | ) |
Permit to reset the plugin to the initial state.
Reimplemented from charset_normalizer.md.MessDetectorPlugin.