Versions in this module Expand all Collapse all v0 v0.1.0 Oct 14, 2026 Changes in this version + const DefaultPoint + var FeatureNames = []string + var Points = map[string]Policy + func LineFeatures(context, query string) ([]string, [][]float32) + func ModelInfo() (string, error) + func Score(context, query string) ([]string, []float64, error) + type Options struct + Point string + Policy *Policy + type Policy struct + Context int + Floor float64 + Gap int + Headers int + MinChars int + MinCut float64 + TopK int + func (p Policy) Apply(lines []string, scores []float64) (string, int) + type Result struct + KeptLines int + Output string + Point string + Policy Policy + Reason string + RemovedLines int + Unchanged bool + func Compress(context, query string, opts Options) Result