Class PhoTreeBuilder

java.lang.Object
ca.phon.phontalk.parser.PhoTreeBuilder

public class PhoTreeBuilder extends Object
Helper class for building CHAT trees for the 'pho' element in TalkBank.
  • Constructor Details

    • PhoTreeBuilder

      public PhoTreeBuilder()
  • Method Details

    • buildPhoTree

      public org.antlr.runtime.tree.CommonTree buildPhoTree(String eleName, IPATranscript ipa)
    • buildModelTree

      public org.antlr.runtime.tree.CommonTree buildModelTree(IPATranscript ipa)
      Helper method for building 'model' trees.
      Parameters:
      List - phones
      Returns:
      tree for model pho
    • buildActualTree

      public org.antlr.runtime.tree.CommonTree buildActualTree(IPATranscript ipa)
      Helper method for building 'actual' trees.
      Parameters:
      List - phones
      Returns:
      tree for actual pho
    • buildPwTrees

      public List<org.antlr.runtime.tree.CommonTree> buildPwTrees(IPATranscript ipa)
      Build an array of <ph> trees from a given list of phones.
      Parameters:
      phones -
      Returns:
      CommonTree[]