# Is there a method to calculate text similarity?

**URL:** <https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341>\
**Category:** Ask for Help\
**Created:** [November 4, 2022, 5:11pm UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341 "2022-11-04T17:11:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 4, 2022, 5:11pm UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/1 "2022-11-04T17:11:49Z")

</div>

I wasn’t expecting anything complex, but it was effective enough to validate duplicate content that was similar from one column to another. The content of this article is about three paragraphs or more.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 4, 2022, 5:26pm UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/2 "2022-11-04T17:26:13Z")

</div>

What?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 4, 2022, 5:47pm UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/3 "2022-11-04T17:47:32Z")

</div>

Thanks, Darren,  
Sorry, I have two text fields that the user must fill in. They are not allowed to fill with similar content above 40%. What method can I use to validate it?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 5, 2022, 1:18am UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/4 "2022-11-05T01:18:25Z")

</div>

So some sort like plagiarism check?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 5, 2022, 1:56am UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/5 "2022-11-05T01:56:42Z")

</div>

Yes, something like that.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 5, 2022, 11:31am UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/6 "2022-11-05T11:31:27Z")

</div>

A Google search for “text similarity API” turns up several promising results. I’d imagine it wouldn’t be too difficult to implement something with the Fetch JSON plugin.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 5, 2022, 3:42pm UTC](https://community.glideapps.com/t/is-there-a-method-to-calculate-text-similarity/53341/7 "2022-11-05T15:42:46Z")

</div>

Excellent, I’ll give it a try.  
thank you very much.
