Versions in this module Expand all Collapse all v0 v0.6.0 Jun 13, 2018 Changes in this version type Client + func (c *Client) Elsa(params *ElsaParams) (*ElsaResponse, error) + type ElsaParams struct + Text string + URL string + type ElsaResponse struct + Entities []Entity + Text string + type Entity struct + Links []Link + Mentions []Mention + OverallSentiment Sentiment + Type string + type Link struct + Confidence float64 + Provider string + Types []string + URI string + type Mention struct + Confidence float64 + Offset int + Sentiment Sentiment + Text string + type Sentiment struct + Confidence float64 + Polarity string v0.5.2 Feb 2, 2017 Changes in this version type ExtractResponse + Tags []string v0.5.1 Jul 13, 2016 Changes in this version + type Address struct + CountryName string + ID string + Locality string + PostalCode string + Region string + StreetAddress string + type Aspect struct + Aspect string + AspectConfidence float32 + Polarity string + PolarityConfidence float32 + type AspectBasedSentimentParams struct + Domain string + Text string + URL string + type AspectBasedSentimentResponse struct + Aspects []Aspect + Domain string + Sentences []struct{ ... } + Text string + type Auth struct + ApplicationID string + ApplicationKey string + type Category struct + Code string + Confidence float32 + Label string + type ClassifyByTaxonomyParams struct + Language string + Taxonomy string + Text string + URL string + type ClassifyByTaxonomyResponse struct + Categories []struct{ ... } + Language string + Taxonomy string + Text string + type ClassifyParams struct + Language string + Text string + URL string + type ClassifyResponse struct + Categories []Category + Language string + Text string + type Client struct + RateLimits *RateLimits + func NewClient(auth Auth, useHTTPS bool) (*Client, error) + func (c *Client) AspectBasedSentiment(params *AspectBasedSentimentParams) (*AspectBasedSentimentResponse, error) + func (c *Client) Classify(params *ClassifyParams) (*ClassifyResponse, error) + func (c *Client) ClassifyByTaxonomy(params *ClassifyByTaxonomyParams) (*ClassifyByTaxonomyResponse, error) + func (c *Client) Combined(params *CombinedParams) (*CombinedResponse, error) + func (c *Client) Concepts(params *ConceptsParams) (*ConceptsResponse, error) + func (c *Client) Entities(params *EntitiesParams) (*EntitiesResponse, error) + func (c *Client) Extract(params *ExtractParams) (*ExtractResponse, error) + func (c *Client) Hashtags(params *HashtagsParams) (*HashtagsResponse, error) + func (c *Client) ImageTags(params *ImageTagsParams) (*ImageTagsResponse, error) + func (c *Client) Language(params *LanguageParams) (*LanguageResponse, error) + func (c *Client) Microformats(params *MicroformatsParams) (*MicroformatsResponse, error) + func (c *Client) Related(params *RelatedParams) (*RelatedResponse, error) + func (c *Client) Sentiment(params *SentimentParams) (*SentimentResponse, error) + func (c *Client) Summarize(params *SummarizeParams) (*SummarizeResponse, error) + func (c *Client) UnsupervisedClassify(params *UnsupervisedClassifyParams) (*UnsupervisedClassifyResponse, error) + type CombinedParams struct + Endpoints []string + Text string + URL string + type CombinedResponse struct + Article ExtractResponse + Classifications ClassifyResponse + Concepts ConceptsResponse + Entities EntitiesResponse + Hashtags HashtagsResponse + Language LanguageResponse + Sentiment SentimentResponse + Summary SummarizeResponse + Text string + func (c *CombinedResponse) UnmarshalJSON(data []byte) error + type Concept struct + Support int + SurfaceForms []SurfaceForm + Types []string + type ConceptsParams struct + Language string + Text string + URL string + type ConceptsResponse struct + Concepts map[string]Concept + Language string + Text string + type DateTime struct + func (t *DateTime) UnmarshalJSON(buf []byte) error + type EntitiesParams struct + Text string + URL string + type EntitiesResponse struct + Entities map[string][]string + Text string + type Error struct + Message string + type ExtractParams struct + BestImage bool + HTML string + URL string + type ExtractResponse struct + Article string + Author string + Feeds []string + Image string + PublishDate DateTime + Title string + Videos []string + type HCard struct + Address Address + Birthday string + Category string + Email string + FullName string + ID string + Location Location + Logo string + NickName string + Note string + Organization string + Photo string + StructuredName Name + TelephoneNumber string + URL string + type HashtagsParams struct + Language string + Text string + URL string + type HashtagsResponse struct + Hashtags []string + Language string + Text string + type ImageTag struct + Confidence float32 + Tag string + type ImageTagsParams struct + URL string + type ImageTagsResponse struct + Image string + Tags []ImageTag + type LanguageParams struct + Text string + URL string + type LanguageResponse struct + Confidence float32 + Language string + Text string + type Location struct + ID string + Latitude string + Longitude string + type MicroformatsParams struct + URL string + type MicroformatsResponse struct + HCards []HCard + type Name struct + AdditionalName string + FamilyName string + GivenName string + HonorificPrefix string + HonorificSuffix string + ID string + type RateLimits struct + Limit int + Remaining int + Reset int + type Related struct + Distance float32 + Phrase string + type RelatedParams struct + Count int + Phrase string + type RelatedResponse struct + Phrase string + Related []Related + type SentimentParams struct + Language string + Mode string + Text string + URL string + type SentimentResponse struct + Polarity string + PolarityConfidence float32 + Subjectivity string + SubjectivityConfidence float32 + Text string + type SummarizeParams struct + Mode string + NumberOfSentences int + PercentageOfSentences int + Text string + Title string + URL string + type SummarizeResponse struct + Sentences []string + Text string + type SurfaceForm struct + Offset int + Score float32 + String string + type UnsupervisedClassifyClass struct + Label string + Score float32 + type UnsupervisedClassifyParams struct + Classes []string + NumberOfConcepts int + Text string + URL string + type UnsupervisedClassifyResponse struct + Classes []UnsupervisedClassifyClass + Text string