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.4.tar.gz (13.3 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.4-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssds-1.0.4.tar.gz
  • Upload date:
  • Size: 13.3 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.4.tar.gz
Algorithm Hash digest
SHA256 eb86347cb5b15a8abf846bd9cb086e54d539ca3916d3148df45c319fea45bb83
MD5 94bc53db2d1c6645380d40815eb9baf1
BLAKE2b-256 4eef042961b2d612527b698790ca633c9f193da6f78d1880bb8b1d8b413d4bab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: KSSDS-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 52850122d4835fa072959f0b98efc26dcad92d488fda43df133e9024fa7bcb1e
MD5 0ff37308151cbfb77c8d576a695a8ee3
BLAKE2b-256 ae37c4e09c250e06939ca4f6dc58247ec826007ecaf1a5cd3cba07126f515898

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