mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-14 18:59:14 +02:00
go : implement SetSplitOnWord (#1114)
* Go binding: Implement SetSplitOnWord * Add comment for consistency
This commit is contained in:
@ -19,6 +19,10 @@ func (p *Params) SetTranslate(v bool) {
|
||||
p.translate = toBool(v)
|
||||
}
|
||||
|
||||
func (p *Params) SetSplitOnWord(v bool) {
|
||||
p.split_on_word = toBool(v)
|
||||
}
|
||||
|
||||
func (p *Params) SetNoContext(v bool) {
|
||||
p.no_context = toBool(v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user