hmi.tts.util
Class SyncAndOffset

java.lang.Object
  extended by hmi.tts.util.SyncAndOffset

public class SyncAndOffset
extends Object

Stores a BML text sync and the offset it has in the speech text, in words The offset is the number of the the word after the sync (equivalently, the number of words before the sync).

Author:
Herwin

Field Summary
private  int offset
           
private  String sync
           
 
Constructor Summary
SyncAndOffset(String sync, int offset)
           
 
Method Summary
 int getOffset()
           
 String getSync()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sync

private final String sync

offset

private final int offset
Constructor Detail

SyncAndOffset

public SyncAndOffset(String sync,
                     int offset)
Method Detail

getSync

public String getSync()

getOffset

public int getOffset()