date-in-text matrix freq2prob