Skip to content

BergelsonLab/phonoclan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

phonoclan

Insert and extract phonetic transcriptions from CLAN files

dependencies

This package depends on pyclan

usage

insert the %pho's

$ python insertphon.py clanfile.cha:

This will put a %pho comment tier under every annotated instance where speaker code is CHI. If there is more than one CHI annotated word on a single line, there will still only be a single %pho line following it. You should separate the multiple CHI phonetic transcriptions by a space.

If your input file is 44_17_final.cha, the output will be called 44_17_with_pho.cha.

extract %pho annotations:

$ python extractphon.py clanfile.cha

This will pull out all the phonetic annotations from clanfile.cha and fill them into a csv file called extracted_pho.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages