mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-16 02:28:16 +02:00
go : implement SetSplitOnWord (#1114)
* Go binding: Implement SetSplitOnWord * Add comment for consistency
This commit is contained in:
@ -42,6 +42,7 @@ type Context interface {
|
||||
SetDuration(time.Duration) // Set duration
|
||||
SetThreads(uint) // Set number of threads to use
|
||||
SetSpeedup(bool) // Set speedup flag
|
||||
SetSplitOnWord(bool) // Set split on word flag
|
||||
SetTokenThreshold(float32) // Set timestamp token probability threshold
|
||||
SetTokenSumThreshold(float32) // Set timestamp token sum probability threshold
|
||||
SetMaxSegmentLength(uint) // Set max segment length in characters
|
||||
|
Reference in New Issue
Block a user