analogy | R Documentation |
Convert a formula to a named character vector in analogy tasks.
analogy(formula)
formula |
a formula object that defines the relationship between words
using |
a named character vector to be passed to similarity()
.
similarity()
analogy(~ berlin - germany + france)
analogy(~ quick - quickly + slowly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.