digitallinguistics / transliterate

A small JavaScript library for transliterating strings between different orthographies
MIT License
9 stars 0 forks source link

transliterate #25

Closed dwhieb closed 5 years ago

dwhieb commented 7 years ago

Overview

You'll be writing a function called transliterate, which converts text from one writing system to another (a process called transliteration) You'll work with the Chitimacha writing system as an example (the language I work on in Louisiana).

The Chitimacha language has several writing systems: one that Morris Swadesh used to document the language back in the 1930s; the standard Americanist writing system that most linguists studying Native American languages use; and the modern tribal orthography. Below is a table comparing the three writing systems, and their IPA values:

IPA APA Swadesh Modern
a a a a
aa
b b
t͡ʃ c
d d
t͡sˀ ʒ dz
e e e e
ee
g g
h h h h
i i i i
ii
t͡ʃˀ čʼ ǯ j
k k k k
m m m m
n n n n
o o o o
oo
p p p p
ʔ ʔ ʔ q
s s s s
t t t t
t͡s c c ts
u u u u
uu
v v v v
w w w w
ʃ x
j y y y

Tasks

Here are your instructions. Remember you can (and should) commit your changes as you go, and sync them with GitHub. Then if you have any questions, I can go see where you're stuck.

Setup

Code