simulstream.server.speech_processors.base_streamatt.FixedWordsTextHistory
- class simulstream.server.speech_processors.base_streamatt.FixedWordsTextHistory(config: SimpleNamespace)
Bases:
objectFixed Words textual history selection method that retains a pre-defined number of words in the history (history_words).
The current implementation supports only SentencePiece.
- __init__(config: SimpleNamespace)
Methods
__init__(config)select_text_history(text_history)