Links

Links represents keywords and terms that occur in close proximity (i.e. collocated) as a force directed network graph.

Use it with a Jane Austen corpus or with your own corpus.

Overview

This represents a network graph where keywords in green are shown linked to collocates in maroon. You can hover over a term to see its frequency (for keywords it's the corpus frequency, for collocates it's the frequeny in the context of the linked keywords).

You can drag and drop terms to move them. You can drag terms off the canvas to remove them.

Links with the Works of Jane Austen. You can also use Links with your own corpus.

Options

You can add keywords by typing a query into the search box and hitting enter (see Term Searches for more advanced searching capabilities).

You can use the Clear button to clear all keywords in the graph (to start from scratch and add your own).

The Context slider determines how many terms to include when looking for collocates. The value specifies the number of words to consider on each side of the keyword (so the total window of words is double). By default the context is set to 5 words per side, and the slider can have a maximum of 30.

Clicking on the options icon also allows you to define a set of stopwords to exclude – see the stopwords guide for more information.

Spyral

To use Links in Spyral you can use the following code as a starting point. Modify the config object to modify the visualization.

let config = {
    centralize: "love", 
    context: 10, 
};

loadCorpus("austen").tool("links", config);

Please see Tools.Links for more information about configuration.

See Also