<commit_before>---
layout: model
title: Sarcasm Classifier - Spark NLP 2.7.1+
author: <NAME>
name: classifierdl_use_sarcasm
date: 2021-01-09
tags: [open_source, en, classifier]
article_header:
  type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Classify if a text contains sarcasm.

## Predicted Entities

`normal`, `sarcasm`

{:.btn-box}
[Live Demo](https://demo.johnsnowlabs.com/public/SENTIMENT_EN_SARCASM/){:.button.button-orange}
[Open in Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/tutorials/streamlit_notebooks/SENTIMENT_EN_SARCASM.ipynb){:.button.button-orange.button-orange-trans.co.button-icon}
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/classifierdl_use_sarcasm_en_2.7.1_2.4_1610210956231.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
<commit_msg>[skip_ci] new metadata lines added to 19.file 2021-01-09-classifierdl_use_sarcasm_en.md<commit_after>---
layout: model
title: Sarcasm Classifier - Spark NLP 2.7.1+
author: <NAME>
name: classifierdl_use_sarcasm
date: 2021-01-09
task: Text Classification
language: en
edition: Spark NLP 2.7.1
tags: [open_source, en, classifier]
article_header:
  type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Classify if a text contains sarcasm.

## Predicted Entities

`normal`, `sarcasm`

{:.btn-box}
[Live Demo](https://demo.johnsnowlabs.com/public/SENTIMENT_EN_SARCASM/){:.button.button-orange}
[Open in Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/tutorials/streamlit_notebooks/SENTIMENT_EN_SARCASM.ipynb){:.button.button-orange.button-orange-trans.co.button-icon}
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/classifierdl_use_sarcasm_en_2.7.1_2.4_1610210956231.zip){:.button.button-orange.button-orange-trans.arr.button-icon}

{'fraction_non_alphanumeric': 0.14390756302521007, 'fraction_numerical': 0.038340336134453784, 'mean_word_length': 5.85251798561151, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7059288', 'n_tokens_mistral': 812, 'n_tokens_neox': 725, 'n_words': 100}