From 41fc76d6fd6af9a880ac8b75e7b03afd1395780a Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 15 Jul 2021 22:39:33 -0400 Subject: Devoice and nasal pronunciation info (#1832) * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data --- .../dictionary-term-meta-bank-v3-schema.json | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'ext/data/schemas') diff --git a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json index 6483ce01..8eb9d343 100644 --- a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json +++ b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json @@ -85,6 +85,40 @@ "description": "Mora position of the pitch accent downstep. A value of 0 indicates that the word does not have a downstep (heiban).", "minimum": 0 }, + "nasal": { + "oneOf": [ + { + "type": "integer", + "description": "Position of a mora with nasal sound.", + "minimum": 0 + }, + { + "type": "array", + "description": "Positions of morae with nasal sound.", + "items": { + "type": "integer", + "minimum": 0 + } + } + ] + }, + "devoice": { + "oneOf": [ + { + "type": "integer", + "description": "Position of a mora with devoiced sound.", + "minimum": 0 + }, + { + "type": "array", + "description": "Positions of morae with devoiced sound.", + "items": { + "type": "integer", + "minimum": 0 + } + } + ] + }, "tags": { "type": "array", "description": "List of tags for this pitch accent.", -- cgit v1.2.3