get_words_similarity: Get the similarity between two words

View source: R/get_words_similarity.R

get_words_similarityR Documentation

Get the similarity between two words

Description

Get the similarity between two words

Usage

get_words_similarity(
  word1 = "(2S)-2-Amino-3-(1-methyl-1H-imidazol-4-yl)propanoic acid",
  word2 = "(2S)-2-Amino-3-(1-methyl-1H-imidazol-4-yl)propanoate",
  ...
)

Arguments

word1

word1.

word2

word2.

...

Other arguments for stringdist::stringsim()

Value

A simility score.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

get_words_similarity(word1 = "(2S)-2-Amino-3-(1-methyl-1H-imidazol-4-yl)propanoic acid",
word2 = "(2S)-2-Amino-3-(1-methyl-1H-imidazol-4-yl)propanoate")

tidymass/massdatabase documentation built on Oct. 18, 2024, 3:56 p.m.