Étiquette : Blocksplitter
Vue de l’ensemble
’encode_metablock_BlockSplitter’ est une classe dans Aspose.Font FOSS pour Python.
Cette classe fournit 3 méthodes pour travailler avec les objets encode_metablock_BlockSplitter dans les programmes Python. Les méthodologies disponibles comprennent: AddSymbol, FinishBloc , __init__. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspouse.Font FOSS pour le package Pyathon. Propriétés : HistogramTypeInt,, alphabet_size_., block_ size’, curr_histogram_ix_’, histograms_‘, ’last_entropy_’ et 7 autres.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
last_entropy_ | `` | Read | Gets the last entropy . |
last_histogram_ix_ | `` | Read | Gets the last histogram ix . |
HistogramTypeInt | `` | Read | Gets the histogram type int. |
alphabet_size_ | `` | Read | Gets the alphabet size . |
min_block_size_ | `` | Read | Gets the min block size . |
split_threshold_ | `` | Read | Gets the split threshold . |
num_blocks_ | `` | Read | Gets the num blocks . |
split_ | `` | Read | Gets the split . |
histograms_ | `` | Read | Gets the histograms . |
target_block_size_ | `` | Read | Gets the target block size . |
block_size_ | `` | Read | Gets the block size . |
curr_histogram_ix_ | `` | Read | Gets the curr histogram ix . |
merge_last_count_ | `` | Read | Gets the merge last count . |
méthodes
| Signature | Description |
|---|---|
__init__(HistogramTypeInt, alphabet_size, min_block_size, split_threshold, num_symbols, split, histograms) | Calls init on this encode_metablock_BlockSplitter instance. |
AddSymbol(symbol) | Adds a symbol to the current block’s histogram |
FinishBlock(is_final) | Finalizes the current block, optionally marking it as final |
Voir aussi
- Aspose.Font — référence API d’entreprise