Package ca.phon.syllabifier.basic
Class Stage
java.lang.Object
ca.phon.syllabifier.basic.Stage
- All Implemented Interfaces:
SyllabifierStage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Return name of the stage.boolean
Tells the syllabifier if this stage should be executed until run() returns false.boolean
run
(List<IPAElement> phones) Run syllabifier stage on given list of phones.
-
Constructor Details
-
Stage
-
-
Method Details
-
getName
Description copied from interface:SyllabifierStage
Return name of the stage.- Specified by:
getName
in interfaceSyllabifierStage
- Returns:
- stage name
-
run
Description copied from interface:SyllabifierStage
Run syllabifier stage on given list of phones.- Specified by:
run
in interfaceSyllabifierStage
- Returns:
true
if anyIPAElement
s have been marked,false
otherwise
-
repeatWhileChanges
public boolean repeatWhileChanges()Description copied from interface:SyllabifierStage
Tells the syllabifier if this stage should be executed until run() returns false.- Specified by:
repeatWhileChanges
in interfaceSyllabifierStage
- Returns:
true
if stage should be repeated,false
otherwise
-