BowlerKernel
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary Class Reference
Collaboration diagram for com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary:
Collaboration graph
[legend]

Public Member Functions

 PhoneticDictionary (File f) throws Exception
 
void init (File dictionaryUrl) throws Exception
 
ArrayList< String > find (String w)
 

Private Member Functions

String normalizePhonemes (String phonemes)
 
ArrayList< String > parseEntry (String entry, Map< String, ArrayList< String >> d)
 
Map< String, ArrayList< String > > parseDictionary (String dictionaryText)
 
String fetchDictionaryText (File dictionaryUrl) throws Exception
 

Private Attributes

Map< String, ArrayList< String > > dictionary
 

Detailed Description

Definition at line 14 of file PhoneticDictionary.java.

Constructor & Destructor Documentation

◆ PhoneticDictionary()

com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.PhoneticDictionary ( File  f) throws Exception

Member Function Documentation

◆ fetchDictionaryText()

String com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.fetchDictionaryText ( File  dictionaryUrl) throws Exception
private

◆ find()

ArrayList<String> com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.find ( String  w)

◆ init()

void com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.init ( File  dictionaryUrl) throws Exception

◆ normalizePhonemes()

String com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.normalizePhonemes ( String  phonemes)
private

◆ parseDictionary()

Map<String, ArrayList<String> > com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.parseDictionary ( String  dictionaryText)
private

◆ parseEntry()

ArrayList<String> com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.parseEntry ( String  entry,
Map< String, ArrayList< String >>  d 
)
private

Member Data Documentation

◆ dictionary

Map<String, ArrayList<String> > com.neuronrobotics.bowlerstudio.lipsync.PhoneticDictionary.dictionary
private

The documentation for this class was generated from the following file: