Term-class: Term class

Description Usage Arguments Details Slots See Also Examples

Description

The Term class is one of the four core classes in the sfutils package. A Term is a single word.

Usage

1
Term(term, fingerprint, ...)

Arguments

term

term to be fingerprinted

fingerprint

fingerprint of the term

...

other options to be passed (uuid)

Details

(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.

Slots

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 Also

See the Cortical documentation for more information about semantic fingerprinting and terms

Examples

1
2
3
4
5
## Not run: 
# Fingerprint a term
trm_fp <- do_fingerprint_term("Finance")

## End(Not run)

FinTxt/customFingerprinteR documentation built on April 29, 2020, 9:56 p.m.