SynsetVector2SynsetFeatureVectorPipe: Class to transform a SynsetVector into a SynsetFeatureVector

Description Usage Arguments Format Details Inherit Methods See Also

Description

A pipe to transform a SynsetVector wich contains a list of synsets included in a message into a SynsetFeatureVector wich compile togeher duplicated features and assign a score for each feature according with a groupingStrategy.

Usage

1
2
3
SynsetVector2SynsetFeatureVectorPipe$new(propertyName = "",
                                         alwaysBeforeDeps = list(),
                                         notAfterDeps = list())

Arguments

propertyName

(character) Name of the property associated with the pipe.

alwaysBeforeDeps

(list) The dependences alwaysBefore (pipes that must be executed before this one).

notAfterDeps

(list) The dependences notAfter (pipes that cannot be executed after this one).

Format

An object of class R6ClassGenerator of length 24.

Details

The groupStrategy is one of the following: - COUNT: indicates the number of times that a synset is observed in the content. - BOOLEAN: Indicates if the synset is observed in the content (1) or not (0). - FREQUENCY: Indicates the frequency of the synset in the text that is the count of times that the synset is observed divided by the whole amount of synsets.

Inherit

This class inherits from PipeGeneric and implements the pipe abstract function.

Methods

See Also

PipeGeneric, Instance


miferreiro/bdp4R documentation built on May 20, 2019, 12:59 a.m.