2017-10-13 13:39:05 -04:00
|
|
|
package complete
|
|
|
|
|
|
|
|
// PredictSet expects specific set of terms, given in the options argument.
|
|
|
|
func PredictSet(options ...string) Predictor {
|
|
|
|
return predictSet(options)
|
|
|
|
}
|
|
|
|
|
|
|
|
type predictSet []string
|
|
|
|
|
2019-04-10 09:41:22 -04:00
|
|
|
func (p predictSet) Predict(a Args) []string {
|
|
|
|
return p
|
2017-10-13 13:39:05 -04:00
|
|
|
}
|