Skip to content

Fallback to UniDic aType-derived lexical pitch when OJAD is unavailable #61

Description

@torrid-fish

Problem

UniDic's per-morpheme accent kernel (aType) is already tokenised and carried on every word as lexical_kernel, but it does not drive accent_marking_type: when no connected-speech contour is available a token degrades to flat pitch (accent_marking_type=0) instead of an approximate dictionary-form contour. Use lexical_kernel to synthesise a per-mora contour (Tokyo-dialect 平板 / 頭高 / 中高・尾高 mapping) as a floor, so degraded output carries an approximate accent rather than nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions