Skip to content

R package that helps to render interlinear glossed linguistic examples in html rmarkdown documents and then semi-automatically compiles the glosses list

License

Notifications You must be signed in to change notification settings

agricolamz/lingglosses

Repository files navigation

lingglosses: Linguistic glosses and semi-automatic list of glosses creation

CRAN version Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI R build status

The main goal of the lingglosses R package is to create:

  • linguistic glosses for .html output of rmarkdown;
gloss_example(transliteration = "bur-e-ri c'in-ne-sːu",
              glosses = "fly-NPST-INF know-HAB-NEG", 
              free_translation = "I cannot fly.", 
              comment = "(lit. do not know how to)")
  • semi-automatic compiled abbreviation list.
make_gloss_list()

hab — habitual; inf — infinitive; neg — negation; npst — non-past

For more details see the html-version of the tutorial.

You can also be interested in

Installation

You can install the stable version from CRAN:

install.packages("lingglosses")

You can also install the development version of lingglosses from GitHub with:

# install.packages("remotes")
remotes::install_github("agricolamz/lingglosses")

How to cite this package

citation("lingglosses")
> 
> To cite lingglosses in publications use:
> 
>   Moroz, G. (2021) lingglosses: Linguistic glosses and semi-automatic
>   list of glosses creation. (Version 0.0.2). Zenodo
>   https://doi.org/10.5281/zenodo.5801712
> 
> A BibTeX entry for LaTeX users is
> 
>   @Manual{,
>     title = {lingglosses: Linguistic glosses and semi-automatic list of glosses creation},
>     author = {George Moroz},
>     year = {2021},
>     doi = {10.5281/zenodo.5801712},
>   }