lingglosses
: Linguistic glosses and semi-automatic list of glosses creationknitr::opts_chunk$set( collapse = TRUE, comment = ">", fig.path = "man/figures/README-", out.width = "100%" ) library(lingglosses)
The main goal of the lingglosses
R package is to create:
.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)")
write.table(x = c("NPST", "INF", "HAB", "NEG"), file = getOption("lingglosses.glosses_list"), row.names = FALSE, col.names = FALSE, append = TRUE)
make_gloss_list()
For more details see the html-version of the tutorial.
You can also be interested in
Xigt
;pyigt
.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")
citation("lingglosses")
# add this chunk to end of mycode.rmd file.rename(from="README.md", to="README.md")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.