Tweet Irony Node

Irony Detection, SemEval 2018 - Irony Detection (Van Hee et al., 2018) - 2 labels: irony, not irony

Input

payload string
Tweet text (from twitter sensor)

Example message:

{
  "payload": "@andst7 Important. South Korea is currently tracking to lose about half its population roughly every generation. Long lifespa…"
}

Output

This node constitutes of multiple outputs which automatically get routed to the correct output based on classification.

Output Type
1 Non-Irony
2 Irony

The message will be enriched by the irony property:

payload string
Original tweet text
irony.non_irony float
Non-Irony indicator; range=0.0-1.0
irony.irony float
Irony indicator; range=0.0-1.0

Example message:

{
  "payload": "@andst7 Important. South Korea is currently tracking to lose about half its population roughly every generation. Long lifespa…",
  "irony": {
    "non_irony": 0.8441,
    "irony": 0.1559
  }
}

Note, these values sum up to 1.0.

Configuration

Name optional
unique name for this node
Enable Filter flag
Whether to enable threshold-based filtering
Non-Irony float [0.0-1.0]
Specify the minimum required non-irony value
Irony float [0.0-1.0]
Specify the minimum required irony value

Higher values in thresholds can be used to increase certainty.

Last updated on Sep 15, 2022

Newsletter

Subscribe to our newsletter to stay updated and to get notified once the platform officially launches:

By subscribing, you agree with Foretale’s Privacy Policy

© foretale - 2022