simulstream.server.speech_processors.base_streamatt.PunctuationTextHistory
- class simulstream.server.speech_processors.base_streamatt.PunctuationTextHistory(config: SimpleNamespace)
Bases:
objectPunctuation textual history selection method that retains the sentence before the last strong punctuation character.
The current implementation supports only SentencePiece.
- __init__(config: SimpleNamespace)
Methods
__init__(config)select_text_history(text_history)Attributes
STRONG_PUNCTUATION