Class Stage

java.lang.Object
ca.phon.syllabifier.basic.Stage
All Implemented Interfaces:
SyllabifierStage

public class Stage extends Object implements SyllabifierStage
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: SyllabifierStage
      Return name of the stage.
      Specified by:
      getName in interface SyllabifierStage
      Returns:
      stage name
    • run

      public boolean run(List<IPAElement> phones)
      Description copied from interface: SyllabifierStage
      Run syllabifier stage on given list of phones.
      Specified by:
      run in interface SyllabifierStage
      Returns:
      true if any IPAElements 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 interface SyllabifierStage
      Returns:
      true if stage should be repeated, false otherwise