of a string with respect to a given distribution.
given a PFA P and a string w, one might ask the probability of w appearing as a prefix, suffix, or infix in the distribution modeled by P-in other words, the sum of the probabilities of all strings in the form of wx, xw, or xwy with respect to P, for some strings x and y.