get_cumulative_symbol_frequency method

get_cumulative_symbol_frequency

Get the total number of occurrences for all of the symbols that are less than the given symbol in the context.

Returns

sum of all symbol freqs for symbols less than the given symbol in the given context

def get_cumulative_symbol_frequency(self, context, symbol):
    ...
ParameterTypeDescription
contextintuse this context’s histogram
symbolintuse this symbol

See Also