Class AutoTranscriber

java.lang.Object
ca.phon.app.session.editor.autotranscribe.AutoTranscriber

public class AutoTranscriber extends Object
Utility for performing automatic IPA transcription for a Record.
  • Constructor Details

  • Method Details

    • getSession

      public Session getSession()
    • getEditorEventManager

      public EditorEventManager getEditorEventManager()
    • setTranscriber

      public void setTranscriber(Transcriber transcriber)
    • getTranscriber

      public Transcriber getTranscriber()
    • isSetIPATarget

      public boolean isSetIPATarget()
    • setSetIPATarget

      public void setSetIPATarget(boolean setIPATarget)
    • isSetIPAActual

      public boolean isSetIPAActual()
    • setSetIPAActual

      public void setSetIPAActual(boolean setIPAActual)
    • isOverwrite

      public boolean isOverwrite()
    • setOverwrite

      public void setOverwrite(boolean overwrite)
    • getRecordFilter

      public RecordFilter getRecordFilter()
    • setRecordFilter

      public void setRecordFilter(RecordFilter recordFilter)
    • getDictionary

      public IPADictionary getDictionary()
    • setDictionary

      public void setDictionary(IPADictionary dictionary)
    • getSyllabifier

      public Syllabifier getSyllabifier()
    • setSyllabifier

      public void setSyllabifier(Syllabifier syllabifier)
    • transcribe

      public static IPATranscript transcribe(Orthography orthography, IPADictionary dictionary)
      Transcribe given orthography
      Parameters:
      orthography -
      Returns:
      generated ipa transcript
    • transcribeRecord

      public UndoableEdit transcribeRecord(Record record)
      Transcribe the given record.
      Parameters:
      record -
      Returns:
      an undoable edit for the transciption
    • transcribeTier

      public IPALookupEdit transcribeTier(Record record, Tier<IPATranscript> ipaTier)
      Transcribe tier. This will return an undoable edit which has not yet been performed. Either post the edit directly to the editor undo support or call 'doIt' before adding to a compound edit.
    • transcribeTier

      public IPALookupEdit transcribeTier(Map<Tier<IPATranscript>,IPATranscript> transcriptMap, Record record, Tier<IPATranscript> ipaTier)
      Transcribe tier. This will return an undoable edit which has not yet been performed. Either post the edit directly to the editor undo support or call 'doIt' before adding to a compound edit.
      Parameters:
      transcriptMap -
      record -
      ipaTier -
      Returns:
      undoable edit for ipa tier
    • transcribeSession

      public UndoableEdit transcribeSession(Session session)
      Transcribe the given session.
      Parameters:
      session -
      Returns:
      the undoable edit for the transcription operation