Class OpGraphSyllabifier
java.lang.Object
ca.phon.syllabifier.opgraph.OpGraphSyllabifier
- All Implemented Interfaces:
Syllabifier
Syllabifier implementation using operable graphs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpGraphSyllabifierCreate a new syllabifier from the given stream.ca.phon.opgraph.OpGraphgetGraph()Syllabifier language.getName()Syllabifier name.syllabify(IPATranscript transcript) Apply constituent type annotation on given phones.toString()
-
Field Details
-
IPA_CONTEXT_KEY
- See Also:
-
-
Constructor Details
-
OpGraphSyllabifier
public OpGraphSyllabifier(ca.phon.opgraph.OpGraph graph) Constructor
-
-
Method Details
-
createSyllabifier
Create a new syllabifier from the given stream.- Parameters:
is-- Throws:
IOException
-
getName
Description copied from interface:SyllabifierSyllabifier name. Preferably unique for identify syllabifiers in the UI.- Specified by:
getNamein interfaceSyllabifier- Returns:
- name
-
getGraph
public ca.phon.opgraph.OpGraph getGraph() -
getLanguage
Description copied from interface:SyllabifierSyllabifier language.- Specified by:
getLanguagein interfaceSyllabifier- Returns:
- language for the syllabifier
-
syllabify
Description copied from interface:SyllabifierApply constituent type annotation on given phones.- Specified by:
syllabifyin interfaceSyllabifier- Parameters:
transcript-- Returns:
- syllabified transcript, this is a new object the original transcript is not modified
-
toString
-