|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.tts.util.BMLTextUtil
public class BMLTextUtil
Various utils to manipulate BML text in the speech behaviour
| Constructor Summary | |
|---|---|
private |
BMLTextUtil()
|
| Method Summary | |
|---|---|
static String |
BMLToSAPI(String text)
Converts BML speech text to SAPI speech text, that is: sync => bookmark |
static String |
BMLToSSML(String text)
Converts BML speech text to SSML speech text, that is: sync => mark |
static void |
getBookmarks(String text,
Collection<WordDescription> desc,
Collection<Bookmark> bookmarks)
|
static List<SyncAndOffset> |
getSyncAndOffsetList(String text,
int numberOfWords)
|
static String |
stripSyncs(String text)
Strip <sync>'s from text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private BMLTextUtil()
| Method Detail |
|---|
public static String stripSyncs(String text)
text - text to strip
public static List<SyncAndOffset> getSyncAndOffsetList(String text,
int numberOfWords)
public static void getBookmarks(String text,
Collection<WordDescription> desc,
Collection<Bookmark> bookmarks)
public static String BMLToSSML(String text)
public static String BMLToSAPI(String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||