8000 GitHub - m2ci-msp/jtgt at v0.6.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

m2ci-msp/jtgt

Repository files navigation

Build Status Download License: LGPL v3

JTGT

JTGT is a Java library for loading, manipulating, and writing Praat TextGrid files, and similar annotation files, such as XWaves lab. It's inspired by the TextGridTools module for Python.

Dependency Information

Release versions are hosted on Bintray and indexed in JCenter. Snapshot builds are hosted on OJO.

Examples

Loading a TextGrid file

String tgStr = new File("path/to/my.TextGrid").getText();
TextGrid tg = new TextGridSerializer().fromString(tgStr);

Iterating over intervals

for (Annotation annot : tg.getTiers().get(0).getAnnotations()) {
    System.out.println(annot.getText());
}

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0