Skip to main content

A tool for normalizing Korean text

Project description

Korean Text Normalizer

Korean Text Normalizer is a Python package for normalizing Korean text. It provides various functions to process and clean up Korean text data.

Features

  • Expand common Korean abbreviations
  • Perform basic spell checking
  • Normalize emoticons
  • Detect and correct sentence boundaries
  • Separate and combine Korean jamo (syllable characters)

Installation

You can install the package using pip:

pip install korean-text-normalizer

Usage

Here's a basic example of how to use the Korean Text Normalizer:

from korean_text_normalizer import KoreanTextNormalizer

normalizer = KoreanTextNormalizer()

text = "ㅎㅇ! 오늘 날씨가 좋네요ㄱㅅ ^_^ 내일도 날씨가 좋았으면"
normalized_text = normalizer.normalize(text)

print(normalized_text)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

korean-text-normalizer-0.1.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

korean_text_normalizer-0.1.0-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page