phonagen/web/data.json

202 lines
6.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"phonologies": [
{ "id": "sample-greek",
"description": "A sample for testing purpose.",
"transcriptions": ["phoneme", "latin", "greek", "runic"],
"main-transcription": "greek",
"entries": [
{ "id": "'", "description": "Stress", "phoneme": "'", "latin": "", "greek": "", "runic": "" },
{ "id": ".", "description": "Syllable break", "phoneme": ".", "latin": "", "greek": "", "runic": "" },
{ "id": "a", "description": "α /a/", "phoneme": "a", "latin": "a", "greek": "α", "runic": "ᚫ" },
{ "id": "o", "description": "ο /o/", "phoneme": "o", "latin": "o", "greek": "ο", "runic": "ᚩ" },
{ "id": "oo", "description": "ω /oː/", "phoneme": "oː", "latin": "ô", "greek": "ω", "runic": "ᚩ" },
{ "id": "k", "description": "κ /k/", "phoneme": "k", "latin": "k", "greek": "κ", "runic": "ᚴ" },
{ "id": "t", "description": "τ /t/", "phoneme": "t", "latin": "t", "greek": "τ", "runic": "ᛏ" }
]
},
{ "id": "sample-runic",
"description": "Another sample for testing purpose.",
"transcriptions": ["phoneme", "latin", "greek", "runic"],
"main-transcription": "runic",
"entries": [
{ "id": "'", "description": "Stress", "phoneme": "'", "latin": "", "greek": "", "runic": "" },
{ "id": ".", "description": "Syllable break", "phoneme": ".", "latin": "", "greek": "", "runic": "" },
{ "id": "a", "description": "ᚫ /a/", "phoneme": "a", "latin": "a", "greek": "α", "runic": "ᚫ" },
{ "id": "o", "description": "ᚩ /o/", "phoneme": "o", "latin": "o", "greek": "ω", "runic": "ᚩ" },
{ "id": "k", "description": "ᚴ /k/", "phoneme": "k", "latin": "k", "greek": "κ", "runic": "ᚴ" },
{ "id": "t", "description": "ᛏ /t/", "phoneme": "t", "latin": "t", "greek": "τ", "runic": "ᛏ" }
]
}
],
"generators": [
{ "id": "sample-rules",
"description": "Rule-based generator for testing purposes.",
"phonology": "sample-greek",
"type": "rules",
"rules": [
{ "id": "C",
"distribution": [
{ "pattern": ["k"], "occurences": 10 },
{ "pattern": ["t"], "occurences": 10 },
{ "pattern": ["k", "t"], "occurences": 5 }
]
},
{ "id": "V",
"distribution": [
{ "pattern": ["a"], "occurences": 8 },
{ "pattern": ["o"], "occurences": 8 },
{ "pattern": ["oo"], "occurences": 2 },
{ "pattern": ["a", "o"], "occurences": 1 },
{ "pattern": ["a", "oo"], "occurences": 1 }
]
},
{ "id": "Syl",
"distribution": [
{ "pattern": ["C", "V"], "occurences": 1 }
]
},
{ "id": "FinalSyl",
"distribution": [
{ "pattern": ["Syl"], "occurences": 3 },
{ "pattern": ["Syl", "C"], "occurences": 7 }
]
},
{ "id": "word",
"distribution": [
{ "pattern": ["'", "FinalSyl"], "occurences": 5 },
{ "pattern": ["'", "Syl", ".", "FinalSyl"], "occurences": 40 },
{ "pattern": ["a", "'", "Syl", ".", "FinalSyl"], "occurences": 10 }
]
}
]
},
{ "id": "sample-chains",
"description": "Chain-based generator for testing purpose.",
"phonology": "sample-runic",
"type": "chains",
"order": 2,
"chains": [
{ "input": ["", ""],
"possible-outputs": [
{ "value": "'", "occurences": 45 },
{ "value": "a", "occurences": 10 }
]
},
{ "input": ["", "'"],
"possible-outputs": [
{ "value": "k", "occurences": 1 },
{ "value": "t", "occurences": 1 }
]
},
{ "input": ["", "a"],
"possible-outputs": [
{ "value": "'", "occurences": 1 }
]
},
{ "input": ["a", "'"],
"possible-outputs": [
{ "value": "k", "occurences": 1 },
{ "value": "t", "occurences": 1 }
]
},
{ "input": ["'", "k"],
"possible-outputs": [
{ "value": "t", "occurences": 1 },
{ "value": "a", "occurences": 4 },
{ "value": "o", "occurences": 5 }
]
},
{ "input": ["'", "t"],
"possible-outputs": [
{ "value": "a", "occurences": 1 },
{ "value": "o", "occurences": 1 }
]
},
{ "input": ["k", "t"],
"possible-outputs": [
{ "value": "a", "occurences": 1 },
{ "value": "o", "occurences": 1 }
]
},
{ "input": ["k", "a"],
"possible-outputs": [
{ "value": "", "occurences": 1 },
{ "value": "k", "occurences": 2 },
{ "value": "t", "occurences": 2 },
{ "value": ".", "occurences": 5 }
]
},
{ "input": ["k", "o"],
"possible-outputs": [
{ "value": "", "occurences": 1 },
{ "value": "k", "occurences": 2 },
{ "value": "t", "occurences": 2 },
{ "value": ".", "occurences": 5 }
]
},
{ "input": ["t", "a"],
"possible-outputs": [
{ "value": "", "occurences": 1 },
{ "value": "k", "occurences": 2 },
{ "value": "t", "occurences": 2 },
{ "value": ".", "occurences": 5 }
]
},
{ "input": ["t", "o"],
"possible-outputs": [
{ "value": "", "occurences": 1 },
{ "value": "k", "occurences": 2 },
{ "value": "t", "occurences": 2 },
{ "value": ".", "occurences": 5 }
]
},
{ "input": ["o", "k"],
"possible-outputs": [
{ "value": "", "occurences": 1 }
]
},
{ "input": ["o", "t"],
"possible-outputs": [
{ "value": "", "occurences": 1 }
]
},
{ "input": ["a", "k"],
"possible-outputs": [
{ "value": "", "occurences": 1 }
]
},
{ "input": ["a", "t"],
"possible-outputs": [
{ "value": "", "occurences": 1 }
]
},
{ "input": ["o", "."],
"possible-outputs": [
{ "value": "k", "occurences": 1 },
{ "value": "t", "occurences": 1 }
]
},
{ "input": ["a", "."],
"possible-outputs": [
{ "value": "k", "occurences": 1 },
{ "value": "t", "occurences": 1 }
]
},
{ "input": [".", "k"],
"possible-outputs": [
{ "value": "t", "occurences": 1 },
{ "value": "a", "occurences": 4 },
{ "value": "o", "occurences": 5 }
]
},
{ "input": [".", "t"],
"possible-outputs": [
{ "value": "a", "occurences": 1 },
{ "value": "o", "occurences": 1 }
]
}
]
}
]
}