Korean tokenizer for Orama (garu-orama-tokenizer) #1024
ongjin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sharing a small integration in case it's useful to anyone doing Korean search with Orama.
Orama's default tokenizer segments Korean poorly, because Korean glues particles/endings onto stems — a search for
학교("school") misses학교에 / 학교를, and먹었다won't match먹다. garu-orama-tokenizer plugs a Korean morphological analyzer (Garu — runs in-browser via WebAssembly, 1 MB model bundled, no server) into Orama as a custom tokenizer, so inflected forms index to the same stem.If it'd help readers, happy to see it linked from the tokenizer/plugins docs — but no pressure at all. Disclosure: I'm the author of Garu.
Beta Was this translation helpful? Give feedback.
All reactions