Update README.md
Browse files
README.md
CHANGED
@@ -270,4 +270,387 @@ Tachygraphy—originally developed to expedite writing—has evolved over centur
|
|
270 |
<polygon fill="black" stroke="black" points="893.43,-38.43 902.64,-33.2 892.18,-31.54 893.43,-38.43"></polygon>
|
271 |
</g>
|
272 |
</g>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
</svg></div>
|
|
|
270 |
<polygon fill="black" stroke="black" points="893.43,-38.43 902.64,-33.2 892.18,-31.54 893.43,-38.43"></polygon>
|
271 |
</g>
|
272 |
</g>
|
273 |
+
</svg></div>
|
274 |
+
|
275 |
+
|
276 |
+
### Sample Example 2
|
277 |
+
|
278 |
+
<div class="stGraphVizChart st-emotion-cache-1dc5o5s e1na4sa60" data-testid="stGraphVizChart" id="st-graphviz-chart-7e9070d94de435d1e4f51a1ad8e951cd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0.00 0.00 1135.78 420.00">
|
279 |
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 416)">
|
280 |
+
<polygon fill="white" stroke="none" points="-4,4 -4,-416 1131.78,-416 1131.78,4 -4,4"></polygon>
|
281 |
+
<!-- Input Text -->
|
282 |
+
<g id="node1" class="node">
|
283 |
+
<title>Input Text</title>
|
284 |
+
<path fill="#ffe6de" stroke="black" d="M725.69,-412C725.69,-412 419.19,-412 419.19,-412 413.19,-412 407.19,-406 407.19,-400 407.19,-400 407.19,-388 407.19,-388 407.19,-382 413.19,-376 419.19,-376 419.19,-376 725.69,-376 725.69,-376 731.69,-376 737.69,-382 737.69,-388 737.69,-388 737.69,-400 737.69,-400 737.69,-406 731.69,-412 725.69,-412"></path>
|
285 |
+
<text text-anchor="middle" x="572.44" y="-396.7" font-family="Helvetica,sans-Serif" font-size="9.00">Input Text:</text>
|
286 |
+
<text text-anchor="middle" x="572.44" y="-385.9" font-family="Helvetica,sans-Serif" font-size="9.00">u rlly think all that talk means u tough? lol, when I step up, u ain't gon say sh*t</text>
|
287 |
+
</g>
|
288 |
+
<!-- Normalized Text -->
|
289 |
+
<g id="node2" class="node">
|
290 |
+
<title>Normalized Text</title>
|
291 |
+
<path fill="#ffe6de" stroke="black" d="M470.89,-318C470.89,-318 12,-318 12,-318 6,-318 0,-312 0,-306 0,-306 0,-294 0,-294 0,-288 6,-282 12,-282 12,-282 470.89,-282 470.89,-282 476.89,-282 482.89,-288 482.89,-294 482.89,-294 482.89,-306 482.89,-306 482.89,-312 476.89,-318 470.89,-318"></path>
|
292 |
+
<text text-anchor="middle" x="241.44" y="-302.7" font-family="Helvetica,sans-Serif" font-size="9.00">Normalized Text:</text>
|
293 |
+
<text text-anchor="middle" x="241.44" y="-291.9" font-family="Helvetica,sans-Serif" font-size="9.00">you really think all that talk makes you tough [lol](laughed out loud) when i step up you are not going to say anything</text>
|
294 |
+
</g>
|
295 |
+
<!-- Input Text->Normalized Text -->
|
296 |
+
<g id="edge2" class="edge">
|
297 |
+
<title>Input Text->Normalized Text</title>
|
298 |
+
<path fill="none" stroke="black" d="M509.79,-375.59C454.51,-360.22 373.85,-337.8 315.41,-321.56"></path>
|
299 |
+
<polygon fill="black" stroke="black" points="316.43,-318.21 305.85,-318.9 314.55,-324.95 316.43,-318.21"></polygon>
|
300 |
+
</g>
|
301 |
+
<!-- Sentiment -->
|
302 |
+
<g id="node3" class="node">
|
303 |
+
<title>Sentiment</title>
|
304 |
+
<path fill="#fde6ff" stroke="black" d="M591.5,-318C591.5,-318 553.38,-318 553.38,-318 547.38,-318 541.38,-312 541.38,-306 541.38,-306 541.38,-294 541.38,-294 541.38,-288 547.38,-282 553.38,-282 553.38,-282 591.5,-282 591.5,-282 597.5,-282 603.5,-288 603.5,-294 603.5,-294 603.5,-306 603.5,-306 603.5,-312 597.5,-318 591.5,-318"></path>
|
305 |
+
<text text-anchor="middle" x="572.44" y="-297.3" font-family="Helvetica,sans-Serif" font-size="9.00">Sentiment</text>
|
306 |
+
</g>
|
307 |
+
<!-- Input Text->Sentiment -->
|
308 |
+
<g id="edge1" class="edge">
|
309 |
+
<title>Input Text->Sentiment</title>
|
310 |
+
<path fill="none" stroke="black" d="M572.44,-375.7C572.44,-362.72 572.44,-344.66 572.44,-329.56"></path>
|
311 |
+
<polygon fill="black" stroke="black" points="575.94,-329.74 572.44,-319.74 568.94,-329.74 575.94,-329.74"></polygon>
|
312 |
+
</g>
|
313 |
+
<!-- Emotion -->
|
314 |
+
<g id="node14" class="node">
|
315 |
+
<title>Emotion</title>
|
316 |
+
<path fill="lightgrey" stroke="black" d="M587.75,-130C587.75,-130 557.13,-130 557.13,-130 551.13,-130 545.13,-124 545.13,-118 545.13,-118 545.13,-106 545.13,-106 545.13,-100 551.13,-94 557.13,-94 557.13,-94 587.75,-94 587.75,-94 593.75,-94 599.75,-100 599.75,-106 599.75,-106 599.75,-118 599.75,-118 599.75,-124 593.75,-130 587.75,-130"></path>
|
317 |
+
<text text-anchor="middle" x="572.44" y="-109.3" font-family="Helvetica,sans-Serif" font-size="9.00">Emotion</text>
|
318 |
+
</g>
|
319 |
+
<!-- Input Text->Emotion -->
|
320 |
+
<g id="edge9" class="edge">
|
321 |
+
<title>Input Text->Emotion</title>
|
322 |
+
<path fill="none" stroke="black" d="M619.33,-375.62C699.84,-343.1 850.39,-268.98 792.44,-188 751.05,-130.16 662.36,-116.41 611.12,-113.46"></path>
|
323 |
+
<polygon fill="black" stroke="black" points="611.53,-109.98 601.39,-113.02 611.22,-116.97 611.53,-109.98"></polygon>
|
324 |
+
</g>
|
325 |
+
<!-- Negative -->
|
326 |
+
<g id="node4" class="node">
|
327 |
+
<title>Negative</title>
|
328 |
+
<path fill="#e8e6ff" stroke="black" d="M315.3,-224C315.3,-224 189.59,-224 189.59,-224 183.59,-224 177.59,-218 177.59,-212 177.59,-212 177.59,-200 177.59,-200 177.59,-194 183.59,-188 189.59,-188 189.59,-188 315.3,-188 315.3,-188 321.3,-188 327.3,-194 327.3,-200 327.3,-200 327.3,-212 327.3,-212 327.3,-218 321.3,-224 315.3,-224"></path>
|
329 |
+
<text text-anchor="middle" x="252.44" y="-203.3" font-family="Helvetica,sans-Serif" font-size="9.00">Negative: 0.9999861717224121</text>
|
330 |
+
</g>
|
331 |
+
<!-- Sentiment->Negative -->
|
332 |
+
<g id="edge3" class="edge">
|
333 |
+
<title>Sentiment->Negative</title>
|
334 |
+
<path fill="none" stroke="black" d="M540.88,-289.93C490.85,-275.54 392.03,-247.13 324.13,-227.61"></path>
|
335 |
+
<polygon fill="black" stroke="black" points="325.12,-224.25 314.54,-224.85 323.18,-230.98 325.12,-224.25"></polygon>
|
336 |
+
</g>
|
337 |
+
<!-- Neutral -->
|
338 |
+
<g id="node5" class="node">
|
339 |
+
<title>Neutral</title>
|
340 |
+
<path fill="#e8e6ff" stroke="black" d="M529.55,-224C529.55,-224 397.34,-224 397.34,-224 391.34,-224 385.34,-218 385.34,-212 385.34,-212 385.34,-200 385.34,-200 385.34,-194 391.34,-188 397.34,-188 397.34,-188 529.55,-188 529.55,-188 535.55,-188 541.55,-194 541.55,-200 541.55,-200 541.55,-212 541.55,-212 541.55,-218 535.55,-224 529.55,-224"></path>
|
341 |
+
<text text-anchor="middle" x="463.44" y="-203.3" font-family="Helvetica,sans-Serif" font-size="9.00">Neutral: 6.885089078423334e-06</text>
|
342 |
+
</g>
|
343 |
+
<!-- Sentiment->Neutral -->
|
344 |
+
<g id="edge4" class="edge">
|
345 |
+
<title>Sentiment->Neutral</title>
|
346 |
+
<path fill="none" stroke="black" d="M551.94,-281.7C535.19,-267.56 511.32,-247.41 492.58,-231.59"></path>
|
347 |
+
<polygon fill="black" stroke="black" points="494.91,-228.98 485.01,-225.2 490.39,-234.33 494.91,-228.98"></polygon>
|
348 |
+
</g>
|
349 |
+
<!-- Positive -->
|
350 |
+
<g id="node6" class="node">
|
351 |
+
<title>Positive</title>
|
352 |
+
<path fill="#e8e6ff" stroke="black" d="M751.3,-224C751.3,-224 611.58,-224 611.58,-224 605.58,-224 599.58,-218 599.58,-212 599.58,-212 599.58,-200 599.58,-200 599.58,-194 605.58,-188 611.58,-188 611.58,-188 751.3,-188 751.3,-188 757.3,-188 763.3,-194 763.3,-200 763.3,-200 763.3,-212 763.3,-212 763.3,-218 757.3,-224 751.3,-224"></path>
|
353 |
+
<text text-anchor="middle" x="681.44" y="-203.3" font-family="Helvetica,sans-Serif" font-size="9.00">Positive: 1.1117132999061141e-05</text>
|
354 |
+
</g>
|
355 |
+
<!-- Sentiment->Positive -->
|
356 |
+
<g id="edge5" class="edge">
|
357 |
+
<title>Sentiment->Positive</title>
|
358 |
+
<path fill="none" stroke="black" d="M592.94,-281.7C609.69,-267.56 633.57,-247.41 652.3,-231.59"></path>
|
359 |
+
<polygon fill="black" stroke="black" points="654.49,-234.33 659.88,-225.2 649.98,-228.98 654.49,-234.33"></polygon>
|
360 |
+
</g>
|
361 |
+
<!-- Negative->Emotion -->
|
362 |
+
<g id="edge6" class="edge">
|
363 |
+
<title>Negative->Emotion</title>
|
364 |
+
<path fill="none" stroke="black" d="M313.01,-187.59C377.97,-168.91 479.15,-139.82 533.98,-124.06"></path>
|
365 |
+
<polygon fill="black" stroke="black" points="534.85,-127.45 543.5,-121.32 532.92,-120.72 534.85,-127.45"></polygon>
|
366 |
+
</g>
|
367 |
+
<!-- Neutral->Emotion -->
|
368 |
+
<g id="edge8" class="edge">
|
369 |
+
<title>Neutral->Emotion</title>
|
370 |
+
<path fill="none" stroke="black" stroke-width="0.2" d="M483.94,-187.7C501,-173.3 525.44,-152.67 544.32,-136.74"></path>
|
371 |
+
<polygon fill="black" stroke="black" stroke-width="0.2" points="546.42,-139.55 551.8,-130.42 541.9,-134.2 546.42,-139.55"></polygon>
|
372 |
+
</g>
|
373 |
+
<!-- Positive->Emotion -->
|
374 |
+
<g id="edge7" class="edge">
|
375 |
+
<title>Positive->Emotion</title>
|
376 |
+
<path fill="none" stroke="black" stroke-width="0.2" d="M660.94,-187.7C643.89,-173.3 619.44,-152.67 600.57,-136.74"></path>
|
377 |
+
<polygon fill="black" stroke="black" stroke-width="0.2" points="602.98,-134.2 593.08,-130.42 598.47,-139.55 602.98,-134.2"></polygon>
|
378 |
+
</g>
|
379 |
+
<!-- Anger -->
|
380 |
+
<g id="node7" class="node">
|
381 |
+
<title>Anger</title>
|
382 |
+
<path fill="#deffe1" stroke="black" d="M133.53,-36C133.53,-36 59.36,-36 59.36,-36 53.36,-36 47.36,-30 47.36,-24 47.36,-24 47.36,-12 47.36,-12 47.36,-6 53.36,0 59.36,0 59.36,0 133.53,0 133.53,0 139.53,0 145.53,-6 145.53,-12 145.53,-12 145.53,-24 145.53,-24 145.53,-30 139.53,-36 133.53,-36"></path>
|
383 |
+
<text text-anchor="middle" x="96.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Anger: 0.14403291</text>
|
384 |
+
</g>
|
385 |
+
<!-- Disgust -->
|
386 |
+
<g id="node8" class="node">
|
387 |
+
<title>Disgust</title>
|
388 |
+
<path fill="#deffe1" stroke="black" d="M301.03,-36C301.03,-36 215.86,-36 215.86,-36 209.86,-36 203.86,-30 203.86,-24 203.86,-24 203.86,-12 203.86,-12 203.86,-6 209.86,0 215.86,0 215.86,0 301.03,0 301.03,0 307.03,0 313.03,-6 313.03,-12 313.03,-12 313.03,-24 313.03,-24 313.03,-30 307.03,-36 301.03,-36"></path>
|
389 |
+
<text text-anchor="middle" x="258.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Disgust: 0.039282672</text>
|
390 |
+
</g>
|
391 |
+
<!-- Fear -->
|
392 |
+
<g id="node9" class="node">
|
393 |
+
<title>Fear</title>
|
394 |
+
<path fill="#deffe1" stroke="black" d="M456.27,-36C456.27,-36 382.61,-36 382.61,-36 376.61,-36 370.61,-30 370.61,-24 370.61,-24 370.61,-12 370.61,-12 370.61,-6 376.61,0 382.61,0 382.61,0 456.27,0 456.27,0 462.27,0 468.27,-6 468.27,-12 468.27,-12 468.27,-24 468.27,-24 468.27,-30 462.27,-36 456.27,-36"></path>
|
395 |
+
<text text-anchor="middle" x="419.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Fear: 0.014349542</text>
|
396 |
+
</g>
|
397 |
+
<!-- Joy -->
|
398 |
+
<g id="node10" class="node">
|
399 |
+
<title>Joy</title>
|
400 |
+
<path fill="#deffe1" stroke="black" d="M607.02,-36C607.02,-36 537.86,-36 537.86,-36 531.86,-36 525.86,-30 525.86,-24 525.86,-24 525.86,-12 525.86,-12 525.86,-6 531.86,0 537.86,0 537.86,0 607.02,0 607.02,0 613.02,0 619.02,-6 619.02,-12 619.02,-12 619.02,-24 619.02,-24 619.02,-30 613.02,-36 607.02,-36"></path>
|
401 |
+
<text text-anchor="middle" x="572.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Joy: 0.048965044</text>
|
402 |
+
</g>
|
403 |
+
<!-- Neutral_e -->
|
404 |
+
<g id="node11" class="node">
|
405 |
+
<title>Neutral_e</title>
|
406 |
+
<path fill="#deffe1" stroke="black" d="M773.53,-36C773.53,-36 689.36,-36 689.36,-36 683.36,-36 677.36,-30 677.36,-24 677.36,-24 677.36,-12 677.36,-12 677.36,-6 683.36,0 689.36,0 689.36,0 773.53,0 773.53,0 779.53,0 785.53,-6 785.53,-12 785.53,-12 785.53,-24 785.53,-24 785.53,-30 779.53,-36 773.53,-36"></path>
|
407 |
+
<text text-anchor="middle" x="731.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Neutral: 0.494852662</text>
|
408 |
+
</g>
|
409 |
+
<!-- Sadness -->
|
410 |
+
<g id="node12" class="node">
|
411 |
+
<title>Sadness</title>
|
412 |
+
<path fill="#deffe1" stroke="black" d="M945.53,-36C945.53,-36 855.35,-36 855.35,-36 849.35,-36 843.35,-30 843.35,-24 843.35,-24 843.35,-12 843.35,-12 843.35,-6 849.35,0 855.35,0 855.35,0 945.53,0 945.53,0 951.53,0 957.53,-6 957.53,-12 957.53,-12 957.53,-24 957.53,-24 957.53,-30 951.53,-36 945.53,-36"></path>
|
413 |
+
<text text-anchor="middle" x="900.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Sadness: 0.021111647</text>
|
414 |
+
</g>
|
415 |
+
<!-- Surprise -->
|
416 |
+
<g id="node13" class="node">
|
417 |
+
<title>Surprise</title>
|
418 |
+
<path fill="#deffe1" stroke="black" d="M1115.78,-36C1115.78,-36 1027.11,-36 1027.11,-36 1021.11,-36 1015.11,-30 1015.11,-24 1015.11,-24 1015.11,-12 1015.11,-12 1015.11,-6 1021.11,0 1027.11,0 1027.11,0 1115.78,0 1115.78,0 1121.78,0 1127.78,-6 1127.78,-12 1127.78,-12 1127.78,-24 1127.78,-24 1127.78,-30 1121.78,-36 1115.78,-36"></path>
|
419 |
+
<text text-anchor="middle" x="1071.44" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Surprise: 0.237405464</text>
|
420 |
+
</g>
|
421 |
+
<!-- Emotion->Anger -->
|
422 |
+
<g id="edge10" class="edge">
|
423 |
+
<title>Emotion->Anger</title>
|
424 |
+
<path fill="none" stroke="black" d="M544.89,-106.08C480.14,-94.48 313.29,-64.21 174.44,-36 168.81,-34.86 162.96,-33.64 157.11,-32.4"></path>
|
425 |
+
<polygon fill="black" stroke="black" points="157.9,-28.99 147.39,-30.32 156.44,-35.83 157.9,-28.99"></polygon>
|
426 |
+
</g>
|
427 |
+
<!-- Emotion->Disgust -->
|
428 |
+
<g id="edge11" class="edge">
|
429 |
+
<title>Emotion->Disgust</title>
|
430 |
+
<path fill="none" stroke="black" d="M544.85,-102.92C495.84,-88.56 392.36,-58.24 324.13,-38.25"></path>
|
431 |
+
<polygon fill="black" stroke="black" points="325.53,-35.01 314.95,-35.56 323.56,-41.73 325.53,-35.01"></polygon>
|
432 |
+
</g>
|
433 |
+
<!-- Emotion->Fear -->
|
434 |
+
<g id="edge12" class="edge">
|
435 |
+
<title>Emotion->Fear</title>
|
436 |
+
<path fill="none" stroke="black" d="M544.74,-94.34C520.5,-79.77 485.05,-58.45 458.04,-42.21"></path>
|
437 |
+
<polygon fill="black" stroke="black" points="460.18,-39.41 449.8,-37.26 456.57,-45.41 460.18,-39.41"></polygon>
|
438 |
+
</g>
|
439 |
+
<!-- Emotion->Joy -->
|
440 |
+
<g id="edge13" class="edge">
|
441 |
+
<title>Emotion->Joy</title>
|
442 |
+
<path fill="none" stroke="black" d="M572.44,-93.7C572.44,-80.72 572.44,-62.66 572.44,-47.56"></path>
|
443 |
+
<polygon fill="black" stroke="black" points="575.94,-47.74 572.44,-37.74 568.94,-47.74 575.94,-47.74"></polygon>
|
444 |
+
</g>
|
445 |
+
<!-- Emotion->Neutral_e -->
|
446 |
+
<g id="edge14" class="edge">
|
447 |
+
<title>Emotion->Neutral_e</title>
|
448 |
+
<path fill="none" stroke="black" d="M600.14,-94.97C625.45,-80.33 663.16,-58.51 691.69,-42"></path>
|
449 |
+
<polygon fill="black" stroke="black" points="693.15,-45.2 700.05,-37.16 689.64,-39.14 693.15,-45.2"></polygon>
|
450 |
+
</g>
|
451 |
+
<!-- Emotion->Sadness -->
|
452 |
+
<g id="edge15" class="edge">
|
453 |
+
<title>Emotion->Sadness</title>
|
454 |
+
<path fill="none" stroke="black" d="M600.12,-103.24C650.95,-88.98 760.52,-58.25 832.31,-38.11"></path>
|
455 |
+
<polygon fill="black" stroke="black" points="832.92,-41.57 841.6,-35.5 831.03,-34.84 832.92,-41.57"></polygon>
|
456 |
+
</g>
|
457 |
+
<!-- Emotion->Surprise -->
|
458 |
+
<g id="edge16" class="edge">
|
459 |
+
<title>Emotion->Surprise</title>
|
460 |
+
<path fill="none" stroke="black" d="M600.09,-106.17C666.67,-94.5 841.14,-63.69 986.44,-36 992.03,-34.94 997.82,-33.82 1003.63,-32.68"></path>
|
461 |
+
<polygon fill="black" stroke="black" points="1004.16,-36.14 1013.29,-30.77 1002.8,-29.27 1004.16,-36.14"></polygon>
|
462 |
+
</g>
|
463 |
+
</g>
|
464 |
+
</svg></div>
|
465 |
+
|
466 |
+
|
467 |
+
### Sample Example 3
|
468 |
+
|
469 |
+
<div class="stGraphVizChart st-emotion-cache-1dc5o5s e1na4sa60" data-testid="stGraphVizChart" id="st-graphviz-chart-5dee9cb580cb912a053915445493c48f"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0.00 0.00 997.96 608.00">
|
470 |
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 604)">
|
471 |
+
<polygon fill="white" stroke="none" points="-4,4 -4,-604 993.96,-604 993.96,4 -4,4"></polygon>
|
472 |
+
<!-- Input Text -->
|
473 |
+
<g id="node1" class="node">
|
474 |
+
<title>Input Text</title>
|
475 |
+
<path fill="#ffe6de" stroke="black" d="M193.7,-318C193.7,-318 12,-318 12,-318 6,-318 0,-312 0,-306 0,-306 0,-294 0,-294 0,-288 6,-282 12,-282 12,-282 193.7,-282 193.7,-282 199.7,-282 205.7,-288 205.7,-294 205.7,-294 205.7,-306 205.7,-306 205.7,-312 199.7,-318 193.7,-318"></path>
|
476 |
+
<text text-anchor="middle" x="102.85" y="-302.7" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">Input Text:</text>
|
477 |
+
<text text-anchor="middle" x="102.85" y="-291.9" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">bruh, floods in Kerala, rescue ops non-stop 🚁</text>
|
478 |
+
</g>
|
479 |
+
<!-- Normalized Text -->
|
480 |
+
<g id="node2" class="node">
|
481 |
+
<title>Normalized Text</title>
|
482 |
+
<path fill="#ffe6de" stroke="black" d="M467.44,-422.4C467.44,-422.4 275.7,-422.4 275.7,-422.4 269.7,-422.4 263.7,-416.4 263.7,-410.4 263.7,-410.4 263.7,-387.6 263.7,-387.6 263.7,-381.6 269.7,-375.6 275.7,-375.6 275.7,-375.6 467.44,-375.6 467.44,-375.6 473.44,-375.6 479.44,-381.6 479.44,-387.6 479.44,-387.6 479.44,-410.4 479.44,-410.4 479.44,-416.4 473.44,-422.4 467.44,-422.4"></path>
|
483 |
+
<text text-anchor="middle" x="371.57" y="-407.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">Normalized Text:</text>
|
484 |
+
<text text-anchor="middle" x="371.57" y="-396.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">Brother, the floods in Kerala are severe,</text>
|
485 |
+
<text text-anchor="middle" x="371.57" y="-385.5" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">and rescue operations are ongoing continuously.</text>
|
486 |
+
</g>
|
487 |
+
<!-- Input Text->Normalized Text -->
|
488 |
+
<g id="edge2" class="edge">
|
489 |
+
<title>Input Text->Normalized Text</title>
|
490 |
+
<path fill="none" stroke="black" d="M153.39,-318.39C193.42,-333.25 250.39,-354.39 295.94,-371.3"></path>
|
491 |
+
<polygon fill="black" stroke="black" points="294.65,-374.55 305.24,-374.75 297.08,-367.99 294.65,-374.55"></polygon>
|
492 |
+
</g>
|
493 |
+
<!-- Sentiment -->
|
494 |
+
<g id="node3" class="node">
|
495 |
+
<title>Sentiment</title>
|
496 |
+
<path fill="#fde6ff" stroke="black" d="M390.63,-318C390.63,-318 352.51,-318 352.51,-318 346.51,-318 340.51,-312 340.51,-306 340.51,-306 340.51,-294 340.51,-294 340.51,-288 346.51,-282 352.51,-282 352.51,-282 390.63,-282 390.63,-282 396.63,-282 402.63,-288 402.63,-294 402.63,-294 402.63,-306 402.63,-306 402.63,-312 396.63,-318 390.63,-318"></path>
|
497 |
+
<text text-anchor="middle" x="371.57" y="-297.3" font-family="Helvetica,sans-Serif" font-size="9.00">Sentiment</text>
|
498 |
+
</g>
|
499 |
+
<!-- Input Text->Sentiment -->
|
500 |
+
<g id="edge1" class="edge">
|
501 |
+
<title>Input Text->Sentiment</title>
|
502 |
+
<path fill="none" stroke="black" d="M205.83,-300C248.53,-300 295.78,-300 328.68,-300"></path>
|
503 |
+
<polygon fill="black" stroke="black" points="328.61,-303.5 338.61,-300 328.61,-296.5 328.61,-303.5"></polygon>
|
504 |
+
</g>
|
505 |
+
<!-- Emotion -->
|
506 |
+
<g id="node14" class="node">
|
507 |
+
<title>Emotion</title>
|
508 |
+
<path fill="lightgrey" stroke="black" d="M805.78,-318C805.78,-318 775.16,-318 775.16,-318 769.16,-318 763.16,-312 763.16,-306 763.16,-306 763.16,-294 763.16,-294 763.16,-288 769.16,-282 775.16,-282 775.16,-282 805.78,-282 805.78,-282 811.78,-282 817.78,-288 817.78,-294 817.78,-294 817.78,-306 817.78,-306 817.78,-312 811.78,-318 805.78,-318"></path>
|
509 |
+
<text text-anchor="middle" x="790.47" y="-297.3" font-family="Helvetica,sans-Serif" font-size="9.00">Emotion</text>
|
510 |
+
</g>
|
511 |
+
<!-- Input Text->Emotion -->
|
512 |
+
<g id="edge9" class="edge">
|
513 |
+
<title>Input Text->Emotion</title>
|
514 |
+
<path fill="none" stroke="black" d="M138.86,-281.53C234.25,-233.89 504.96,-116.63 705.16,-206 735.2,-219.41 758.98,-249.38 773.53,-271.9"></path>
|
515 |
+
<polygon fill="black" stroke="black" points="770.52,-273.69 778.76,-280.35 776.47,-270.01 770.52,-273.69"></polygon>
|
516 |
+
</g>
|
517 |
+
<!-- Negative -->
|
518 |
+
<g id="node4" class="node">
|
519 |
+
<title>Negative</title>
|
520 |
+
<path fill="#e8e6ff" stroke="black" d="M693.16,-459C693.16,-459 549.44,-459 549.44,-459 543.44,-459 537.44,-453 537.44,-447 537.44,-447 537.44,-435 537.44,-435 537.44,-429 543.44,-423 549.44,-423 549.44,-423 693.16,-423 693.16,-423 699.16,-423 705.16,-429 705.16,-435 705.16,-435 705.16,-447 705.16,-447 705.16,-453 699.16,-459 693.16,-459"></path>
|
521 |
+
<text text-anchor="middle" x="621.3" y="-438.3" font-family="Helvetica,sans-Serif" font-size="9.00">Negative: 4.4367719965521246e-05</text>
|
522 |
+
</g>
|
523 |
+
<!-- Sentiment->Negative -->
|
524 |
+
<g id="edge3" class="edge">
|
525 |
+
<title>Sentiment->Negative</title>
|
526 |
+
<path fill="none" stroke="black" d="M403.12,-310.92C425.1,-319.37 455.04,-332.12 479.44,-347 507.76,-364.28 510.03,-375.31 537.44,-394 549.3,-402.09 562.64,-410.09 575.1,-417.14"></path>
|
527 |
+
<polygon fill="black" stroke="black" points="573.09,-420.03 583.53,-421.84 576.5,-413.92 573.09,-420.03"></polygon>
|
528 |
+
</g>
|
529 |
+
<!-- Neutral -->
|
530 |
+
<g id="node5" class="node">
|
531 |
+
<title>Neutral</title>
|
532 |
+
<path fill="#e8e6ff" stroke="black" d="M680.9,-365C680.9,-365 561.7,-365 561.7,-365 555.7,-365 549.7,-359 549.7,-353 549.7,-353 549.7,-341 549.7,-341 549.7,-335 555.7,-329 561.7,-329 561.7,-329 680.9,-329 680.9,-329 686.9,-329 692.9,-335 692.9,-341 692.9,-341 692.9,-353 692.9,-353 692.9,-359 686.9,-365 680.9,-365"></path>
|
533 |
+
<text text-anchor="middle" x="621.3" y="-344.3" font-family="Helvetica,sans-Serif" font-size="9.00">Neutral: 0.9998886585235596</text>
|
534 |
+
</g>
|
535 |
+
<!-- Sentiment->Neutral -->
|
536 |
+
<g id="edge4" class="edge">
|
537 |
+
<title>Sentiment->Neutral</title>
|
538 |
+
<path fill="none" stroke="black" d="M402.95,-305.76C436.43,-312.12 491.69,-322.6 538.12,-331.41"></path>
|
539 |
+
<polygon fill="black" stroke="black" points="537.44,-334.84 547.92,-333.27 538.75,-327.96 537.44,-334.84"></polygon>
|
540 |
+
</g>
|
541 |
+
<!-- Positive -->
|
542 |
+
<g id="node6" class="node">
|
543 |
+
<title>Positive</title>
|
544 |
+
<path fill="#e8e6ff" stroke="black" d="M688.66,-271C688.66,-271 553.94,-271 553.94,-271 547.94,-271 541.94,-265 541.94,-259 541.94,-259 541.94,-247 541.94,-247 541.94,-241 547.94,-235 553.94,-235 553.94,-235 688.66,-235 688.66,-235 694.66,-235 700.66,-241 700.66,-247 700.66,-247 700.66,-259 700.66,-259 700.66,-265 694.66,-271 688.66,-271"></path>
|
545 |
+
<text text-anchor="middle" x="621.3" y="-250.3" font-family="Helvetica,sans-Serif" font-size="9.00">Positive: 7.097498746588826e-05</text>
|
546 |
+
</g>
|
547 |
+
<!-- Sentiment->Positive -->
|
548 |
+
<g id="edge5" class="edge">
|
549 |
+
<title>Sentiment->Positive</title>
|
550 |
+
<path fill="none" stroke="black" d="M402.95,-294.24C434.57,-288.24 485.63,-278.55 530.32,-270.07"></path>
|
551 |
+
<polygon fill="black" stroke="black" points="530.86,-273.53 540.04,-268.23 529.56,-266.65 530.86,-273.53"></polygon>
|
552 |
+
</g>
|
553 |
+
<!-- Negative->Emotion -->
|
554 |
+
<g id="edge6" class="edge">
|
555 |
+
<title>Negative->Emotion</title>
|
556 |
+
<path fill="none" stroke="black" d="M660.66,-422.6C675.27,-414.75 691.64,-404.89 705.16,-394 729.63,-374.3 753.13,-347.2 769.07,-327.16"></path>
|
557 |
+
<polygon fill="black" stroke="black" points="771.72,-329.45 775.12,-319.42 766.2,-325.14 771.72,-329.45"></polygon>
|
558 |
+
</g>
|
559 |
+
<!-- Neutral->Emotion -->
|
560 |
+
<g id="edge8" class="edge">
|
561 |
+
<title>Neutral->Emotion</title>
|
562 |
+
<path fill="none" stroke="black" stroke-width="0.2" d="M687.89,-328.56C710.07,-322.32 734.02,-315.59 753.09,-310.23"></path>
|
563 |
+
<polygon fill="black" stroke="black" stroke-width="0.2" points="753.89,-313.64 762.57,-307.56 752,-306.9 753.89,-313.64"></polygon>
|
564 |
+
</g>
|
565 |
+
<!-- Positive->Emotion -->
|
566 |
+
<g id="edge7" class="edge">
|
567 |
+
<title>Positive->Emotion</title>
|
568 |
+
<path fill="none" stroke="black" stroke-width="0.2" d="M687.89,-271.44C710.07,-277.68 734.02,-284.41 753.09,-289.77"></path>
|
569 |
+
<polygon fill="black" stroke="black" stroke-width="0.2" points="752,-293.1 762.57,-292.44 753.89,-286.36 752,-293.1"></polygon>
|
570 |
+
</g>
|
571 |
+
<!-- Anger -->
|
572 |
+
<g id="node7" class="node">
|
573 |
+
<title>Anger</title>
|
574 |
+
<path fill="#deffe1" stroke="black" d="M972.46,-600C972.46,-600 893.28,-600 893.28,-600 887.28,-600 881.28,-594 881.28,-588 881.28,-588 881.28,-576 881.28,-576 881.28,-570 887.28,-564 893.28,-564 893.28,-564 972.46,-564 972.46,-564 978.46,-564 984.46,-570 984.46,-576 984.46,-576 984.46,-588 984.46,-588 984.46,-594 978.46,-600 972.46,-600"></path>
|
575 |
+
<text text-anchor="middle" x="932.87" y="-579.3" font-family="Helvetica,sans-Serif" font-size="9.00">Anger: 0.080178231</text>
|
576 |
+
</g>
|
577 |
+
<!-- Disgust -->
|
578 |
+
<g id="node8" class="node">
|
579 |
+
<title>Disgust</title>
|
580 |
+
<path fill="#deffe1" stroke="black" d="M975.45,-506C975.45,-506 890.29,-506 890.29,-506 884.29,-506 878.29,-500 878.29,-494 878.29,-494 878.29,-482 878.29,-482 878.29,-476 884.29,-470 890.29,-470 890.29,-470 975.45,-470 975.45,-470 981.45,-470 987.45,-476 987.45,-482 987.45,-482 987.45,-494 987.45,-494 987.45,-500 981.45,-506 975.45,-506"></path>
|
581 |
+
<text text-anchor="middle" x="932.87" y="-485.3" font-family="Helvetica,sans-Serif" font-size="9.00">Disgust: 0.015257259</text>
|
582 |
+
</g>
|
583 |
+
<!-- Fear -->
|
584 |
+
<g id="node9" class="node">
|
585 |
+
<title>Fear</title>
|
586 |
+
<path fill="#deffe1" stroke="black" d="M969.7,-412C969.7,-412 896.04,-412 896.04,-412 890.04,-412 884.04,-406 884.04,-400 884.04,-400 884.04,-388 884.04,-388 884.04,-382 890.04,-376 896.04,-376 896.04,-376 969.7,-376 969.7,-376 975.7,-376 981.7,-382 981.7,-388 981.7,-388 981.7,-400 981.7,-400 981.7,-406 975.7,-412 969.7,-412"></path>
|
587 |
+
<text text-anchor="middle" x="932.87" y="-391.3" font-family="Helvetica,sans-Serif" font-size="9.00">Fear: 0.601871967</text>
|
588 |
+
</g>
|
589 |
+
<!-- Joy -->
|
590 |
+
<g id="node10" class="node">
|
591 |
+
<title>Joy</title>
|
592 |
+
<path fill="#deffe1" stroke="black" d="M964.95,-318C964.95,-318 900.79,-318 900.79,-318 894.79,-318 888.79,-312 888.79,-306 888.79,-306 888.79,-294 888.79,-294 888.79,-288 894.79,-282 900.79,-282 900.79,-282 964.95,-282 964.95,-282 970.95,-282 976.95,-288 976.95,-294 976.95,-294 976.95,-306 976.95,-306 976.95,-312 970.95,-318 964.95,-318"></path>
|
593 |
+
<text text-anchor="middle" x="932.87" y="-297.3" font-family="Helvetica,sans-Serif" font-size="9.00">Joy: 0.00410547</text>
|
594 |
+
</g>
|
595 |
+
<!-- Neutral_e -->
|
596 |
+
<g id="node11" class="node">
|
597 |
+
<title>Neutral_e</title>
|
598 |
+
<path fill="#deffe1" stroke="black" d="M969.95,-224C969.95,-224 895.79,-224 895.79,-224 889.79,-224 883.79,-218 883.79,-212 883.79,-212 883.79,-200 883.79,-200 883.79,-194 889.79,-188 895.79,-188 895.79,-188 969.95,-188 969.95,-188 975.95,-188 981.95,-194 981.95,-200 981.95,-200 981.95,-212 981.95,-212 981.95,-218 975.95,-224 969.95,-224"></path>
|
599 |
+
<text text-anchor="middle" x="932.87" y="-203.3" font-family="Helvetica,sans-Serif" font-size="9.00">Neutral: 0.0341026</text>
|
600 |
+
</g>
|
601 |
+
<!-- Sadness -->
|
602 |
+
<g id="node12" class="node">
|
603 |
+
<title>Sadness</title>
|
604 |
+
<path fill="#deffe1" stroke="black" d="M977.96,-130C977.96,-130 887.78,-130 887.78,-130 881.78,-130 875.78,-124 875.78,-118 875.78,-118 875.78,-106 875.78,-106 875.78,-100 881.78,-94 887.78,-94 887.78,-94 977.96,-94 977.96,-94 983.96,-94 989.96,-100 989.96,-106 989.96,-106 989.96,-118 989.96,-118 989.96,-124 983.96,-130 977.96,-130"></path>
|
605 |
+
<text text-anchor="middle" x="932.87" y="-109.3" font-family="Helvetica,sans-Serif" font-size="9.00">Sadness: 0.245294735</text>
|
606 |
+
</g>
|
607 |
+
<!-- Surprise -->
|
608 |
+
<g id="node13" class="node">
|
609 |
+
<title>Surprise</title>
|
610 |
+
<path fill="#deffe1" stroke="black" d="M977.2,-36C977.2,-36 888.54,-36 888.54,-36 882.54,-36 876.54,-30 876.54,-24 876.54,-24 876.54,-12 876.54,-12 876.54,-6 882.54,0 888.54,0 888.54,0 977.2,0 977.2,0 983.2,0 989.2,-6 989.2,-12 989.2,-12 989.2,-24 989.2,-24 989.2,-30 983.2,-36 977.2,-36"></path>
|
611 |
+
<text text-anchor="middle" x="932.87" y="-15.3" font-family="Helvetica,sans-Serif" font-size="9.00">Surprise: 0.019189769</text>
|
612 |
+
</g>
|
613 |
+
<!-- Emotion->Anger -->
|
614 |
+
<g id="edge10" class="edge">
|
615 |
+
<title>Emotion->Anger</title>
|
616 |
+
<path fill="none" stroke="black" d="M794.63,-318.29C802.51,-359.94 826.07,-463.71 875.78,-535 881.26,-542.86 888.39,-550.18 895.71,-556.58"></path>
|
617 |
+
<polygon fill="black" stroke="black" points="893.2,-559.04 903.14,-562.69 897.64,-553.64 893.2,-559.04"></polygon>
|
618 |
+
</g>
|
619 |
+
<!-- Emotion->Disgust -->
|
620 |
+
<g id="edge11" class="edge">
|
621 |
+
<title>Emotion->Disgust</title>
|
622 |
+
<path fill="none" stroke="black" d="M799.87,-318.17C813.38,-346.3 841.91,-401.29 875.78,-441 882.18,-448.5 889.86,-455.78 897.44,-462.27"></path>
|
623 |
+
<polygon fill="black" stroke="black" points="895.12,-464.89 905.06,-468.54 899.57,-459.49 895.12,-464.89"></polygon>
|
624 |
+
</g>
|
625 |
+
<!-- Emotion->Fear -->
|
626 |
+
<g id="edge12" class="edge">
|
627 |
+
<title>Emotion->Fear</title>
|
628 |
+
<path fill="none" stroke="black" d="M818.21,-317.9C839.89,-332.42 870.68,-353.03 894.75,-369.15"></path>
|
629 |
+
<polygon fill="black" stroke="black" points="892.76,-372.03 903.01,-374.68 896.65,-366.21 892.76,-372.03"></polygon>
|
630 |
+
</g>
|
631 |
+
<!-- Emotion->Joy -->
|
632 |
+
<g id="edge13" class="edge">
|
633 |
+
<title>Emotion->Joy</title>
|
634 |
+
<path fill="none" stroke="black" d="M818.21,-300C834.85,-300 856.86,-300 877.07,-300"></path>
|
635 |
+
<polygon fill="black" stroke="black" points="876.88,-303.5 886.88,-300 876.88,-296.5 876.88,-303.5"></polygon>
|
636 |
+
</g>
|
637 |
+
<!-- Emotion->Neutral_e -->
|
638 |
+
<g id="edge14" class="edge">
|
639 |
+
<title>Emotion->Neutral_e</title>
|
640 |
+
<path fill="none" stroke="black" d="M818.21,-282.1C839.89,-267.58 870.68,-246.97 894.75,-230.85"></path>
|
641 |
+
<polygon fill="black" stroke="black" points="896.65,-233.79 903.01,-225.32 892.76,-227.97 896.65,-233.79"></polygon>
|
642 |
+
</g>
|
643 |
+
<!-- Emotion->Sadness -->
|
644 |
+
<g id="edge15" class="edge">
|
645 |
+
<title>Emotion->Sadness</title>
|
646 |
+
<path fill="none" stroke="black" d="M799.87,-281.83C813.38,-253.7 841.91,-198.71 875.78,-159 882.18,-151.5 889.86,-144.22 897.44,-137.73"></path>
|
647 |
+
<polygon fill="black" stroke="black" points="899.57,-140.51 905.06,-131.46 895.12,-135.11 899.57,-140.51"></polygon>
|
648 |
+
</g>
|
649 |
+
<!-- Emotion->Surprise -->
|
650 |
+
<g id="edge16" class="edge">
|
651 |
+
<title>Emotion->Surprise</title>
|
652 |
+
<path fill="none" stroke="black" d="M794.63,-281.71C802.51,-240.06 826.07,-136.29 875.78,-65 881.26,-57.14 888.39,-49.82 895.71,-43.42"></path>
|
653 |
+
<polygon fill="black" stroke="black" points="897.64,-46.36 903.14,-37.31 893.2,-40.96 897.64,-46.36"></polygon>
|
654 |
+
</g>
|
655 |
+
</g>
|
656 |
</svg></div>
|