wtstring_pattern acts analogously to string_pattern, except each character has an associated strength. When inner_product is calculated, matching elements are weighted as the product of the mean activity of the characters in the elements.