Tools.TextualArc()

new TextualArc()

TextualArc is a visualization of the terms in a document that includes a weighted centroid of terms and an arc that follows the terms in document order.

Tutorials:
Example
let config = {
    "docIndex": null,
    "minRawFreq": null,
    "speed": null,
    "stopList": null
  };

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

Members

docIndex

Properties:
Name Type Default Description
docIndex Number | Array.<Number> 0

The document index(es) to restrict the results to.

minRawFreq

Properties:
Name Type Default Description
minRawFreq Number 2

The minimum raw frequency of terms to be considered.

speed

Properties:
Name Type Default Description
speed Number 50

How fast to animate the visualization.

stopList

Properties:
Name Type Default Description
stopList String auto

A comma-separated list of words, a named list or a URL to a plain text list, one word per line. By default this is set to 'auto' which auto-detects the document's language and loads an appropriate list (if available for that language). Set this to blank to not use the default stopList. For more information see the Stopwords documentation.