make_gloss_list: Make a gloss list

View source: R/make_gloss_list.R

make_gloss_listR Documentation

Make a gloss list

Description

Creates a gloss list based on glosses used in gloss_example. This function tries to guess the meaning of used glosses based on some internal database or database provided by user. You shouldn't treat result as carved in stone: you can copy, modify and paste in your markdown document. If you want your glossing list to be created automatically with make_gloss_list you can compile your own table in the definition_source argument.

Usage

make_gloss_list(
  definition_source = lingglosses::glosses_df,
  remove_glosses = "",
  all_possible_variants = FALSE,
  annotate_problematic = TRUE
)

Arguments

definition_source

dataframe with the columns gloss and definition that helps to automatic search for the gloss definitions.

remove_glosses

character vector that contains glosses that should be removed from the abbreviation list.

all_possible_variants

logical. Some glosses have multiple definitions.

annotate_problematic

logical. Whether emphasize duplicated and definitionless glosses

Value

a string with glosses and their definitions gathered from definition_source table.

Author(s)

George Moroz <agricolamz@gmail.com>


agricolamz/lingglosses documentation built on Oct. 12, 2023, 3:18 p.m.