Tools.Constellations()

new Constellations()

Constellations produces a specialized network graph of high frequency terms that are connected by similar word vectors.

Tutorials:
Example
let config = {
	"analysis": "ca",
	"dimensions": 2,
	"limit": 50
}; 

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

Members

analysis

Properties:
Name Type Description
analysis String

The type of analysis to perform. Options are: 'ca', 'pca', and 'tsne'.

dimensions

Properties:
Name Type Default Description
dimensions Number 3

The number of dimensions to render, either 2 or 3.

docId

Properties:
Name Type Description
docId String | Array.<String>

The document ID(s) to restrict the results to.

height

Properties:
Name Type Description
height Number The display height of the tool in pixels.

limit

Properties:
Name Type Default Description
limit Number 50

The number of items to limit the result to.

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.

style

Properties:
Name Type Description
style String A string of CSS properties to use as the style attribute for the tool's parent tag.

width

Properties:
Name Type Description
width Number The display width of the tool in pixels.