The Term class is one of the four core classes in the sfutils package. A Term is a single word.
Term(term, ...)
term | term to be fingerprinted |
---|---|
... | other options to be passed (uuid) |
(From http://documentation.cortical.io/working_with_terms.html) The basic building blocks for performing semantic computations are the representations for single terms. Each Retina contains semantic representations (fingerprints) for a large number of terms, and this page describes how to retrieve these from the API. Furthermore we describe how to query the Retina for semantically similar terms, and retrieve a list of contexts in which a given term can occur.
term
term to be fingerprinted
df
the df value of the term
score
the score of this term
pos_types
the position type of this term
fingerprint
numeric vector of the fingerprint
See the Cortical documentation for more information about semantic fingerprinting and terms
# NOT RUN { # Fingerprint a term trm_fp <- do_fingerprint_term("Finance") # }