Skip to main content
April 18, 2024
Solved

Similarity between two sentences

  • April 18, 2024
  • 10 replies
  • 0 views

Hi, I'm trying to compare the similarity between two texts(For a dashboard), I found a plugin (similarity) but apparently it has a high cpu usage.

Does anyone know if there is any out of the box solution or another plugin for this?

Thanks!

    Best answer by venkatrea696188

    AFAIK there in't any , And I don't think Appian is right fit for it. it's better to integrate with a service that does the work 

    10 replies

    venkatrea696188
    April 18, 2024

    AFAIK there in't any , And I don't think Appian is right fit for it. it's better to integrate with a service that does the work 

    April 18, 2024

    Yes, I think so too. Do you know any service that can do that?

    venkatrea696188
    April 18, 2024

    I too don't know , But many thanks to Chatgpt . I think all are paid services.

    shubhama926776
    April 18, 2024

     [mention:d9737c9b566a47159485a573139116ad:e9ed411860ed4f2ba0265705b8793d05] 

    Does anyone know if there is any out of the box solution

    There isn't an out-of-the-box solution in Appian for text similarity

    Yes CPU usage for Similarity Plugin is very high depending on strings but You can make use of Appian built in function to build your solution as per your requirement or custom plugin.

    karthikk538
    April 18, 2024

    Hi,

    Can you post an example of what you are trying to compare?

    Are you referring to meaning of the text? or the words in the text?

    April 18, 2024

    I want to know how similar for example is "Hello World" to "Hello World to you"

    karthikk538
    April 18, 2024

    ok, i don't think you can compare by meaning of the text, but the words comparison can be achieved either using Appian OOTB  functions or in DB  as well.

    But this may return false positives as well, "hello world" and "world hello" would be same. 

    To enhance this further more, split the words in sentence  and add indexes to each word, compare both the words along with indexes,  to get the probability of the outcome based on the number of words and its index in a sentence.

    ranjank0002
    April 18, 2024

    Hi [mention:d9737c9b566a47159485a573139116ad:e9ed411860ed4f2ba0265705b8793d05] ,

    Are you looking for text comparison in two different doc/pdf files(like two different versions of a document and to check what has changed between two) or in two strings(like "Hello World" and "Hello World Appian")?

    April 18, 2024

    Hi [mention:a87925128ff649dd82cb74d1f5bc682e:e9ed411860ed4f2ba0265705b8793d05]  Comparison in two strings.