Skip to content

Commit ade63af

Browse files
authored
Merge pull request #32 from TonicAI/f/missed-audio-docs
Missed audio documentation
2 parents 5c881e4 + 251f2b7 commit ade63af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Redact audio files
2+
------------------
3+
Textual supports transcribing audio files and then applying a redaction/synthesis on the transcribed text. This can be accomplished with our `redact_audio` method:
4+
To redact sensitive information from a text string, pass the string to the `redact` method:
5+
6+
.. code-block:: python
7+
8+
from tonic_textual.redact_api import TextualNer
9+
10+
textual = TextualNer()
11+
12+
transcription_redaction = textual.redact_audio("<Path to audio file>")
13+
print(raw_redaction.describe())
14+
15+
This produces an output identical to our `redact` method.
16+
17+
18+
Additional Remarks
19+
------------------
20+

0 commit comments

Comments
 (0)