Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for Thai text segmentation #728

Open
mattleff opened this issue Oct 16, 2024 · 1 comment
Open

Adding support for Thai text segmentation #728

mattleff opened this issue Oct 16, 2024 · 1 comment

Comments

@mattleff
Copy link

First off, thanks for a great library! 🙏🏻

I'm wanting to use Pagefind in a project that has Thai text and I'm interested in adding support for Thai in Pagefind. I see that Charabia has a Thai segmenter (meilisearch/charabia#114). Can you give me some pointers toward what I'd need to do to enable Thai segmentation in Pagefind?

@bglw
Copy link
Contributor

bglw commented Nov 20, 2024

Ah, good note! (Sorry for the delay).

We'll need to enable the thai feature for charabia, and then configure that language as an extended language in Pagefind.

I can make sure to include this in the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants