Marc Kupietz | bb4f54c | 2023-10-19 21:22:44 +0200 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/derekovecs.R |
| 3 | \name{cosineSimilarity} |
| 4 | \alias{cosineSimilarity} |
Marc Kupietz | c6a66ee | 2023-10-23 13:18:48 +0200 | [diff] [blame] | 5 | \title{Get cosine similarity} |
Marc Kupietz | bb4f54c | 2023-10-19 21:22:44 +0200 | [diff] [blame] | 6 | \usage{ |
| 7 | cosineSimilarity(w1, w2, ...) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{w1}{The first word.} |
| 11 | |
| 12 | \item{w2}{The second word.} |
| 13 | |
| 14 | \item{...}{Additional parameters to pass to the API.} |
| 15 | } |
| 16 | \value{ |
| 17 | The cosine similarity between the two words. |
| 18 | } |
| 19 | \description{ |
| 20 | Calculate the cosine similarity between two words in the derekovecs model. |
| 21 | } |