{
  "id": 325560,
  "title": "Textual Entailment Approach",
  "url": "/competitions/AI4Code/discussion/325560",
  "author_name": "SRK",
  "post_date": "2022-05-17T05:38:19.664000",
  "votes": 20,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Following up on the last topic about <a href=\"https://www.kaggle.com/competitions/AI4Code/discussion/324509\" target=\"_blank\">Textual similarity approach</a> to solve the problem, one another potential approach I was thinking that may be helpful for this problem is <a href=\"https://en.wikipedia.org/wiki/Textual_entailment\" target=\"_blank\">Textual Entailment based methods</a>.</p>\n<p>From the Wikipedia page about textual entailment,</p>\n<pre><code>In the Textual Entailment framework, the entailing and entailed texts are termed text (t) and hypothesis (h), respectively. \nTextual entailment is not the same as pure logical entailment – it has a more relaxed definition: \"t entails h\" (t ⇒ h) if, typically, a human reading t would infer that h is most likely true. (Alternatively: t ⇒ h if and only if, typically, a human reading t would be justified in inferring the proposition expressed by h from the proposition expressed by t)\n</code></pre>\n<p>The textual entailment objective for our case would be whether <code>markdown cell</code> entails the <code>code cell</code> or vice versa. Once we build the models, we can rank-order the pairs based on the entailment score and then select the top markdown cell as the next / previous cell.</p>\n<p>Some challenges were conducted for Textual Entailment in the past and can be seen in<br>\n<a href=\"https://aclweb.org/aclwiki/Recognizing_Textual_Entailment\" target=\"_blank\">https://aclweb.org/aclwiki/Recognizing_Textual_Entailment</a></p>\n<p>Some of the top approaches for recognizing textual entailment are present in <br>\n<a href=\"https://paperswithcode.com/dataset/rte\" target=\"_blank\">https://paperswithcode.com/dataset/rte</a></p>\n<p>Further references:</p>\n<ul>\n<li><a href=\"https://www.cs.upc.edu/~ageno/anlp/textualEntailment.pdf\" target=\"_blank\">Textual Entailment References</a></li>\n<li><a href=\"https://nlp.stanford.edu/projects/snli/\" target=\"_blank\">SNLI corpus</a></li>\n</ul>\n<p>Please let me know your thoughts. Thank you.</p>",
  "messages": [
    {
      "id": 1792589,
      "postDate": "2022-05-17T05:38:19.663Z",
      "content": "<p>Following up on the last topic about <a href=\"https://www.kaggle.com/competitions/AI4Code/discussion/324509\" target=\"_blank\">Textual similarity approach</a> to solve the problem, one another potential approach I was thinking that may be helpful for this problem is <a href=\"https://en.wikipedia.org/wiki/Textual_entailment\" target=\"_blank\">Textual Entailment based methods</a>.</p>\n<p>From the Wikipedia page about textual entailment,</p>\n<pre><code>In the Textual Entailment framework, the entailing and entailed texts are termed text (t) and hypothesis (h), respectively. \nTextual entailment is not the same as pure logical entailment – it has a more relaxed definition: \"t entails h\" (t ⇒ h) if, typically, a human reading t would infer that h is most likely true. (Alternatively: t ⇒ h if and only if, typically, a human reading t would be justified in inferring the proposition expressed by h from the proposition expressed by t)\n</code></pre>\n<p>The textual entailment objective for our case would be whether <code>markdown cell</code> entails the <code>code cell</code> or vice versa. Once we build the models, we can rank-order the pairs based on the entailment score and then select the top markdown cell as the next / previous cell.</p>\n<p>Some challenges were conducted for Textual Entailment in the past and can be seen in<br>\n<a href=\"https://aclweb.org/aclwiki/Recognizing_Textual_Entailment\" target=\"_blank\">https://aclweb.org/aclwiki/Recognizing_Textual_Entailment</a></p>\n<p>Some of the top approaches for recognizing textual entailment are present in <br>\n<a href=\"https://paperswithcode.com/dataset/rte\" target=\"_blank\">https://paperswithcode.com/dataset/rte</a></p>\n<p>Further references:</p>\n<ul>\n<li><a href=\"https://www.cs.upc.edu/~ageno/anlp/textualEntailment.pdf\" target=\"_blank\">Textual Entailment References</a></li>\n<li><a href=\"https://nlp.stanford.edu/projects/snli/\" target=\"_blank\">SNLI corpus</a></li>\n</ul>\n<p>Please let me know your thoughts. Thank you.</p>",
      "rawMarkdown": "Following up on the last topic about [Textual similarity approach](https://www.kaggle.com/competitions/AI4Code/discussion/324509) to solve the problem, one another potential approach I was thinking that may be helpful for this problem is [Textual Entailment based methods](https://en.wikipedia.org/wiki/Textual_entailment).\n\nFrom the Wikipedia page about textual entailment,\n```\nIn the Textual Entailment framework, the entailing and entailed texts are termed text (t) and hypothesis (h), respectively. \nTextual entailment is not the same as pure logical entailment – it has a more relaxed definition: \"t entails h\" (t ⇒ h) if, typically, a human reading t would infer that h is most likely true. (Alternatively: t ⇒ h if and only if, typically, a human reading t would be justified in inferring the proposition expressed by h from the proposition expressed by t)\n```\n\nThe textual entailment objective for our case would be whether `markdown cell` entails the `code cell` or vice versa. Once we build the models, we can rank-order the pairs based on the entailment score and then select the top markdown cell as the next / previous cell.\n\nSome challenges were conducted for Textual Entailment in the past and can be seen in\nhttps://aclweb.org/aclwiki/Recognizing_Textual_Entailment\n\nSome of the top approaches for recognizing textual entailment are present in \nhttps://paperswithcode.com/dataset/rte\n\nFurther references:\n* [Textual Entailment References](https://www.cs.upc.edu/~ageno/anlp/textualEntailment.pdf)\n* [SNLI corpus](https://nlp.stanford.edu/projects/snli/)\n\nPlease let me know your thoughts. Thank you.",
      "votes": 20
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1792589": "Following up on the last topic about [Textual similarity approach](https://www.kaggle.com/competitions/AI4Code/discussion/324509) to solve the problem, one another potential approach I was thinking that may be helpful for this problem is [Textual Entailment based methods](https://en.wikipedia.org/wiki/Textual_entailment).\n\nFrom the Wikipedia page about textual entailment,\n```\nIn the Textual Entailment framework, the entailing and entailed texts are termed text (t) and hypothesis (h), respectively. \nTextual entailment is not the same as pure logical entailment – it has a more relaxed definition: \"t entails h\" (t ⇒ h) if, typically, a human reading t would infer that h is most likely true. (Alternatively: t ⇒ h if and only if, typically, a human reading t would be justified in inferring the proposition expressed by h from the proposition expressed by t)\n```\n\nThe textual entailment objective for our case would be whether `markdown cell` entails the `code cell` or vice versa. Once we build the models, we can rank-order the pairs based on the entailment score and then select the top markdown cell as the next / previous cell.\n\nSome challenges were conducted for Textual Entailment in the past and can be seen in\nhttps://aclweb.org/aclwiki/Recognizing_Textual_Entailment\n\nSome of the top approaches for recognizing textual entailment are present in \nhttps://paperswithcode.com/dataset/rte\n\nFurther references:\n* [Textual Entailment References](https://www.cs.upc.edu/~ageno/anlp/textualEntailment.pdf)\n* [SNLI corpus](https://nlp.stanford.edu/projects/snli/)\n\nPlease let me know your thoughts. Thank you."
  }
}