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.5.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.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssds-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 ad5013e9185356b027b1169898cd73f206150aea9d8d65dc2eb055aa1b234a86
MD5 94f05aad7c59b7b69bbe3ccfe1c75cf2
BLAKE2b-256 8100a97239abab3fba98da705c363fd309cfa0d48206dcb8dbfc030c803836de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: KSSDS-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f5cc0a56fd8b824a7a7324d9e1c8e5e7ce2dc9faeda5aceb911ad1b6336d9b09
MD5 a1b62a834995c5cd1e106774fb5a6ff9
BLAKE2b-256 bc1eef205a814f96a6a3bd0c64ca8aa39bd420d80b34478d583c4d193537de2b

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