Formatting Options
formatting_scheme
and formatting_options
are properties that can be configured within the asr
field of config.json which determine how the formatted text of the ASR hypothesis is output. See formatting scheme and formatting options for more information on how to customize formatted output using these.
As an example:
"asr": {
"topic": "GEN",
"auto_punctuate": false,
"wordset_path": "/path/to/your/wordset.json",
"formatting_scheme": "num_as_digits",
"formatting_options": {
"abbreviate_titles": true
}
...
}
Here the abbreviate_titles
formatting option supplements the formatting scheme num_as_digits
.
Note that if you are scoring ASR against the minimally formatted text with the score_against_mft
parameter (see Miminally Formatted Text for info), formatting_scheme
and formatting_options
do not apply to the minimally formatted text output.