package collocations import ( "context" "errors" "github.com/dusiburg/fancy-api/internal/model" ) var ( ErrUnsupportedLanguage = errors.New("unsupported language") ErrQuotaExceeded = errors.New("quota exceeded") ) type Provider interface { GenerateCollocations(ctx context.Context, word string, lang model.Language) (*model.CollocationsResult, error) }