WordTree

The Word Tree tool allows you to explore how keywords are used in different phrases in the corpus.

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

Overview

By default, the most common term is used as the first word tree root.

You can click on terms to expand or collapse further branches, when they're available. Double-clicking on a term should trigger a phrase search in other Voyant panels (if applicable).

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

At the moment the tree is constructed based on a limited number of concordances for the keyword (instances of the keyword with context on each side), the branches shown are not necessarily based on frequency.

Options

You can set the root term in the tree by typing a query into the search box and hitting enter (see Term Search for more advanced searching capabilities).

Other options:

  • limit: limit the number of concordance entries that are fetched (which determines in part how many repeating phrase forms can be found)
  • branches: limit the number of branches that are shown on each side of the keyword
  • context: limit the length of the context retrieved for branches

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

Spyral

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

let config = {
    "context": null,
    "docId": null,
    "docIndex": null,
    "limit": null,
    "query": null,
    "stopList": null
}; 

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

Please see Tools.WordTree for more information about configuration.

Additional Information

Word Tree is an adaptation of Chris Culy's DoubleTreeJS.

See Also