Commit
•
4553650
1
Parent(s):
a7feaeb
chore: Rename Transcriber to prepare for a transcription context
Browse files
lib/medical_transcription/{transcriber.ex → transcription.ex}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
-
defmodule MedicalTranscription.
|
2 |
@moduledoc """
|
3 |
-
Takes a path to an audio file and transcribes it to text. As each chunk is available, it passes it to `
|
4 |
-
to look for possible matching codes.
|
5 |
"""
|
6 |
|
7 |
alias MedicalTranscription.Coding
|
|
|
1 |
+
defmodule MedicalTranscription.Transcription do
|
2 |
@moduledoc """
|
3 |
+
Takes a path to an audio file and transcribes it to text. As each chunk is available, it passes it to the `Coding`
|
4 |
+
context to look for possible matching codes.
|
5 |
"""
|
6 |
|
7 |
alias MedicalTranscription.Coding
|
lib/medical_transcription_web/live/home_live/index.ex
CHANGED
@@ -164,7 +164,7 @@ defmodule MedicalTranscriptionWeb.HomeLive.Index do
|
|
164 |
end
|
165 |
|
166 |
defp transcribe_and_tag_audio(live_view_pid, audio_file_path) do
|
167 |
-
MedicalTranscription.
|
168 |
live_view_pid,
|
169 |
audio_file_path
|
170 |
)
|
|
|
164 |
end
|
165 |
|
166 |
defp transcribe_and_tag_audio(live_view_pid, audio_file_path) do
|
167 |
+
MedicalTranscription.Transcription.stream_transcription_and_search(
|
168 |
live_view_pid,
|
169 |
audio_file_path
|
170 |
)
|