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 analysisString The type of analysis to perform. Options are: 'ca', 'pca', and 'tsne'.
-
dimensions
-
Properties:
Name Type Default Description dimensionsNumber 3 The number of dimensions to render, either 2 or 3.
-
docId
-
Properties:
Name Type Description docIdString | Array.<String> The document ID(s) to restrict the results to.
-
height
-
Properties:
Name Type Description heightNumber The display height of the tool in pixels. -
limit
-
Properties:
Name Type Default Description limitNumber 50 The number of items to limit the result to.
-
stopList
-
Properties:
Name Type Default Description stopListString 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 styleString A string of CSS properties to use as the style attribute for the tool's parent tag. -
width
-
Properties:
Name Type Description widthNumber The display width of the tool in pixels.