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 TypeMethodDescriptionvoid
acceptAutoTranscription
(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcriptionvoid
acceptAutoTranscriptionToFirstSelection
(Record record, Tier<IPATranscript> tier, AutomaticTranscription automaticTranscription) Accept automatic transcription up to first word with optionsgetOrthography
(Record record, Transcriber transcriber) Get orthography for given recordvoid
install
(TranscriptEditor editor) void
Automatically transcribes an IPA tier if the caret is currently in onevoid
Remove ghost text from document and unfreeze caret
-
Constructor Details
-
AutoTranscriptionExtension
public AutoTranscriptionExtension() -
AutoTranscriptionExtension
-
-
Method Details
-
getDictionary
-
install
- Specified by:
install
in 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
-