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