An open API service indexing awesome lists of open source software.

https://github.com/liao961120/linguisticsdown

Easy Linguistics Document Writing with R Markdown
https://github.com/liao961120/linguisticsdown

linguistics r r-package rmarkdown rmarkdown-template

Last synced: 6 months ago
JSON representation

Easy Linguistics Document Writing with R Markdown

Awesome Lists containing this project

README

          

---
output:
md_document:
variant: markdown_github
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(
echo = TRUE,
fig.path = "README-",
message = FALSE,
warning = FALSE,
collapse = TRUE,
comment = "#>"
)
library(knitr)
```

[![Build Status](https://travis-ci.org/liao961120/linguisticsdown.svg?branch=master)](https://travis-ci.org/liao961120/linguisticsdown)
[![Support R Version](https://img.shields.io/badge/R-≥%203.4.0-blue.svg)](https://cran.r-project.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![cran version](http://www.r-pkg.org/badges/version/linguisticsdown)](https://CRAN.R-project.org/package=linguisticsdown)

# linguisticsdown

The goal of **linguisticsdown** is to support Linguistics-related document writing in R Markdown, such as providing a [Shiny Gadget](https://shiny.rstudio.com/articles/gadgets.html) to write and insert IPA symbols easily and functions to draw syntax tree (not implemented yet).

## Installation
```{r eval=FALSE}
# CRAN
install.packages("linguisticsdown")

# Latest
#install.packages('remotes')
remotes::install_github("liao961120/linguisticsdown")
```

## Usage

See **linguisticsdown** [web site](https://liao961120.github.io/linguisticsdown).
Visit [this site](https://liao961120.shinyapps.io/IPA-Easily-Written/) to use Shiny live demo.

## To Do

1. Correct IPA segments naming errors ([#3](/../../issues/3))
1. More Shiny gadget options
- Wrap in `/ /`, `[ ]`, or `don't wrap`
- Insert as decoded unicode
1. Draw Syntax Tree

## Data Source

Thanks [David R. Mortensen](https://github.com/dmort27) for his [IPA data](https://github.com/dmort27/epitran/blob/master/epitran/data/ipa-xsampa.csv).