Package ca.phon.syllabifier.opgraph
Class OpGraphSyllabifier
java.lang.Object
ca.phon.syllabifier.opgraph.OpGraphSyllabifier
- All Implemented Interfaces:
Syllabifier
Syllabifier implementation using operable graphs.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OpGraphSyllabifier
Create a new syllabifier from the given stream.ca.phon.opgraph.OpGraph
getGraph()
Syllabifier language.getName()
Syllabifier name.void
syllabify
(List<IPAElement> phones) Apply consituent type annotations 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:
stream
-- Throws:
IOException
-
getName
Description copied from interface:Syllabifier
Syllabifier name. Preferably unique for identify syllabifiers in the UI.- Specified by:
getName
in interfaceSyllabifier
- Returns:
- name
-
getGraph
public ca.phon.opgraph.OpGraph getGraph() -
getLanguage
Description copied from interface:Syllabifier
Syllabifier language.- Specified by:
getLanguage
in interfaceSyllabifier
- Returns:
- language for the syllabifier
-
syllabify
Description copied from interface:Syllabifier
Apply consituent type annotations on given phones.- Specified by:
syllabify
in interfaceSyllabifier
-
toString
-