Versions in this module Expand all Collapse all v0 v0.1.2 Apr 4, 2021 Changes in this version + const ApiClassification + const ApiClassify + const ApiEmotionsDetection + const ApiKeyPhrases + const ApiLanguageDetection + const ApiNamedEntity + type Client struct + Config *config.Config + HttpClient *http.Client + func NewClient(config *config.Config) *Client + func (c *Client) Classify(text string) (*entity.Classification, error) + func (c *Client) CreateClassification(label, text string) (bool, error) + func (c *Client) DeleteClassification(label string) (bool, error) + func (c *Client) Emotions(text string) (*entity.Emotions, error) + func (c *Client) KeyPhrases(text string, lang string) (*entity.KeyPhrases, error) + func (c *Client) LanguageDetect(text string) (*entity.Language, error) + func (c *Client) NamedEntities(text string) (*entity.Ner, error) + func (c *Client) UpdateClassification(label, text string) (bool, error) + type Sender interface + GetKeyPhrases func() (*entity.KeyPhrases, error) + GetLanguageDetection func(text string) (*entity.Language, error)