Skip to content

Support cluster tags for non-english #30

Closed

Description

@takiholadi

It looks for now use tf-idf with english-only preprocessing rules.
So for now non-english tags looks dummy.
I know it is possible to pass precomputed tags.
But prefer instead preprocessing steps were no so strict to better support non-english texts out of the box.

Activity

  1. acylam commented on Aug 26, 2025

    @acylam

    I am also looking for a solution to this. How to add Chinese tags?

  2. acylam commented on Aug 26, 2025

    @acylam

    @fredhohman If not calculated automatically, is there a way to add precomputed labels to clusters? Looking for a way to support non-English.

  3. donghaoren commented on Aug 26, 2025

    @donghaoren
    Collaborator

    No, there isn't a a way to add pre-computed labels yet, but we are looking into that.

    I think we might be able to use the new Intl.Segmenter API (see here) to provide better labels for more languages without adding a ton of dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions