Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
package voice
import (
"strings"
)
// NormalizeCaptureTranscript classifies a Capture transcript before it is stored.
func NormalizeCaptureTranscript(text string) string {
return strings.Trim(strings.Map(func(r rune) rune {
switch r {
case ' ', '\t', '\n', '\r', '。', '!', '?', ',', ',', '.', '!', '?', ':', ':':
return -1
default:
return r
}
}, text), " ")
}