diff options
Diffstat (limited to 'src/lib/sounds/repr.ml')
-rw-r--r-- | src/lib/sounds/repr.ml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/lib/sounds/repr.ml b/src/lib/sounds/repr.ml new file mode 100644 index 0000000..af13e68 --- /dev/null +++ b/src/lib/sounds/repr.ml @@ -0,0 +1,56 @@ +type t = string + +let a = "a" +and a_nasal = "@" + +and e_opened = "E" +and e_closed = "e" +and schwa = "°" + +and eu = "9" + +and o = "o" +and o_nasal = "§" + +and i = "i" +and i_nasal = "5" +and y = "y" +and y_nasal = "1" + +and u = "u" + +and p = "p" +and b = "b" +and t = "t" +and d = "d" + +and k = "k" +and g = "g" + +and f = "f" +and v = "v" + +and ch = "S" +and j = "Z" + +and s = "s" +and z = "z" + +and m = "m" +and n = "n" + +and l = "L" +and r = "R" + +and semi_voyel_w = "w" +and semi_voyel_y = "j" + +let muted + : t -> t + = fun t -> + Printf.sprintf "(%s)" t + +let diphtongue + : t -> t -> t + = fun t1 t2 -> + Printf.sprintf "[%s%s]" t1 t2 |