Package ca.phon.phontalk.parser
Class PhoTreeBuilder
java.lang.Object
ca.phon.phontalk.parser.PhoTreeBuilder
Helper class for building CHAT trees for the 'pho' element in
TalkBank.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.runtime.tree.CommonTree
Helper method for building 'actual' trees.org.antlr.runtime.tree.CommonTree
Helper method for building 'model' trees.org.antlr.runtime.tree.CommonTree
buildPhoTree
(String eleName, IPATranscript ipa) List<org.antlr.runtime.tree.CommonTree>
Build an array of <ph> trees from a given list of phones.
-
Constructor Details
-
PhoTreeBuilder
public PhoTreeBuilder()
-
-
Method Details
-
buildPhoTree
-
buildModelTree
Helper method for building 'model' trees.- Parameters:
List
-phones - Returns:
- tree for model pho
-
buildActualTree
Helper method for building 'actual' trees.- Parameters:
List
-phones - Returns:
- tree for actual pho
-
buildPwTrees
Build an array of <ph> trees from a given list of phones.- Parameters:
phones
-- Returns:
- CommonTree[]
-