Enregistrement de code_metablock_contexteBlockSplitter

Enregistrement de code_metablock_contexteBlockSplitter

Vue de l’ensemble

’encode_metablock_ContextBlockSplitter’ est une classe dans Aspose.Font FOSS pour Python.

Cette classe fournit 3 méthodes pour travailler avec les objets encode_metablock_ContextBlockSplitter 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 9 autres.

Propriétés

NameTypeAccessDescription
last_histogram_ix_``ReadGets the last histogram ix .
HistogramTypeInt``ReadGets the histogram type int.
alphabet_size_``ReadGets the alphabet size .
num_contexts_``ReadGets the num contexts .
max_block_types_``ReadGets the max block types .
min_block_size_``ReadGets the min block size .
split_threshold_``ReadGets the split threshold .
num_blocks_``ReadGets the num blocks .
split_``ReadGets the split .
histograms_``ReadGets the histograms .
target_block_size_``ReadGets the target block size .
block_size_``ReadGets the block size .
curr_histogram_ix_``ReadGets the curr histogram ix .
last_entropy_``ReadGets the last entropy .
merge_last_count_``ReadGets the merge last count .

méthodes

SignatureDescription
__init__(HistogramTypeInt, alphabet_size, num_contexts, min_block_size, split_threshold, num_symbols, split, histograms)Calls init on this encode_metablock_ContextBlockSplitter instance.
AddSymbol(symbol, context)Adds a symbol to the current block using the given context
FinishBlock(is_final)Calls FinishBlock on this encode_metablock_ContextBlockSplitter instance.

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français