inpro.incremental.util
Class WordUtil

java.lang.Object
  extended by inpro.incremental.util.WordUtil

public class WordUtil
extends java.lang.Object

utility functions to build IU sub-networks for Sphinx' words


Constructor Summary
WordUtil()
           
 
Method Summary
static WordIU wordFromPronunciation(edu.cmu.sphinx.linguist.dictionary.Pronunciation pron)
          creates a new word/syllable/segment network from the parameters
static WordIU wordFromPronunciation(edu.cmu.sphinx.linguist.dictionary.Pronunciation pron, WordIU wordSLL, SyllableIU syllSLL, SegmentIU segmentSLL)
          creates a new word/syllable/segment network from the parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordUtil

public WordUtil()
Method Detail

wordFromPronunciation

public static WordIU wordFromPronunciation(edu.cmu.sphinx.linguist.dictionary.Pronunciation pron,
                                           WordIU wordSLL,
                                           SyllableIU syllSLL,
                                           SegmentIU segmentSLL)
creates a new word/syllable/segment network from the parameters

Parameters:
pron - the pronunciation to get sub-word information from
wordSLL - the SLL the WordIU will be connected to
syllSLL - the SLL the SyllIU will be connected to
segmentSLL - the SLL the SegmentIU will be connected to
Returns:
a new WordIU network for the given pronunciation

wordFromPronunciation

public static WordIU wordFromPronunciation(edu.cmu.sphinx.linguist.dictionary.Pronunciation pron)
creates a new word/syllable/segment network from the parameters

Returns:
a WordIU-network that is not connected to previous IUs via SLLs