get_outdegrees {sehrnett}R Documentation

Get outdegrees

Description

Search for outdegrees based on linkid. Various sugars are also provided with different default linkids.

Usage

get_outdegrees(x, linkid = 1)

get_hypernyms(x)

get_hyponyms(x)

get_holonyms(x)

get_meronyms(x)

get_causes(x)

get_antonyms(x)

get_derivatives(x)

get_pertainyms(x)

list_linktypes()

Arguments

x

character, one or more Synset IDs to be searched, or a data.frame result from another get_ function

linkid

a vector of numeric linkids. Use list_linktypes() to obtain a full list.

Value

a data frame containing search result

Examples


if (interactive()) {
get_lemmas("dog", pos = "n", sensenum = 1) %>% get_outdegrees(linkid = 1)
get_lemmas("dog", pos = "n", sensenum = 1) %>% get_hyponyms()
get_lemmas("nice", pos = "a", sensenum = 1) %>% get_antonyms()
}


[Package sehrnett version 0.1.0 Index]