Using Suffix Arrays to Compute Term Frequency and Document Frequency for All Substrings in a Corpus | Synapse