new Knots()
Knots is a creative visualization that represents terms in a single document as a series of twisted lines.
- Tutorials:
Example
let config = {
"audio": false,
"docId": null,
"query": null,
"stopList": "auto"
};
loadCorpus("austen").tool("knots", config);
Members
-
audio
-
Properties:
Name Type Default Description audio
Boolean false Whether or not to play audio during the visualization.
-
docId
-
Properties:
Name Type Description docId
String | Array.<String> The document ID(s) to restrict the results to.
-
query
-
Properties:
Name Type Description query
String | Array.<String> A query or array of queries (queries can be separated by a comma). For query syntax, see the search documentation.
-
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.