Produces a data.frame of juxtaposed word pairs used to extract a semantic direction from word embeddings. Can be used as input to get_direction().

get_anchors(relation)

Arguments

relation

String indicating a semantic relation, 26 relations are available in the dataset (see details).

Value

returns a tibble with two columns

Details

Sets of juxtaposed "anchor" pairs are adapted from published work and associated with a particular semantic relation. These should be used as a starting point, not as a "ground truth."

Available relations include:

  • activity

  • affluence

  • age

  • attractiveness

  • borders

  • concreteness

  • cultivation

  • dominance

  • education

  • gender

  • government

  • purity

  • safety

  • sexuality

  • skills

  • status

  • valence

  • whiteness

Author

Dustin Stoltz

Examples


gen <- get_anchors(relation = "gender")