diff options
Diffstat (limited to 'src/lib/calls/nlp.ts')
-rw-r--r-- | src/lib/calls/nlp.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/calls/nlp.ts b/src/lib/calls/nlp.ts index f3364ac..f19c976 100644 --- a/src/lib/calls/nlp.ts +++ b/src/lib/calls/nlp.ts @@ -13,19 +13,22 @@ export type SorSylRes = { word: string; ipa: string; clean_ipa: string; - syls: SorSyl[]; + syls: SorBSyl[]; +}; +export type SorBSyl = { + ipa: SorSyl; + spelling: SorSyl; }; export type SorSyl = { - stressed: boolean; - long: boolean; - spelling: string; - ipa: string; + all: string; nucleus: string; onset: string; medial: string; coda: string; rhyme: string; tone: string; + long: boolean; + stressed: boolean; start_idx: number; end_idx: number; }; |