Text this: Frequency analysis via the method of moment functionals /