Skip to main content

Korean Sentence Splitter for Dialogue Systems

Project description

KSSDS

한국어 대화 시스템 용 문장 분리기

KSSDS는 한국어 대화 시스템을 다루기 위해 설계된 딥러닝 기반 문장 분리기입니다.

기존의 한국어 문장 분리기는 규칙 또는 통계 기반의 모델로, 종결 어미나 구두점에 크게 의존하는 경향이 있습니다.
이러한 특성 때문에, STT(Speech-to-Text) 모델을 통해 생성된 텍스트에서 자주 발생하는 변칙적인 사례
(예: 구두점 생략, 어순 도치 등)에 효과적으로 대응하기 어려운 한계가 있습니다.

KSSDS는 이러한 한계를 극복하기 위해 개발된 모델로,
트랜스포머 기반 딥러닝을 활용하여 대화 시스템에서도 안정적이고 유연한 문장 분리를 목표로 합니다.


설치

To install KSSDS, simply use pip:

pip install KSSDS

Quickstart

다음은 KSSDS를 사용하여 한국어 문장을 분리하는 간단한 예제입니다:

from KSSDS import KSSDS

# Initialize the model
kssds = KSSDS()

# Split sentences
input_text = "안녕하세요. 오늘 날씨가 참 좋네요. 저는 산책을 나갈 예정입니다."
split_sentences = kssds.split_sentences(input_text)

# Print results
for idx, sentence in enumerate(split_sentences):
    print(f"{idx + 1}: {sentence}")
1: 안녕하세요.
2: 오늘 날씨가 참 좋네요.
3: 저는 산책을 나갈 예정입니다.

문서 및 자세한 정보

For advanced usage, training scripts, or contributing, please visit the GitHub Repository.

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

kssds-1.0.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

KSSDS-1.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file kssds-1.0.3.tar.gz.

File metadata

  • Download URL: kssds-1.0.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for kssds-1.0.3.tar.gz
Algorithm Hash digest
SHA256 36b0ab7ffe6123f32681f0e156f8330b45ba3b2eb5e706e496a71a6de1cf3943
MD5 d2e8cfb026da05a53e7ece23dc3d274f
BLAKE2b-256 0c4373b8c474f02b25ac5fd5e31488be388359f7e6b590fd5d6364b21039a5f5

See more details on using hashes here.

File details

Details for the file KSSDS-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: KSSDS-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for KSSDS-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fc042ebe8634a471ec57b75ac10dd0bd03c4bee5eba4c477003b911c708ec9c8
MD5 55bc0a2cbc24f717dc177ccfd0a87ff8
BLAKE2b-256 2993dda92d7cfef6c1321f86dc917dc4b465e38ba6ee9fdc0fc6a3311e9e25c6

See more details on using hashes here.

Supported by

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