Description Usage Arguments Value Examples
View source: R/coRPysprofiling.R
Returns a numeric vector of the distance between the two corpora
1 2 3 4 5 6 | corpora_compare(
corpus1,
corpus2,
metric = "cosine_similarity",
model_name = "cb_ns_500_10"
)
|
corpus1 |
character vector |
corpus2 |
character vector |
metric |
character vector, optional (default : "cosine_similarity") |
model_name |
character vector, optional (default : "cb_ns_500_10") |
double vector
1 | coRPysprofiling::corpora_compare("kitten meows", "ice cream is yummy")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.