Description Usage Arguments Value Author(s) Examples
View source: R/text_similarity_score.R
Generate similarity score between two text
1 2 3 4 5 6 7 | text_similarity_score(
input_text,
target_text,
space = TRUE,
ignore_case = TRUE,
score = 0
)
|
input_text |
A vector of text that need to be cleaned |
target_text |
A vector of text as the standard text format |
space |
A logical indicating whether to include space in the calculation. Default TRUE |
ignore_case |
A logical indicating whether to ignore case. Default TRUE |
score |
A numeric value indicating the score accepted as similar. Default 0 |
A dataframe contain the origital text, target text and the score
Dessy Amirudin
1 | text_similarity_score(c("germany","southkorea"),"South Korea")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.