Skip to content

Japanese text floods stderr: "ICU4X data error: No segmentation model for language: ja" #459

Description

@UMCEKO

Laying out Japanese text logs ICU4X data error: No segmentation model for language: ja to stderr on every layout — segmentation falls back non-fatally, but an app with CJK content (e.g. a music library full of Japanese titles) floods stderr with thousands of these lines.

icu_segmenter selects a dictionary model for CJ via cjdict, which isn't included in the compiled data blitz/parley ships. Either bundling cjdict (it is large, so perhaps behind a feature) or silencing the per-layout error would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions