The postproc
module filters and modifies results produced by audio processing tasks such as speech-to-text, language identification, and so on.
The postproc
module has two modes of operation, which can also be combined to perform both processes in a single operation.
Mode | Input | Output | Description |
---|---|---|---|
B
|
w
|
w
|
Accepts a word data stream, and replaces all barred words either with a fixed term (such as <BLEEP> ), or a term specific to an individual word. The barred word list is provided as a text file containing one word or a pair of words (the barred word, and the replacement term for that word) on each line. |
R
|
w
|
w
|
Accepts a data stream, and recombines any word fragments to form complete words. Writes the resulting word sequence to an output word stream. |
Examples:
w2 ← postproc (B,w1)
w2 ← postproc (R,w1)
w2 ← postproc (BR,w1)
Note: In B
mode, you must set at least one of the BarredList
and BarredTerm
parameters.
BarredList |
BarredTerm |
NonSentFinalWords |
RcmpAllowSuffix |
RcmpValidList |
|