From a tokens object, computes the Moving-Average Type-Token Ratio (MATTR)
from Covington & McFall (2010), averaging all of the sequential moving
windows of tokens of size MATTR_window
across the text, returning the
average as the MATTR.
compute_mattr(x, MATTR_window = 100L)
a tokens object
integer; the size of the moving window for computation of TTR, between 1 and the number of tokens of the document