Closed briatte closed 11 years ago
The case insensitive functions will, for example, look for the frequencies of 'the', 'The' and 'THE'. By default aggregate=TRUE
and the frequencies for each of these are summed. Setting aggregate=FALSE
is equivalent to searching for 'the', 'The', and 'THE' (the results are returned separately). smoothing
is a parameter that Google takes and does a simple moving average smoothing over successive years.
Thanks for the suggestion: there is now an ignore.case
option for ggram
.
It would be interesting if
ggram
could get anignore.case = TRUE
option that would callngrami
instead ofngram
. I am not sure I understand the code well enough to implement this (thesmoothing
andaggregate
arguments are mysterious to me).