AidText

Principal components of a text

Boil the vocabulary of a text down to a few principal components, see which words pull each one and where each passage falls, and get a name for each component.

PCA of a text: principal components of its words

Principal components of a vocabulary

The text is read in overlapping segments, and each is described by the words it uses. Principal component analysis then finds the few directions along which the segments differ most. A component has two sides: words that go together on one, and words that tend to be there when the first are not on the other.

What the report shows

A scree plot of how much each component explains, with its elbow marked. A loading plot of the most important words, where words far from the center shape the component. A score plot of the segments, each of which can be clicked and read. And for each component, a name with the words on its positive and its negative side.

What it is good for

Finding the main oppositions a text or a set of texts is built on, such as work against home or description against dialogue. With several files, segments colored by file show whether authors or periods separate, which is the classic use of PCA in stylometry.

Topics and clusters

What a pile of documents is about, without reading every one.

All tools · Privacy