support for specifying word probabilities instead of process string