check_synonymes: Check Synonymes

check_synonymesR Documentation

Check Synonymes

Description

Check synonyme table. Remove ambiguous mappings.

Usage

check_synonymes(
  synonymes,
  include.lowercase = TRUE,
  verbose = FALSE,
  sort = FALSE,
  self = FALSE,
  ignore.empty = FALSE,
  remove.ambiguous = TRUE
)

Arguments

synonymes

synonymes data.frame with the self-explanatory fields 'name' and 'synonyme'.

include.lowercase

Include lowercase versions of the synonymes

verbose

verbose

sort

Sort synonymes

self

Ensure that each name is synonyme for itself (this may cause ambiguous mappings, use with care !)

ignore.empty

If name field is empty, accept the given synonyme as the final name.

remove.ambiguous

Remove ambiguous terms.

Details

Remove duplicated information. Ensure identical matches are included in synonyme list.

Value

Polished synonyme table

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

## Not run: s <- check_synonymes(synonymes)

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.