Skip to main content

국립국어원 한국어-한국수어 병렬 말뭉치를 ELAN 형식(eaf)으로 변환하는 도구

Project description

한국어-한국수어 병렬 말뭉치 ELAN 파일 변환 도구

  • koksl-to-elan은 국립국어원에서 제공하는 한국어-한국수어 병렬 말뭉치를 eaf 형식의 파일로 변환해 주는 명령행 기반 도구이다.
  • 변환된 eaf 파일은 영상 주석 소프트웨어인 ELAN을 통해 열람이 가능하다.

설치

  • koksl-to-elan은 python 기반의 명령행 도구이다. 이 도구를 설치하고 사용하기 위해서는 python(버전3.11 이상)과 pip이 미리 설치되어 있어야 한다.
  • poworshell 등 명령행 환경에서 pip 명령어를 통해 koksl-to-elan를 설치한다.
pip install koksl-to-elan

말뭉치 파일 변환

  • 설치가 완료되면 poworshell 등 명령행 환경에서 koksl 명령어를 이용할 수 있다. 아래와 같이 koksl 명령어와 함께 말뭉치 주석 파일(json)과 영상 파일(mp4)이 모여 있는 폴더의 경로를 입력하면 eaf 파일이 산출된다.
koksl "<path_of_corpus>"
  • 예를 들어 '한국어-한국수어 병렬 말뭉치 2022'가 "D:/koksl2022/" 경로에 저장되어 있다면 아래와 같이 명령어를 입력하여 실행한다.
koksl "D:/koksl2022/"
  • 도구가 입력한 경로의 하위 폴더를 탐색하여 주석 파일과 영상 파일을 찾아내므로 하위 폴더 구성이 어떻게 되어 있든 변환 결과물을 산출한다. 단, 주석 파일과 영상 파일은 압축이 풀려 있는 상태여야 한다.
  • 변환이 완료되면 입력한 말뭉치 경로 밑에 "EAF-<timestamp>" 형식의 폴더가 생성되고 결과물이 저장된다. 입력한 말뭉치 경로가 "D:/koksl2022/"였다면 "D:/koksl2022/EAF-<timestamp>" 폴더에 eaf 파일이 저장된다.

파일 열람

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

koksl_to_elan-0.1.6.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

koksl_to_elan-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file koksl_to_elan-0.1.6.tar.gz.

File metadata

  • Download URL: koksl_to_elan-0.1.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.7 Windows/10

File hashes

Hashes for koksl_to_elan-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6823b449950a97d6f4a6f7af9adc927d637493147ccf74f6f351f422f799aae6
MD5 3e43c01ea4a8caef9849062bc2a7e9dd
BLAKE2b-256 7505f3598a2916bde99be076b0ceafcb12202ee42c10b04e0aa1d34fa6045dce

See more details on using hashes here.

File details

Details for the file koksl_to_elan-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: koksl_to_elan-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.7 Windows/10

File hashes

Hashes for koksl_to_elan-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dca97bdbbec07423f429d7b0e8178d64413dac92c33b4aea056335b98c9c8271
MD5 1f080e85b43f8111d7dccb31f0ba0866
BLAKE2b-256 bffb2a8bbccb3ce6c58c512bd32fd9db3b9b4cc7464c11bfe15ee2584735154e

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