bab2min/kiwipiepy
Python API for Kiwi
What it solves
Kiwipiepy is a Korean morphological analyzer that breaks down Korean text into its smallest meaningful units (morphemes) and assigns part-of-speech (POS) tags to them. It addresses the complexity of the Korean language, including handling typos, dialects, and the need for custom user dictionaries to ensure accurate analysis of specialized terms.
How it works
It provides a Python API for the Kiwi morphological analyzer. The system allows users to tokenize text, split text into sentences, and reconstruct sentences from morphemes. It features a robust set of tools for refining analysis, such as a Stopwords class for filtering, the ability to add user-defined words or regular expression rules for variations, and a pre-analysis correction tool for fixing specific misanalyses.
Who it’s for
Developers and data scientists working with Korean Natural Language Processing (NLP) who need a reliable, customizable tool for tokenization and part-of-speech tagging.
Highlights
- Advanced Typo Correction: Supports multiple levels of typo correction, including basic typos, continual (connected) typos, and lengthening errors.
- Customizable Dictionary: Allows adding user words (including those with spaces) and automatically handles conjugation for added verbs and adjectives.
- Dialect Support: Includes basic analysis capabilities for various Korean dialects (e.g., Jeju, Gyeongsang, Jeolla) and archaic Korean.
- Flexible Tokenization: Offers options to handle "saisiot" (intercalary 's'), normalize coda consonants, and detect Out-of-Vocabulary (OOV) words using either rule-based or lightweight character-model approaches.
- Multilingual Support: Enhanced handling of foreign characters, emojis, and Unicode scripts.
Related
- Project
- Project
- Project
- Project
- Project