get_symbol_frequency method

get_symbol_frequency

Get the number of occurrences of the given symbol in the context.

Returns

the number of occurences of the specified symbol in the specified context

def get_symbol_frequency(self, context, symbol):
    ...
ParameterTypeDescription
contextintget the frequency from this context’s histogram
symbolintget the frequency of this symbol the symbol

See Also