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.2.tar.gz (12.6 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.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssds-1.0.2.tar.gz
  • Upload date:
  • Size: 12.6 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.2.tar.gz
Algorithm Hash digest
SHA256 22a7897ffc39a58f1e11f21b7c659dcdb96f7064303260dca891bf73b824f97e
MD5 8995f15d00b0605edb5adc488d7c407b
BLAKE2b-256 4a25036eeca63c388b7f1a0566583593653dae10a49ce8fc478497d491460abe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: KSSDS-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f53d4a85386df5e0842d6d4e46326f64a8a299dafd7064830f539b2a8db4fe7
MD5 abc39d1b37f63d176db2ef37f37d292f
BLAKE2b-256 cfe68347240a5c771e75f8ab2f7cc11c8c5e922ea4ffed2976f26e154875e59b

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