updated data representation in README

This commit is contained in:
Lucien Cartier-Tilet 2020-03-29 18:09:43 +02:00
parent a7b447906d
commit 714472e857
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -53,33 +53,33 @@
#+BEGIN_SRC json
{
"version": "1",
"categories": [
["V", "aeiou"],
["L", "āēīōū"],
["C", "ptcqbdgmnlrhs"],
["F", "ie"],
["B", "ou"],
["S", "ptc"],
["Z", "bgd"]
],
"rules": [
["[sm]$", ""],
["i(?P<v>%V)", "j$v"],
["%L", "%V"],
["(?P<v>%Vr)e$", "$v"],
["(?P<b>%V)v(?P<a>%V)", "$b$a"],
["u$", "o"],
["gn", "nh"],
["(?P<b>%V)p(?P<a>%V)", "$vb$a"],
["(?P<b>%V)t(?P<a>%V)", "$bd$a"],
["(?P<b>%V)c(?P<a>%V)", "$bg$a"],
["(?P<f>%F)ct", "$fit"],
["(?P<b>%B)ct", "$but"],
["(?P<v>%V)pt", "$vt"],
["ii", "i"],
["(?P<c>%C)er(?P<v>%V)", "$cr$v"],
["lj", "lh"]
]
"categories": {
"B": "ou",
"C": "ptcqbdgmnlrhs",
"F": "ie",
"Z": "bgd",
"L": "āēīōū",
"S": "ptc",
"V": "aeiou"
},
"rules": {
"(?P<b>%B)ct": "$but",
"(?P<b>%V)t(?P<a>%V)": "$bd$a",
"u$": "o",
"(?P<b>%V)c(?P<a>%V)": "$bg$a",
"(?P<b>%V)v(?P<a>%V)": "$b$a",
"gn": "nh",
"ii": "i",
"(?P<f>%F)ct": "$fit",
"i(?P<v>%V)": "j$v",
"(?P<b>%V)p(?P<a>%V)": "$vb$a",
"(?P<v>%Vr)e$": "$v",
"lj": "lh",
"[sm]$": "",
"%L": "%V",
"(?P<v>%V)pt": "$vt",
"(?P<c>%C)er(?P<v>%V)": "$cr$v"
}
}
#+END_SRC
@ -88,53 +88,30 @@
---
version: "1"
categories:
- - V
- aeiou
- - L
- āēīōū
- - C
- ptcqbdgmnlrhs
- - F
- ie
- - B
- ou
- - S
- ptc
- - Z
- bgd
Z: bgd
S: ptc
V: aeiou
F: ie
L: āēīōū
B: ou
C: ptcqbdgmnlrhs
rules:
- - "[sm]$"
- ""
- - i(?P<v>%V)
- j$v
- - "%L"
- "%V"
- - (?P<v>%Vr)e$
- $v
- - (?P<b>%V)v(?P<a>%V)
- $b$a
- - u$
- o
- - gn
- nh
- - (?P<b>%V)p(?P<a>%V)
- $vb$a
- - (?P<b>%V)t(?P<a>%V)
- $bd$a
- - (?P<b>%V)c(?P<a>%V)
- $bg$a
- - (?P<f>%F)ct
- $fit
- - (?P<b>%B)ct
- $but
- - (?P<v>%V)pt
- $vt
- - ii
- i
- - (?P<c>%C)er(?P<v>%V)
- $cr$v
- - lj
- lh
"%L": "%V"
(?P<b>%V)v(?P<a>%V): $b$a
u$: o
"[sm]$": ""
gn: nh
(?P<f>%F)ct: $fit
(?P<b>%V)p(?P<a>%V): $vb$a
ii: i
(?P<c>%C)er(?P<v>%V): $cr$v
lj: lh
(?P<v>%Vr)e$: $v
(?P<b>%V)c(?P<a>%V): $bg$a
(?P<b>%B)ct: $but
i(?P<v>%V): j$v
(?P<b>%V)t(?P<a>%V): $bd$a
(?P<v>%V)pt: $vt
#+END_SRC
You can find more information on how to use regular expressions with this