You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments