lingglosses

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

https://github.com/agricolamz/lingglosses

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

glosses glosses-list interlinear-gloss language-documentation linguistics r rmarkdown typology
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 16
  • Watchers: 1
  • Forks: 3
  • Open Issues: 4
  • Releases: 6
Topics
glosses glosses-list interlinear-gloss language-documentation linguistics r rmarkdown typology
Created about 4 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License Codemeta

README.Rmd

---
output:
  html_document:
    keep_md: yes
---



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

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = ">",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
library(lingglosses)
```

[![CRAN version](https://www.r-pkg.org/badges/version/lingglosses)](https://cran.r-project.org/package=lingglosses)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![](http://cranlogs.r-pkg.org/badges/grand-total/lingglosses)](https://CRAN.R-project.org/package=lingglosses)
[![DOI](https://zenodo.org/badge/440443756.svg)](https://zenodo.org/badge/latestdoi/440443756)
[![R build status](https://github.com/agricolamz/lingglosses/workflows/R-CMD-check/badge.svg)](https://github.com/agricolamz/lingglosses/actions)

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

* linguistic glosses for `.html` output of `rmarkdown`;
```{r, eval = FALSE}
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)")
```

```{r, include=FALSE}
write.table(x = c("NPST", "INF", "HAB", "NEG"), 
            file = getOption("lingglosses.glosses_list"),
            row.names = FALSE, col.names = FALSE, append = TRUE)
```

* semi-automatic compiled abbreviation list.
```{r}
make_gloss_list()
```

For more details see the [html-version of the tutorial](https://agricolamz.github.io/lingglosses/).

You can also be interested in 

* [ODIN project](https://odin.linguistlist.org/);
* a Python library [`Xigt`](https://github.com/xigt/xigt);
* [scription format](https://github.com/digitallinguistics/scription) and [scription2dlx Java-script library](https://github.com/digitallinguistics/scription2dlx);
* a Python library [`pyigt`](https://github.com/cldf/pyigt).

## Installation

You can install the stable version from CRAN:

```{r, eval = FALSE}
install.packages("lingglosses")
```

You can also install the development version of `lingglosses` from [GitHub](https://github.com/agricolamz/lingglosses) with:

```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("agricolamz/lingglosses")
```

## How to cite this package

```{r}
citation("lingglosses")
```

```{r, include=FALSE}
# add this chunk to end of mycode.rmd
file.rename(from="README.md",
            to="README.md")
```

Owner

  • Name: George Moroz
  • Login: agricolamz
  • Kind: user
  • Location: Russia, Moscow
  • Company: Linguistic Convergence Laboratory, NRU HSE (https://ilcl.hse.ru/en/)

I'm teaching Linguistics and working on phonetics, linguistic mapping, statistics and indigenous language of the Caucasus

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "lingglosses",
  "description": "Helps to render interlinear glossed linguistic examples in html 'rmarkdown' documents and then semi-automatically compiles the list of glosses at the end of the document. It also provides a database of linguistic glosses.",
  "name": "lingglosses: Interlinear Glossed Linguistic Examples and Abbreviation Lists Generation",
  "relatedLink": "https://agricolamz.github.io/lingglosses/",
  "codeRepository": "https://CRAN.R-project.org/package=phonfieldwork",
  "issueTracker": "https://github.com/agricolamz/lingglosses/issues",
  "license": "https://spdx.org/licenses/GPL-3.0",
  "version": "0.0.4",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.2.0 (2022-04-22)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "George",
      "familyName": "Moroz",
      "email": "agricolamz@gmail.com",
      "@id": "https://orcid.org/0000-0003-1990-6083"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "George",
      "familyName": "Moroz",
      "email": "agricolamz@gmail.com",
      "@id": "https://orcid.org/0000-0003-1990-6083"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "version": ">= 3.0.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.5.0"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "kableExtra",
      "name": "kableExtra",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=kableExtra"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "SystemRequirements": null
  },
  "fileSize": "53.058KB",
  "citation": [
    {
      "@type": "SoftwareSourceCode",
      "datePublished": "2021",
      "author": [
        {
          "@type": "Person",
          "givenName": "George",
          "familyName": "Moroz"
        }
      ],
      "name": "lingglosses: Linguistic glosses and semi-automatic list of glosses creation",
      "identifier": "10.5281/zenodo.5801712",
      "@id": "https://doi.org/10.5281/zenodo.5801712",
      "sameAs": "https://doi.org/10.5281/zenodo.5801712"
    }
  ]
}

GitHub Events

Total
  • Watch event: 2
  • Push event: 7
  • Fork event: 1
Last Year
  • Watch event: 2
  • Push event: 7
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 177
  • Total Committers: 3
  • Avg Commits per committer: 59.0
  • Development Distribution Score (DDS): 0.023
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
George Moroz a****z@g****m 173
sverhees j****s@g****m 3
Yihui Xie x****e@y****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 21
  • Total pull requests: 4
  • Average time to close issues: 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 5
  • Total pull request authors: 2
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.75
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • agricolamz (17)
  • maxmerben (1)
  • sverhees (1)
  • yihui (1)
  • fishfree (1)
Pull Request Authors
  • sverhees (3)
  • yihui (1)
Top Labels
Issue Labels
bug (12) enhancement (7)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 280 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 8
  • Total maintainers: 1
cran.r-project.org: lingglosses

Interlinear Glossed Linguistic Examples and Abbreviation Lists Generation

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 280 Last month
Rankings
Forks count: 17.8%
Stargazers count: 17.9%
Dependent packages count: 29.8%
Average: 32.6%
Dependent repos count: 35.5%
Downloads: 62.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • htmltools * imports
  • kableExtra * imports
  • knitr * imports
  • methods * imports
  • rmarkdown * imports
  • utils * imports
  • testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite