Perform Step 1 in this guide: https://kb.dynamicsoflanguage.edu.au/contribute/setup/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \me jakanypa (N): (H) | |
| \dm flora: watiya: \edm | |
| \lat Petalostylis cassioides \elat | |
| \me jakutakuta (N): (La,Y) | |
| \dm flora: miyi: \edm | |
| \lat Cassytha filiformis \elat | |
| \me janjinki (N): (Y) | |
| \dm flora: watiya: \edm | |
| \lat Acacia inaequilatera \elat | |
| \me janjinngi (N): (Y) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% | |
| my_table = [ | |
| { "me" : "voiture", "eng": "car" }, | |
| { "me": "rouge", "eng": "red" } | |
| ] | |
| %> | |
| <table> | |
| <% my_table.map(row => {%> | |
| <tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You may need to run | |
| npm link moo | |
| npm link nearley | |
| # npm link [package-name-of-a-global-install] | |
| # for the first you run things to get the packages linked to | |
| # the directory in which you are running the scripts | |
| # Compile nearley grammar to javascript code | |
| nearleyc grammar.ne > grammar.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(shiny) | |
| library(dplyr) | |
| library(stringr) | |
| library(zoo) | |
| library(purrr) | |
| library(tidyr) | |
| options(shiny.maxRequestSize=30*1024^2) | |
| reversalize <- function(wrl_txt_path) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| library(leaflet) | |
| lang_dialects <- read_csv( | |
| # CSV file of languages with region, latitude and longitude | |
| file = "https://git.io/vFeOj" | |
| ) | |
| abs_2016 <- read_csv( | |
| # CSBV file of ABS 2016 census data with language names and number of speakers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a tidyverse-friendly wrapper function for wrassp::mhsF0 | |
| # | |
| # Usage: | |
| # | |
| # dir(path = ".", pattern = "*.wav", full.names = TRUE) %>% mhsF0_df | |
| # dir(path = ".", pattern = "*.wav", full.names = TRUE) %>% mhsF0_df(beginTime = 1, gender = "f") | |
| # | |
| # For list of arguments to wrassp::mhsF0, see https://www.rdocumentation.org/packages/wrassp/versions/0.1.4/topics/mhsF0 | |
| mhsF0_df <- function(fileList, ...) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| // Helper to split an initial object into a nested array | |
| // by Mark Ellison <https://github.com/tyrannomark> mostly! | |
| ecuder([x => x.split(" ")])("one two") | |
| ecuder([x => x.split(" "), x => x.split("")])("one two") | |
| ecuder([x => x.split(/\.\s?/), x => x.split(" "), x => x.split("")])("sentence one. sentence two") | |
| */ | |
| function ecuder(funcs_array, initial_obj) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generates a script ~/init_users.sh, which when run | |
| # adds 50 users who can log into the Docker image running rocker/verse | |
| # https://hub.docker.com/r/rocker/verse/ | |
| library(purrr) | |
| library(stringr) | |
| install.packages("glue") | |
| library(glue) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| license: gpl-3.0 | |
| height: 480 |