Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Text Similarity Using lsemantica

    Hi, I am new to Stata text similarity. I am trying to use lsemantica command to identify the similarity between two text variables. However, it seems that the command uses only one variable. Can you please help me understand how I should calculate cosine similarity between these two variables: variable "abstract" contains scientific article abstracts and the variable "dictionary" contains a list of scientific terms in biomedicine. Using text similarity, I am hoping to understand how close each abstract is to biomedical research. Thank you for all your help!

  • #2
    See the XY problem. Your earlier posts as well as this one are asking about little-known community-contributed commands and difficulties you are facing using them. I suggest that you provide a reproducible example of your problem and tell us directly what you aim to achieve. See how you may use the dataex command to provide such an example by reading through FAQ Advice #12. In this way, you will increase your chances of making progress.
    Last edited by Andrew Musau; 08 Apr 2023, 07:07.

    Comment

    Working...
    X