corpus-services  1.0
EXB2Praat.java
Go to the documentation of this file.
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 
7 package de.uni_hamburg.corpora.conversion;
8 
10 import org.exmaralda.partitureditor.jexmaralda.BasicTranscription;
11 import org.exmaralda.partitureditor.jexmaralda.convert.PraatConverter;
12 
17 public class EXB2Praat {
18 
19  public EXB2Praat(){
20 
21  }
22 
23 
24  public String convert(String basicTranscription){
25  BasicTranscription bt = TypeConverter.String2BasicTranscription(basicTranscription);
26  PraatConverter pc = new PraatConverter();
27  return pc.BasicTranscriptionToPraat(bt);
28  }
29 
30 }
String convert(String basicTranscription)
Definition: EXB2Praat.java:24
static BasicTranscription String2BasicTranscription(String btAsString)