Themes Results Schema for JSON#

Application ID eot_themes

Description#

The ThemesResults schema describes the structure of the JSON data returned from the Themes application by the SDK or the Portal.

Definition#

The ThemesResults schema is defined as:

  • array[Theme] – The list of identified themes

with the Theme defined as:

  • object – The identified theme

    • name (string) – The name of the theme

    • relevancy (number) – The relevancy of the theme within the processed document

    • debug (object) – Optional , only if the debug_info value has been set to true in the configuration.

      • count (number) – The number of mentions relating to the theme

      • words (string) – The words that served as cues to identify the theme

      • uris (string) – The URIs or annotation name (for instance, Pathology) for the theme

Example#

The following is an example of the JSON results for this application:

[
    {
        "name": "healthcare",
        "relevancy": 100
    },
    {
        "name": "viral infection",
        "relevancy": 67
    },
    {
        "name": "pathology",
        "relevancy": 33
    }
]