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

Uploaded Python 3

File details

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

File metadata

  • Download URL: koksl_to_elan-0.1.7.tar.gz
  • Upload date:
  • Size: 5.5 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.7.tar.gz
Algorithm Hash digest
SHA256 306b12d434b595eb54eb1100e3899c549b3f040fae2c6d472cde002922773c14
MD5 c8bb1c3318ffeec7e8306fb0317d1a68
BLAKE2b-256 06affbdfc73c601c741e601414318896c17d40a06824d611cb48ef4017e18be1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: koksl_to_elan-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7257b1f0bdd3969e2c42e461d48eeac41a2bcf4a0f995ec50dc207d3a7909dfa
MD5 38989c31eb175c03566fbc1fa7652666
BLAKE2b-256 4d1dc647f934548aea878e52ce25916d62e475349a67278c2a5d81414abe993a

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