Class AutoTranscriptionExtension
java.lang.Object
ca.phon.app.session.editor.view.transcript.extensions.AutoTranscriptionExtension
- All Implemented Interfaces:
TranscriptEditorExtension
An extension that provides auto-transcription support to the
TranscriptEditor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptAutoTranscription(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcriptionvoidacceptAutoTranscriptionToFirstSelection(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcription up to first word with optionsgetOrthography(Record record, Transcriber transcriber) Get orthography for given recordvoidinstall(TranscriptEditor editor) voidAutomatically transcribes an IPA tier if the caret is currently in onevoidRemove ghost text from document and unfreeze caret
-
Constructor Details
-
AutoTranscriptionExtension
public AutoTranscriptionExtension() -
AutoTranscriptionExtension
-
-
Method Details
-
getDictionary
-
install
- Specified by:
installin interfaceTranscriptEditorExtension
-
removeGhostRange
public void removeGhostRange()Remove ghost text from document and unfreeze caret -
acceptAutoTranscription
public void acceptAutoTranscription(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcription- Parameters:
record-tier-automaticTranscription-
-
acceptAutoTranscriptionToFirstSelection
public void acceptAutoTranscriptionToFirstSelection(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcription up to first word with options- Parameters:
record-tier-automaticTranscription-
-
getOrthography
Get orthography for given record- Parameters:
record-transcriber-
-
onAutoTranscribe
public void onAutoTranscribe()Automatically transcribes an IPA tier if the caret is currently in one
-