Count each word in each of your files, side by side, to compare what several texts talk about.
Document-term matrix: word counts across files
What the matrix holds
One row for each word, one column for each of your files, and in each cell how often the word is used in that file. It covers the most frequent words across all files, as many as you ask for. Forms of one word can be counted together, so city and cities share a row.
What else is worked out
Cosine similarity compares the files by their mix of words: 1 means the same mix and 0 means no word in common. For every file, TF-IDF picks out the words that set it apart from the others. A table gives each word's total, the share of files that use it and its average per file.
What it is good for
A document-term matrix is the starting point of most quantitative text analysis. Comparing speeches by speaker, reports by year or interviews by site begins here, and the downloaded table goes straight into R, Python, SPSS or a spreadsheet for whatever comes next.
Words and vocabulary
What words a text is built from, and how wide its vocabulary runs.
Lexical diversity: Work out TTR, MTLD and seven more measures of how varied the vocabulary is, and see where the wording starts to repeat.
Vocabulary level: Check every word against graded word lists, CEFR or Oxford, and list the words above the level you choose.
Key terms and co-occurrence: Weight the words of a text by TF-IDF, pick the ones that set its parts apart, and count how often they appear together.
Named entities: Find the people, places, organizations and dates named in a text, count them by type, and see every sentence they appear in.
Part-of-speech tagging: Tag every word as noun, verb, adjective and so on, see how much of the text each part of speech makes up, and which one tends to follow which.
Keywords: Pull the keywords out of each text two ways, by TF-IDF and by TextRank, and see where each is used, which ones your files share and where the two rankings disagree.
Frequent phrases: Find the phrases of two, three or four words a text keeps coming back to, such as climate change or cost of living, beside its most frequent single words.
Term extraction: Pull the multi-word terms of a field out of your texts, such as climate policy or renewable energy, ranked by how firmly the words hold together and shown in the sentences that use them.
Entity linking: Find the people, places and organizations a text names and tell which one each name means, with its Wikipedia article and Wikidata number, so that U.S. and America count as one and two Jordans stay apart.