This file contains 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://www.jasondavies.com/wordcloud/d3.layout.cloud.js"></script> | |
<script> | |
var fill = d3.scale.category20(); | |
d3.layout.cloud().size([300, 300]) | |
.words([ |
This file contains 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(wrassp) | |
library(alveo) | |
library(emuR) | |
config <- read_config() | |
client <- RestClient(server_uri=config$base_url) | |
# find some items from mitchel & delbridge | |
items <- client$search_metadata('collection_name:mitcheldelbridge AND speech_style:scripted AND sex:f AND identifier:*s1 AND uid:*9') | |
# create an item list | |
result <- client$create_item_list(items, 'md_sample') |
This file contains 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:67a2f144df80487bd4ac3999393dcbe9d0f6b23d173d679a265f5822f590f418" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:80bd36aff028e7424151365df098be881a56c96559ace346474b97f274e6387d" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains 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
PREFIX dc:<http://purl.org/dc/terms/> | |
PREFIX austalk:<http://ns.austalk.edu.au/> | |
PREFIX olac:<http://www.language-archives.org/OLAC/1.1/> | |
PREFIX ausnc:<http://ns.ausnc.org.au/schemas/ausnc_md_model/> | |
PREFIX foaf:<http://xmlns.com/foaf/0.1/> | |
PREFIX dbpedia:<http://dbpedia.org/ontology/> | |
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX geo:<http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX iso639schema:<http://downlode.org/rdf/iso-639/schema#> |
This file contains 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
__author__ = 'steve' | |
import json | |
import os | |
import pickle | |
import gzip | |
class TroveIndex: | |
"""An index over a Trove data set""" |
This file contains 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
import argparse | |
import sys | |
import os | |
def parser(): | |
parser = argparse.ArgumentParser(description="Generates some sample documents in a dataset") | |
parser.add_argument('--output_path', required=True, action="store", type=str, help="Path to output file") | |
return parser.parse_args() | |
This file contains 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
! template file for children's speech | |
level Set | |
level Word Set | |
level Syllable Word | |
level Phoneme Syllable | |
level Phonetic Phoneme many-to-many | |
level Target Phonetic | |
label Set Speaker |
This file contains 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
import sys | |
import os | |
import wave | |
import array | |
import shutil | |
def ssff_rewrite(ssfffile, outdir): | |
"""Copy an SSFF format file but reset the | |
start time to 0.0""" |
This file contains 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
import sys,os,random | |
import pyalveo | |
import time | |
from glob import glob | |
import csv | |
# disable insecure HTTPS warnings from the staging servers | |
import requests | |
requests.packages.urllib3.disable_warnings() |
OlderNewer