gallitoContour: gallitoContour

View source: R/QLSA.R

gallitoContourR Documentation

gallitoContour

Description

gallitoContour is a function that will extract a word contour from Gallito API LSA semantic space. It takes a word or a tupple (separated by "_") and returns a data frame with the contour of that word.

Usage

gallitoContour(
  word,
  gallitoCode,
  spaceName,
  neighbors = 100,
  min_cosine_contour = 0.3
)

Arguments

word

A string or a tupple of strings separated by "_" indicating the word for which you want to extract the contour

gallitoCode

Gallito API password to extract information from the LSA semantic space.

spaceName

Gallito API LSA semantic space you want to use.

neighbors

The number of neighbors inside the contour of the word. By default 'neighbors = 100'.

min_cosine_contour

minimum cosine required for being a contour exemplar. By default 'min_cosine_contour = 0.3'.

Value

A data frame with the contour of the word is returned.


alejandrommingo/QLSA documentation built on March 19, 2022, 3:36 a.m.