SkillAgentSearch skills...

Recipes

Recipes in Python and R to go with the Unicode Cookbook for Linguists

Install / Use

/learn @unicode-cookbook/Recipes
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Recipes for the Unicode Cookbook

Steven Moran & Michael Cysouw

License: MIT

Overview

This directory contains recipes (use cases) that supplement The Unicode Cookbook for Linguists. Each recipe is in its own subdirectory:

Installing Python segments package

To install the Python segments package from the Python Package Index (PyPI) run:

 pip install segments

on the command line. This will give you access to both the CLI and programmatic functionality in Python scripts, when you import the segments library.

You can also install the segments package with from the Github repository:

 git clone https://github.com/cldf/segments.git
 cd segments
 python setup.py develop

Installing R qlcData library

To install the qlcData library and accompanying data, install qlcData:

 install.packages("devtools")
 devtools::install_github("cysouw/qlcData", build_vignettes = T)

and then load the library:

 library(qlcData)

To access help, call:

help(qlcData)

To access the vignette, call:

vignette("orthography_processing")

Recipes

Each recipe contains a short use case with accompanying code. The directory structure is typically as follows:

|-- Recipe name
|    |-- recipe files
|    |-- data
|    |    └── orthography profiles
|    |-- sources
|    |    └── input data
|    |-- sandbox
|    |    └── where the output is written
View on GitHub
GitHub Stars6
CategoryDevelopment
Updated1y ago
Forks3

Languages

HTML

Security Score

55/100

Audited on Jul 22, 2024

No findings