new RezoViz()
RezoViz represents connections between people, places and organizations that co-occur in multiple documents.
- Tutorials:
Example
let config = {
"docId": null,
"limit": null,
"minEdgeCount": null,
"nerService": null,
"query": null,
"stopList": null,
"type": null,
};
loadCorpus("austen").tool("rezoviz", config);
Members
-
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.
-
minEdgeCount
-
Properties:
Name Type Description minEdgeCountNumber -
nerService
-
Properties:
Name Type Default Description nerServiceString spacy Which NER service to use: 'spacy', 'nssi', or 'voyant'.
-
query
-
Properties:
Name Type Description queryString | 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 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. -
type
-
Properties:
Name Type Description typeArray.<String> The entity types to include in the results. One or more of: 'location', 'organization', 'person'.
-
width
-
Properties:
Name Type Description widthNumber The display width of the tool in pixels.