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.6.tar.gz (13.2 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.6-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssds-1.0.6.tar.gz
  • Upload date:
  • Size: 13.2 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.6.tar.gz
Algorithm Hash digest
SHA256 aa8a17d5c5f0b65dbad0a03c063b14c1a1c4bc5a389389b3c1da8834a7e48cb4
MD5 91ed5504bb78cc674569493e8f59c26f
BLAKE2b-256 942005bddaea0e757eed922cf760df14e0feeb151940fa754934f665866b57c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: KSSDS-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 441ff62e89bcc00f477813c00a3376675d541501c28ad094f830a0a829ed97de
MD5 9f51c530b94f8af6fc574e5af67b2429
BLAKE2b-256 77dd3ccc41222f01849db1fd8e2661e2f31d1726c7dcf56a9abfd0820b5e491c

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