Skip to content

[Epic] Make MarkAccent a standalone pitch-accent service (drop OJAD dependency) #62

Description

@torrid-fish

Epic / tracking issue. Long-running theme, not a single PR. Individual work items get their own issues/PRs and link back here.

Vision

API-tools is converging on pitch-accent marking (/api/MarkAccent/) as its primary purpose; the other endpoints (DictQuery, SentenceQuery, UsageQuery) see little use. The goal of this epic is to make the accent service standalone, with no runtime calls to external services, so it is robust, reproducible, low-latency, and deployable offline.

Why

The technical gap

OJAD did connected-speech contour: accent-phrase (アクセント句) segmentation, compound accent (複合語アクセント), particle attachment, and downstep. UniDic's aType is only lexical / dictionary-form pitch and cannot express phrasing, so the standalone replacement is a local prosody engine, not just aType.

Workstreams

Still open

  • Repo split: spin the accent service into its own repo, leaving Dict/Sentence/Usage behind? Affects packaging and CD.

Out of scope (parked)

References

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