2017-07-17 21:49:37 +00: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
|
|
|
|
|
2020-05-30 14:29:47 +00:00
|
|
|
func (p predictSet) Predict(a Args) []string {
|
|
|
|
return p
|
2017-07-17 21:49:37 +00:00
|
|
|
}
|