This method returns a retina representation (a Fingerprint) of the result of the input expression. An expression can contain Terms, Fingerprints, Texts and even nested expressions. The expression must be passed in the body of the method call. The sparsity parameter can be used to sparsify the evaluated expression to a given percentage. The parameter is only interpreted when in the range (0,1), and only applied, if the fingerprint is more dense than the desired sparsity level. http://api.cortical.io/Expression.htm#!/expressions/resolveExpression_post_0
1 2 | cortical_expressions(text, sparsity = 1, retina_name = "en_associative",
api_key = NULL)
|
text |
input a character vector: "a small lamb walked ..." |
sparsity |
standard 1.0, measure of sparsity. |
retina_name |
one of en_associative or en_synomous see retina. |
api_key |
your key, if you saved the key in .renviron leave this NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.