Package ca.phon.syllabifier.basic
Class BasicSyllabifier
java.lang.Object
ca.phon.syllabifier.basic.BasicSyllabifier
- All Implemented Interfaces:
IExtendable
,Syllabifier
Class to perform syllabification based on a
syllabifier definition.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
<T> T
getExtension
(Class<T> cap) Get the requested extension if available.Return all extension types supportedSyllabifier language.getName()
Syllabifier name.<T> T
putExtension
(Class<T> cap, T impl) Add a new extension.<T> T
removeExtension
(Class<T> cap) Remove a capability.void
syllabify
(List<IPAElement> phones) Apply consituent type annotations on given phones.
-
Field Details
-
TRACK_STAGES_PROP
-
-
Method Details
-
getDefinition
-
getSonorityScale
-
getName
Description copied from interface:Syllabifier
Syllabifier name. Preferably unique for identify syllabifiers in the UI.- Specified by:
getName
in interfaceSyllabifier
- Returns:
- name
-
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
-
getExtensions
Description copied from interface:IExtendable
Return all extension types supported- Specified by:
getExtensions
in interfaceIExtendable
-
getExtension
Description copied from interface:IExtendable
Get the requested extension if available.- Specified by:
getExtension
in interfaceIExtendable
- Returns:
- the capability object or
null
if the cability is not available
-
putExtension
Description copied from interface:IExtendable
Add a new extension.- Specified by:
putExtension
in interfaceIExtendable
- Parameters:
cap
- the extension to add- Returns:
- the added extension implementation
-
removeExtension
Description copied from interface:IExtendable
Remove a capability.- Specified by:
removeExtension
in interfaceIExtendable
- Parameters:
cap
- the capability to remove
-
equals
-