Tonality Data Type

Properties
name data type description
score number
tone string
normalizedScore number
sentences array of SentenceStatistics

Example

{
  "score" : 3.6,
  "tone" : "...",
  "normalizedScore" : 0.6,
  "sentences" : [ {
    "text" : "...",
    "terms" : [ "...", "..." ],
    "ngrams" : [ {
      "negation" : true,
      "score" : 12345.0,
      "amplifier" : true,
      "ngram" : "...",
      "keyword" : true
    }, {
      "negation" : true,
      "score" : 12345.0,
      "amplifier" : true,
      "ngram" : "...",
      "keyword" : true
    } ],
    "score" : 12345.0
  }, {
    "text" : "...",
    "terms" : [ "...", "..." ],
    "ngrams" : [ {
      "negation" : true,
      "score" : 12345.0,
      "amplifier" : true,
      "ngram" : "...",
      "keyword" : true
    }, {
      "negation" : true,
      "score" : 12345.0,
      "amplifier" : true,
      "ngram" : "...",
      "keyword" : true
    } ],
    "score" : 12345.0
  } ]
}