Class  RiMarkov 


Name  getProbability 

Description  Returns either the raw (unigram) probability for a single token in the model (0 if it does not exist) OR (for an array) the probability of obtaining a sequence of k tokens where k <= nFactor, e.g., if nFactor = 3, then valid lengths for the data arrau are 1, 2 & 3. 

Syntax  getProbability(dataString); 

Parameters 


Returns 


Example 
rm = new RiMarkov(3); 

Platform  Java / Javascript  