Lingglosses
R package that helps to render interlinear glossed linguistic examples in html rmarkdown documents and then semi-automatically compiles the glosses list
Install / Use
/learn @agricolamz/LingglossesREADME
<!-- README.md is generated from README.Rmd. Please edit that file -->
lingglosses: Linguistic glosses and semi-automatic list of glosses creation
The main goal of the lingglosses R package is to create:
- linguistic glosses for
.htmloutput ofrmarkdown;
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()
<span style="font-variant:small-caps;">hab</span> — habitual; <span style="font-variant:small-caps;">inf</span> — infinitive; <span style="font-variant:small-caps;">neg</span> — negation; <span style="font-variant:small-caps;">npst</span> — non-past
For more details see the html-version of the tutorial.
You can also be interested in
- ODIN project;
- a Python library
Xigt; - scription format and scription2dlx Java-script library;
- a Python library
pyigt; - an R package interlineaR.
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},
> }
