gogol-language-0.4.0: Google Cloud Natural Language SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Language.Types

Contents

Description

 
Synopsis

Service Configuration

languageService :: ServiceConfig Source #

Default request referring to version v1 of the Cloud Natural Language API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudLanguageScope :: Proxy '["https://www.googleapis.com/auth/cloud-language"] Source #

Apply machine learning models to reveal the structure and meaning of text

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

AnalyzeSyntaxRequest

data AnalyzeSyntaxRequest Source #

The syntax analysis request message.

See: analyzeSyntaxRequest smart constructor.

Instances
Eq AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnalyzeSyntaxRequest -> c AnalyzeSyntaxRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnalyzeSyntaxRequest #

toConstr :: AnalyzeSyntaxRequest -> Constr #

dataTypeOf :: AnalyzeSyntaxRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnalyzeSyntaxRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnalyzeSyntaxRequest) #

gmapT :: (forall b. Data b => b -> b) -> AnalyzeSyntaxRequest -> AnalyzeSyntaxRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeSyntaxRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeSyntaxRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnalyzeSyntaxRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnalyzeSyntaxRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequest -> m AnalyzeSyntaxRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequest -> m AnalyzeSyntaxRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequest -> m AnalyzeSyntaxRequest #

Show AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep AnalyzeSyntaxRequest :: Type -> Type #

ToJSON AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnalyzeSyntaxRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnalyzeSyntaxRequest = D1 (MetaData "AnalyzeSyntaxRequest" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "AnalyzeSyntaxRequest'" PrefixI True) (S1 (MetaSel (Just "_asrEncodingType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnalyzeSyntaxRequestEncodingType)) :*: S1 (MetaSel (Just "_asrDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Document))))

analyzeSyntaxRequest :: AnalyzeSyntaxRequest Source #

Creates a value of AnalyzeSyntaxRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asrEncodingType :: Lens' AnalyzeSyntaxRequest (Maybe AnalyzeSyntaxRequestEncodingType) Source #

The encoding type used by the API to calculate offsets.

DependencyEdge

data DependencyEdge Source #

Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017

See: dependencyEdge smart constructor.

Instances
Eq DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DependencyEdge -> c DependencyEdge #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DependencyEdge #

toConstr :: DependencyEdge -> Constr #

dataTypeOf :: DependencyEdge -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DependencyEdge) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DependencyEdge) #

gmapT :: (forall b. Data b => b -> b) -> DependencyEdge -> DependencyEdge #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DependencyEdge -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DependencyEdge -> r #

gmapQ :: (forall d. Data d => d -> u) -> DependencyEdge -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DependencyEdge -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DependencyEdge -> m DependencyEdge #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DependencyEdge -> m DependencyEdge #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DependencyEdge -> m DependencyEdge #

Show DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep DependencyEdge :: Type -> Type #

ToJSON DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep DependencyEdge Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep DependencyEdge = D1 (MetaData "DependencyEdge" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "DependencyEdge'" PrefixI True) (S1 (MetaSel (Just "_deHeadTokenIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_deLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DependencyEdgeLabel))))

dependencyEdge :: DependencyEdge Source #

Creates a value of DependencyEdge with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

deHeadTokenIndex :: Lens' DependencyEdge (Maybe Int32) Source #

Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the `head_token_index` is its own index.

deLabel :: Lens' DependencyEdge (Maybe DependencyEdgeLabel) Source #

The parse label for the token.

ClassifyTextRequest

data ClassifyTextRequest Source #

The document classification request message.

See: classifyTextRequest smart constructor.

Instances
Eq ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClassifyTextRequest -> c ClassifyTextRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClassifyTextRequest #

toConstr :: ClassifyTextRequest -> Constr #

dataTypeOf :: ClassifyTextRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClassifyTextRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClassifyTextRequest) #

gmapT :: (forall b. Data b => b -> b) -> ClassifyTextRequest -> ClassifyTextRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClassifyTextRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClassifyTextRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClassifyTextRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClassifyTextRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClassifyTextRequest -> m ClassifyTextRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassifyTextRequest -> m ClassifyTextRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassifyTextRequest -> m ClassifyTextRequest #

Show ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep ClassifyTextRequest :: Type -> Type #

ToJSON ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep ClassifyTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep ClassifyTextRequest = D1 (MetaData "ClassifyTextRequest" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" True) (C1 (MetaCons "ClassifyTextRequest'" PrefixI True) (S1 (MetaSel (Just "_ctrDocument") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Document))))

classifyTextRequest :: ClassifyTextRequest Source #

Creates a value of ClassifyTextRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

PartOfSpeechProper

data PartOfSpeechProper Source #

The grammatical properness.

Constructors

ProperUnknown

PROPER_UNKNOWN Proper is not applicable in the analyzed language or is not predicted.

Proper

PROPER Proper

NotProper

NOT_PROPER Not proper

Instances
Enum PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechProper -> c PartOfSpeechProper #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechProper #

toConstr :: PartOfSpeechProper -> Constr #

dataTypeOf :: PartOfSpeechProper -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechProper) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechProper) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechProper -> PartOfSpeechProper #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechProper -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechProper -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechProper -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechProper -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechProper -> m PartOfSpeechProper #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechProper -> m PartOfSpeechProper #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechProper -> m PartOfSpeechProper #

Ord PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechProper :: Type -> Type #

Hashable PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechProper Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechProper = D1 (MetaData "PartOfSpeechProper" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "ProperUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Proper" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotProper" PrefixI False) (U1 :: Type -> Type)))

PartOfSpeechTag

data PartOfSpeechTag Source #

The part of speech tag.

Constructors

Unknown

UNKNOWN Unknown

Adj

ADJ Adjective

Adp

ADP Adposition (preposition and postposition)

Adv

ADV Adverb

Conj

CONJ Conjunction

Det

DET Determiner

Noun

NOUN Noun (common and proper)

Num

NUM Cardinal number

Pron

PRON Pronoun

Prt

PRT Particle or other function word

Punct

PUNCT Punctuation

Verb

VERB Verb (all tenses and modes)

X

X Other: foreign words, typos, abbreviations

Affix

AFFIX Affix

Instances
Enum PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechTag -> c PartOfSpeechTag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechTag #

toConstr :: PartOfSpeechTag -> Constr #

dataTypeOf :: PartOfSpeechTag -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechTag) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechTag) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechTag -> PartOfSpeechTag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechTag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechTag -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechTag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechTag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechTag -> m PartOfSpeechTag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechTag -> m PartOfSpeechTag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechTag -> m PartOfSpeechTag #

Ord PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechTag :: Type -> Type #

Hashable PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechTag Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechTag = D1 (MetaData "PartOfSpeechTag" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (((C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Adj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Adp" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Adv" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Conj" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Det" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Noun" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "Num" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Pron" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Prt" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Punct" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Verb" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "X" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Affix" PrefixI False) (U1 :: Type -> Type)))))

Sentiment

data Sentiment Source #

Represents the feeling associated with the entire text or entities in the text.

See: sentiment smart constructor.

Instances
Eq Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sentiment -> c Sentiment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sentiment #

toConstr :: Sentiment -> Constr #

dataTypeOf :: Sentiment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Sentiment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sentiment) #

gmapT :: (forall b. Data b => b -> b) -> Sentiment -> Sentiment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sentiment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sentiment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Sentiment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Sentiment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sentiment -> m Sentiment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sentiment -> m Sentiment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sentiment -> m Sentiment #

Show Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep Sentiment :: Type -> Type #

ToJSON Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Sentiment Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Sentiment = D1 (MetaData "Sentiment" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "Sentiment'" PrefixI True) (S1 (MetaSel (Just "_sScore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_sMagnitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

sentiment :: Sentiment Source #

Creates a value of Sentiment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sScore :: Lens' Sentiment (Maybe Double) Source #

Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).

sMagnitude :: Lens' Sentiment (Maybe Double) Source #

A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).

DocumentType

data DocumentType Source #

Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.

Constructors

TypeUnspecified

TYPE_UNSPECIFIED The content type is not specified.

PlainText

PLAIN_TEXT Plain text

HTML

HTML HTML

Instances
Enum DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentType -> c DocumentType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentType #

toConstr :: DocumentType -> Constr #

dataTypeOf :: DocumentType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentType) #

gmapT :: (forall b. Data b => b -> b) -> DocumentType -> DocumentType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentType -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentType -> m DocumentType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentType -> m DocumentType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentType -> m DocumentType #

Ord DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep DocumentType :: Type -> Type #

Hashable DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep DocumentType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep DocumentType = D1 (MetaData "DocumentType" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "TypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PlainText" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "HTML" PrefixI False) (U1 :: Type -> Type)))

AnalyzeSyntaxRequestEncodingType

data AnalyzeSyntaxRequestEncodingType Source #

The encoding type used by the API to calculate offsets.

Constructors

None

NONE If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.

UTF8

UTF8 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.

UTF16

UTF16 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.

UTF32

UTF32 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively.

Instances
Enum AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnalyzeSyntaxRequestEncodingType -> c AnalyzeSyntaxRequestEncodingType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnalyzeSyntaxRequestEncodingType #

toConstr :: AnalyzeSyntaxRequestEncodingType -> Constr #

dataTypeOf :: AnalyzeSyntaxRequestEncodingType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnalyzeSyntaxRequestEncodingType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnalyzeSyntaxRequestEncodingType) #

gmapT :: (forall b. Data b => b -> b) -> AnalyzeSyntaxRequestEncodingType -> AnalyzeSyntaxRequestEncodingType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeSyntaxRequestEncodingType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeSyntaxRequestEncodingType -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnalyzeSyntaxRequestEncodingType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnalyzeSyntaxRequestEncodingType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequestEncodingType -> m AnalyzeSyntaxRequestEncodingType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequestEncodingType -> m AnalyzeSyntaxRequestEncodingType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeSyntaxRequestEncodingType -> m AnalyzeSyntaxRequestEncodingType #

Ord AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep AnalyzeSyntaxRequestEncodingType :: Type -> Type #

Hashable AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep AnalyzeSyntaxRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep AnalyzeSyntaxRequestEncodingType = D1 (MetaData "AnalyzeSyntaxRequestEncodingType" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((C1 (MetaCons "None" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UTF8" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "UTF16" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UTF32" PrefixI False) (U1 :: Type -> Type)))

AnalyzeEntitySentimentRequestEncodingType

data AnalyzeEntitySentimentRequestEncodingType Source #

The encoding type used by the API to calculate offsets.

Constructors

AESRETNone

NONE If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.

AESRETUTF8

UTF8 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.

AESRETUTF16

UTF16 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.

AESRETUTF32

UTF32 Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively.

Instances
Enum AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnalyzeEntitySentimentRequestEncodingType -> c AnalyzeEntitySentimentRequestEncodingType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnalyzeEntitySentimentRequestEncodingType #

toConstr :: AnalyzeEntitySentimentRequestEncodingType -> Constr #

dataTypeOf :: AnalyzeEntitySentimentRequestEncodingType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnalyzeEntitySentimentRequestEncodingType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnalyzeEntitySentimentRequestEncodingType) #

gmapT :: (forall b. Data b => b -> b) -> AnalyzeEntitySentimentRequestEncodingType -> AnalyzeEntitySentimentRequestEncodingType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeEntitySentimentRequestEncodingType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeEntitySentimentRequestEncodingType -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnalyzeEntitySentimentRequestEncodingType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnalyzeEntitySentimentRequestEncodingType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequestEncodingType -> m AnalyzeEntitySentimentRequestEncodingType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequestEncodingType -> m AnalyzeEntitySentimentRequestEncodingType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequestEncodingType -> m AnalyzeEntitySentimentRequestEncodingType #

Ord AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Hashable AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep AnalyzeEntitySentimentRequestEncodingType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep AnalyzeEntitySentimentRequestEncodingType = D1 (MetaData "AnalyzeEntitySentimentRequestEncodingType" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((C1 (MetaCons "AESRETNone" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AESRETUTF8" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AESRETUTF16" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AESRETUTF32" PrefixI False) (U1 :: Type -> Type)))

DependencyEdgeLabel

data DependencyEdgeLabel Source #

The parse label for the token.

Constructors

DELUnknown

UNKNOWN Unknown

DELAbbrev

ABBREV Abbreviation modifier

DELAcomp

ACOMP Adjectival complement

DELAdvcl

ADVCL Adverbial clause modifier

DELAdvmod

ADVMOD Adverbial modifier

DELAmod

AMOD Adjectival modifier of an NP

DELAppos

APPOS Appositional modifier of an NP

DELAttr

ATTR Attribute dependent of a copular verb

DELAux

AUX Auxiliary (non-main) verb

DELAuxpass

AUXPASS Passive auxiliary

DELCC

CC Coordinating conjunction

DELCcomp

CCOMP Clausal complement of a verb or adjective

DELConj

CONJ Conjunct

DELCsubj

CSUBJ Clausal subject

DELCsubjpass

CSUBJPASS Clausal passive subject

DELDep

DEP Dependency (unable to determine)

DELDet

DET Determiner

DELDiscourse

DISCOURSE Discourse

DELDobj

DOBJ Direct object

DELExpl

EXPL Expletive

DELGoeswith

GOESWITH Goes with (part of a word in a text not well edited)

DELIobj

IOBJ Indirect object

DELMark

MARK Marker (word introducing a subordinate clause)

DELMwe

MWE Multi-word expression

DELMwv

MWV Multi-word verbal expression

DELNeg

NEG Negation modifier

DELNN

NN Noun compound modifier

DELNpadvmod

NPADVMOD Noun phrase used as an adverbial modifier

DELNsubj

NSUBJ Nominal subject

DELNsubjpass

NSUBJPASS Passive nominal subject

DELNum

NUM Numeric modifier of a noun

DELNumber

NUMBER Element of compound number

DELP

P Punctuation mark

DELParataxis

PARATAXIS Parataxis relation

DELPartmod

PARTMOD Participial modifier

DELPcomp

PCOMP The complement of a preposition is a clause

DELPobj

POBJ Object of a preposition

DELPoss

POSS Possession modifier

DELPostneg

POSTNEG Postverbal negative particle

DELPrecomp

PRECOMP Predicate complement

DELPreconj

PRECONJ Preconjunt

DELPredet

PREDET Predeterminer

DELPref

PREF Prefix

DELPrep

PREP Prepositional modifier

DELPronl

PRONL The relationship between a verb and verbal morpheme

DELPrt

PRT Particle

DELPS

PS Associative or possessive marker

DELQuantmod

QUANTMOD Quantifier phrase modifier

DELRcmod

RCMOD Relative clause modifier

DELRcmodrel

RCMODREL Complementizer in relative clause

DELRdrop

RDROP Ellipsis without a preceding predicate

DELRef

REF Referent

DELRemnant

REMNANT Remnant

DELReparandum

REPARANDUM Reparandum

DELRoot

ROOT Root

DELSnum

SNUM Suffix specifying a unit of number

DELSuff

SUFF Suffix

DELTmod

TMOD Temporal modifier

DELTopic

TOPIC Topic marker

DELVMod

VMOD Clause headed by an infinite form of the verb that modifies a noun

DELVocative

VOCATIVE Vocative

DELXcomp

XCOMP Open clausal complement

DELSuffix

SUFFIX Name suffix

DELTitle

TITLE Name title

DELAdvphmod

ADVPHMOD Adverbial phrase modifier

DELAuxcaus

AUXCAUS Causative auxiliary

DELAuxvv

AUXVV Helper auxiliary

DELDtmod

DTMOD Rentaishi (Prenominal modifier)

DELForeign

FOREIGN Foreign words

DELKW

KW Keyword

DELList

LIST List for chains of comparable items

DELNomc

NOMC Nominalized clause

DELNomcsubj

NOMCSUBJ Nominalized clausal subject

DELNomcsubjpass

NOMCSUBJPASS Nominalized clausal passive

DELNumc

NUMC Compound of numeric modifier

DELCop

COP Copula

DELDislocated

DISLOCATED Dislocated relation (for fronted/topicalized elements)

DELAsp

ASP Aspect marker

DELGmod

GMOD Genitive modifier

DELGobj

GOBJ Genitive object

DELInfmod

INFMOD Infinitival modifier

DELMes

MES Measure

DELNcomp

NCOMP Nominal complement of a noun

Instances
Enum DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DependencyEdgeLabel -> c DependencyEdgeLabel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DependencyEdgeLabel #

toConstr :: DependencyEdgeLabel -> Constr #

dataTypeOf :: DependencyEdgeLabel -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DependencyEdgeLabel) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DependencyEdgeLabel) #

gmapT :: (forall b. Data b => b -> b) -> DependencyEdgeLabel -> DependencyEdgeLabel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DependencyEdgeLabel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DependencyEdgeLabel -> r #

gmapQ :: (forall d. Data d => d -> u) -> DependencyEdgeLabel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DependencyEdgeLabel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DependencyEdgeLabel -> m DependencyEdgeLabel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DependencyEdgeLabel -> m DependencyEdgeLabel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DependencyEdgeLabel -> m DependencyEdgeLabel #

Ord DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep DependencyEdgeLabel :: Type -> Type #

Hashable DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep DependencyEdgeLabel Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep DependencyEdgeLabel = D1 (MetaData "DependencyEdgeLabel" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((((((C1 (MetaCons "DELUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELAbbrev" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELAcomp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELAdvcl" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELAdvmod" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELAmod" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELAppos" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELAttr" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELAux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELAuxpass" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "DELCC" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELCcomp" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELConj" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELCsubj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELCsubjpass" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELDep" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELDet" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELDiscourse" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELDobj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELExpl" PrefixI False) (U1 :: Type -> Type)))))) :+: ((((C1 (MetaCons "DELGoeswith" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELIobj" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELMark" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELMwe" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELMwv" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELNeg" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNN" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELNpadvmod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELNsubj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNsubjpass" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "DELNum" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNumber" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELP" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELParataxis" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELPartmod" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELPcomp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELPobj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELPoss" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "DELPostneg" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELPrecomp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELPreconj" PrefixI False) (U1 :: Type -> Type))))))) :+: (((((C1 (MetaCons "DELPredet" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELPref" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELPrep" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELPronl" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELPrt" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELPS" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELQuantmod" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELRcmod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELRcmodrel" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELRdrop" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "DELRef" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELRemnant" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELReparandum" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELRoot" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELSnum" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELSuff" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELTmod" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELTopic" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "DELVMod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELVocative" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELXcomp" PrefixI False) (U1 :: Type -> Type)))))) :+: ((((C1 (MetaCons "DELSuffix" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELTitle" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELAdvphmod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELAuxcaus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELAuxvv" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELDtmod" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELForeign" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELKW" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNomc" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "DELNomcsubj" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNomcsubjpass" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DELNumc" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELCop" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELDislocated" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DELAsp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELGmod" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELGobj" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "DELInfmod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DELMes" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DELNcomp" PrefixI False) (U1 :: Type -> Type))))))))

PartOfSpeechVoice

data PartOfSpeechVoice Source #

The grammatical voice.

Constructors

VoiceUnknown

VOICE_UNKNOWN Voice is not applicable in the analyzed language or is not predicted.

Active

ACTIVE Active

Causative

CAUSATIVE Causative

Passive

PASSIVE Passive

Instances
Enum PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechVoice -> c PartOfSpeechVoice #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechVoice #

toConstr :: PartOfSpeechVoice -> Constr #

dataTypeOf :: PartOfSpeechVoice -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechVoice) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechVoice) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechVoice -> PartOfSpeechVoice #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechVoice -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechVoice -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechVoice -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechVoice -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechVoice -> m PartOfSpeechVoice #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechVoice -> m PartOfSpeechVoice #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechVoice -> m PartOfSpeechVoice #

Ord PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechVoice :: Type -> Type #

Hashable PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechVoice Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechVoice = D1 (MetaData "PartOfSpeechVoice" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((C1 (MetaCons "VoiceUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Causative" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Passive" PrefixI False) (U1 :: Type -> Type)))

PartOfSpeechForm

data PartOfSpeechForm Source #

The grammatical form.

Constructors

FormUnknown

FORM_UNKNOWN Form is not applicable in the analyzed language or is not predicted.

Adnomial

ADNOMIAL Adnomial

Auxiliary

AUXILIARY Auxiliary

Complementizer

COMPLEMENTIZER Complementizer

FinalEnding

FINAL_ENDING Final ending

Gerund

GERUND Gerund

Realis

REALIS Realis

Irrealis

IRREALIS Irrealis

Short

SHORT Short form

Long

LONG Long form

Order

ORDER Order form

Specific

SPECIFIC Specific form

Instances
Enum PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechForm -> c PartOfSpeechForm #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechForm #

toConstr :: PartOfSpeechForm -> Constr #

dataTypeOf :: PartOfSpeechForm -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechForm) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechForm) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechForm -> PartOfSpeechForm #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechForm -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechForm -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechForm -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechForm -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechForm -> m PartOfSpeechForm #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechForm -> m PartOfSpeechForm #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechForm -> m PartOfSpeechForm #

Ord PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechForm :: Type -> Type #

Hashable PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechForm Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechForm = D1 (MetaData "PartOfSpeechForm" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (((C1 (MetaCons "FormUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Adnomial" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Auxiliary" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Complementizer" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FinalEnding" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Gerund" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "Realis" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Irrealis" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Short" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Long" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Order" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Specific" PrefixI False) (U1 :: Type -> Type)))))

PartOfSpeechPerson

data PartOfSpeechPerson Source #

The grammatical person.

Constructors

PersonUnknown

PERSON_UNKNOWN Person is not applicable in the analyzed language or is not predicted.

First

FIRST First

Second

SECOND Second

Third

THIRD Third

ReflexivePerson

REFLEXIVE_PERSON Reflexive

Instances
Enum PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechPerson -> c PartOfSpeechPerson #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechPerson #

toConstr :: PartOfSpeechPerson -> Constr #

dataTypeOf :: PartOfSpeechPerson -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechPerson) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechPerson) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechPerson -> PartOfSpeechPerson #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechPerson -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechPerson -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechPerson -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechPerson -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechPerson -> m PartOfSpeechPerson #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechPerson -> m PartOfSpeechPerson #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechPerson -> m PartOfSpeechPerson #

Ord PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechPerson :: Type -> Type #

Hashable PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechPerson Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechPerson = D1 (MetaData "PartOfSpeechPerson" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((C1 (MetaCons "PersonUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "First" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Second" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Third" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ReflexivePerson" PrefixI False) (U1 :: Type -> Type))))

Token

data Token Source #

Represents the smallest syntactic building block of the text.

See: token smart constructor.

Instances
Eq Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

(==) :: Token -> Token -> Bool #

(/=) :: Token -> Token -> Bool #

Data Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Token -> c Token #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Token #

toConstr :: Token -> Constr #

dataTypeOf :: Token -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Token) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Token) #

gmapT :: (forall b. Data b => b -> b) -> Token -> Token #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Token -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Token -> r #

gmapQ :: (forall d. Data d => d -> u) -> Token -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Token -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Token -> m Token #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Token -> m Token #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Token -> m Token #

Show Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #

Generic Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep Token :: Type -> Type #

Methods

from :: Token -> Rep Token x #

to :: Rep Token x -> Token #

ToJSON Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Token Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Token = D1 (MetaData "Token" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "Token'" PrefixI True) ((S1 (MetaSel (Just "_tDependencyEdge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DependencyEdge)) :*: S1 (MetaSel (Just "_tText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TextSpan))) :*: (S1 (MetaSel (Just "_tLemma") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tPartOfSpeech") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PartOfSpeech)))))

token :: Token Source #

Creates a value of Token with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tDependencyEdge :: Lens' Token (Maybe DependencyEdge) Source #

Dependency tree parse for this token.

tText :: Lens' Token (Maybe TextSpan) Source #

The token text.

tLemma :: Lens' Token (Maybe Text) Source #

Lemma of the token.

tPartOfSpeech :: Lens' Token (Maybe PartOfSpeech) Source #

Parts of speech tag for this token.

EntityType

data EntityType Source #

The entity type.

Constructors

ETUnknown

UNKNOWN Unknown

ETPerson

PERSON Person

ETLocation

LOCATION Location

ETOrganization

ORGANIZATION Organization

ETEvent

EVENT Event

ETWorkOfArt

WORK_OF_ART Work of art

ETConsumerGood

CONSUMER_GOOD Consumer goods

ETOther

OTHER Other types

Instances
Enum EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EntityType -> c EntityType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EntityType #

toConstr :: EntityType -> Constr #

dataTypeOf :: EntityType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EntityType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EntityType) #

gmapT :: (forall b. Data b => b -> b) -> EntityType -> EntityType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EntityType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EntityType -> r #

gmapQ :: (forall d. Data d => d -> u) -> EntityType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EntityType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EntityType -> m EntityType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityType -> m EntityType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityType -> m EntityType #

Ord EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep EntityType :: Type -> Type #

Hashable EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep EntityType Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep EntityType = D1 (MetaData "EntityType" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (((C1 (MetaCons "ETUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ETPerson" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ETLocation" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ETOrganization" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "ETEvent" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ETWorkOfArt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ETConsumerGood" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ETOther" PrefixI False) (U1 :: Type -> Type))))

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

Creates a value of StatusDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

ClassificationCategory

data ClassificationCategory Source #

Represents a category returned from the text classifier.

See: classificationCategory smart constructor.

Instances
Eq ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClassificationCategory -> c ClassificationCategory #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClassificationCategory #

toConstr :: ClassificationCategory -> Constr #

dataTypeOf :: ClassificationCategory -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClassificationCategory) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClassificationCategory) #

gmapT :: (forall b. Data b => b -> b) -> ClassificationCategory -> ClassificationCategory #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClassificationCategory -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClassificationCategory -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClassificationCategory -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClassificationCategory -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClassificationCategory -> m ClassificationCategory #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassificationCategory -> m ClassificationCategory #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassificationCategory -> m ClassificationCategory #

Show ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep ClassificationCategory :: Type -> Type #

ToJSON ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep ClassificationCategory Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep ClassificationCategory = D1 (MetaData "ClassificationCategory" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "ClassificationCategory'" PrefixI True) (S1 (MetaSel (Just "_ccConfidence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_ccName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

classificationCategory :: ClassificationCategory Source #

Creates a value of ClassificationCategory with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ccConfidence :: Lens' ClassificationCategory (Maybe Double) Source #

The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.

ccName :: Lens' ClassificationCategory (Maybe Text) Source #

The name of the category representing the document, from the predefined taxonomy.

AnnotateTextRequest

data AnnotateTextRequest Source #

The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.

See: annotateTextRequest smart constructor.

Instances
Eq AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnnotateTextRequest -> c AnnotateTextRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnnotateTextRequest #

toConstr :: AnnotateTextRequest -> Constr #

dataTypeOf :: AnnotateTextRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnnotateTextRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnnotateTextRequest) #

gmapT :: (forall b. Data b => b -> b) -> AnnotateTextRequest -> AnnotateTextRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnnotateTextRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnnotateTextRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnnotateTextRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnnotateTextRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnnotateTextRequest -> m AnnotateTextRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotateTextRequest -> m AnnotateTextRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotateTextRequest -> m AnnotateTextRequest #

Show AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep AnnotateTextRequest :: Type -> Type #

ToJSON AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnnotateTextRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnnotateTextRequest = D1 (MetaData "AnnotateTextRequest" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "AnnotateTextRequest'" PrefixI True) (S1 (MetaSel (Just "_atrEncodingType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnnotateTextRequestEncodingType)) :*: (S1 (MetaSel (Just "_atrFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Features)) :*: S1 (MetaSel (Just "_atrDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Document)))))

annotateTextRequest :: AnnotateTextRequest Source #

Creates a value of AnnotateTextRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atrEncodingType :: Lens' AnnotateTextRequest (Maybe AnnotateTextRequestEncodingType) Source #

The encoding type used by the API to calculate offsets.

EntityMention

data EntityMention Source #

Represents a mention for an entity in the text. Currently, proper noun mentions are supported.

See: entityMention smart constructor.

Instances
Eq EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EntityMention -> c EntityMention #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EntityMention #

toConstr :: EntityMention -> Constr #

dataTypeOf :: EntityMention -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EntityMention) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EntityMention) #

gmapT :: (forall b. Data b => b -> b) -> EntityMention -> EntityMention #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EntityMention -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EntityMention -> r #

gmapQ :: (forall d. Data d => d -> u) -> EntityMention -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EntityMention -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EntityMention -> m EntityMention #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityMention -> m EntityMention #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityMention -> m EntityMention #

Show EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep EntityMention :: Type -> Type #

ToJSON EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep EntityMention Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep EntityMention = D1 (MetaData "EntityMention" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "EntityMention'" PrefixI True) (S1 (MetaSel (Just "_emSentiment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Sentiment)) :*: (S1 (MetaSel (Just "_emText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TextSpan)) :*: S1 (MetaSel (Just "_emType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntityMentionType)))))

entityMention :: EntityMention Source #

Creates a value of EntityMention with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

emSentiment :: Lens' EntityMention (Maybe Sentiment) Source #

For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document.

emType :: Lens' EntityMention (Maybe EntityMentionType) Source #

The type of the entity mention.

TextSpan

data TextSpan Source #

Represents an output piece of text.

See: textSpan smart constructor.

Instances
Eq TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextSpan -> c TextSpan #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextSpan #

toConstr :: TextSpan -> Constr #

dataTypeOf :: TextSpan -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextSpan) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextSpan) #

gmapT :: (forall b. Data b => b -> b) -> TextSpan -> TextSpan #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextSpan -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextSpan -> r #

gmapQ :: (forall d. Data d => d -> u) -> TextSpan -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TextSpan -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextSpan -> m TextSpan #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextSpan -> m TextSpan #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextSpan -> m TextSpan #

Show TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep TextSpan :: Type -> Type #

Methods

from :: TextSpan -> Rep TextSpan x #

to :: Rep TextSpan x -> TextSpan #

ToJSON TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep TextSpan Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep TextSpan = D1 (MetaData "TextSpan" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "TextSpan'" PrefixI True) (S1 (MetaSel (Just "_tsBeginOffSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_tsContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

textSpan :: TextSpan Source #

Creates a value of TextSpan with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tsBeginOffSet :: Lens' TextSpan (Maybe Int32) Source #

The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.

tsContent :: Lens' TextSpan (Maybe Text) Source #

The content of the output text.

AnalyzeEntitySentimentRequest

data AnalyzeEntitySentimentRequest Source #

The entity-level sentiment analysis request message.

See: analyzeEntitySentimentRequest smart constructor.

Instances
Eq AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnalyzeEntitySentimentRequest -> c AnalyzeEntitySentimentRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnalyzeEntitySentimentRequest #

toConstr :: AnalyzeEntitySentimentRequest -> Constr #

dataTypeOf :: AnalyzeEntitySentimentRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnalyzeEntitySentimentRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnalyzeEntitySentimentRequest) #

gmapT :: (forall b. Data b => b -> b) -> AnalyzeEntitySentimentRequest -> AnalyzeEntitySentimentRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeEntitySentimentRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnalyzeEntitySentimentRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnalyzeEntitySentimentRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnalyzeEntitySentimentRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequest -> m AnalyzeEntitySentimentRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequest -> m AnalyzeEntitySentimentRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnalyzeEntitySentimentRequest -> m AnalyzeEntitySentimentRequest #

Show AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep AnalyzeEntitySentimentRequest :: Type -> Type #

ToJSON AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnalyzeEntitySentimentRequest Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnalyzeEntitySentimentRequest = D1 (MetaData "AnalyzeEntitySentimentRequest" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "AnalyzeEntitySentimentRequest'" PrefixI True) (S1 (MetaSel (Just "_aesrEncodingType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnalyzeEntitySentimentRequestEncodingType)) :*: S1 (MetaSel (Just "_aesrDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Document))))

analyzeEntitySentimentRequest :: AnalyzeEntitySentimentRequest Source #

Creates a value of AnalyzeEntitySentimentRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

AnnotateTextResponse

data AnnotateTextResponse Source #

The text annotations response message.

See: annotateTextResponse smart constructor.

Instances
Eq AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnnotateTextResponse -> c AnnotateTextResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnnotateTextResponse #

toConstr :: AnnotateTextResponse -> Constr #

dataTypeOf :: AnnotateTextResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AnnotateTextResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnnotateTextResponse) #

gmapT :: (forall b. Data b => b -> b) -> AnnotateTextResponse -> AnnotateTextResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnnotateTextResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnnotateTextResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnnotateTextResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnnotateTextResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnnotateTextResponse -> m AnnotateTextResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotateTextResponse -> m AnnotateTextResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotateTextResponse -> m AnnotateTextResponse #

Show AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep AnnotateTextResponse :: Type -> Type #

ToJSON AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnnotateTextResponse Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep AnnotateTextResponse = D1 (MetaData "AnnotateTextResponse" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "AnnotateTextResponse'" PrefixI True) ((S1 (MetaSel (Just "_atrEntities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Entity])) :*: (S1 (MetaSel (Just "_atrTokens") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Token])) :*: S1 (MetaSel (Just "_atrDocumentSentiment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Sentiment)))) :*: (S1 (MetaSel (Just "_atrCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ClassificationCategory])) :*: (S1 (MetaSel (Just "_atrSentences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Sentence])) :*: S1 (MetaSel (Just "_atrLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

annotateTextResponse :: AnnotateTextResponse Source #

Creates a value of AnnotateTextResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atrEntities :: Lens' AnnotateTextResponse [Entity] Source #

Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.

atrTokens :: Lens' AnnotateTextResponse [Token] Source #

Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.

atrDocumentSentiment :: Lens' AnnotateTextResponse (Maybe Sentiment) Source #

The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.

atrCategories :: Lens' AnnotateTextResponse [ClassificationCategory] Source #

Categories identified in the input document.

atrSentences :: Lens' AnnotateTextResponse [Sentence] Source #

Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.

atrLanguage :: Lens' AnnotateTextResponse (Maybe Text) Source #

The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.

PartOfSpeechTense

data PartOfSpeechTense Source #

The grammatical tense.

Constructors

TenseUnknown

TENSE_UNKNOWN Tense is not applicable in the analyzed language or is not predicted.

ConditionalTense

CONDITIONAL_TENSE Conditional

Future

FUTURE Future

Past

PAST Past

Present

PRESENT Present

Imperfect

IMPERFECT Imperfect

Pluperfect

PLUPERFECT Pluperfect

Instances
Enum PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechTense -> c PartOfSpeechTense #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechTense #

toConstr :: PartOfSpeechTense -> Constr #

dataTypeOf :: PartOfSpeechTense -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechTense) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechTense) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechTense -> PartOfSpeechTense #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechTense -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechTense -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechTense -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechTense -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechTense -> m PartOfSpeechTense #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechTense -> m PartOfSpeechTense #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechTense -> m PartOfSpeechTense #

Ord PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Read PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Show PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Generic PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Associated Types

type Rep PartOfSpeechTense :: Type -> Type #

Hashable PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToJSON PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromJSON PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

FromHttpApiData PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

ToHttpApiData PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechTense Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

type Rep PartOfSpeechTense = D1 (MetaData "PartOfSpeechTense" "Network.Google.Language.Types.Sum" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) ((C1 (MetaCons "TenseUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ConditionalTense" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Future" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Past" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Present" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Imperfect" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Pluperfect" PrefixI False) (U1 :: Type -> Type))))

Features

data Features Source #

All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.

See: features smart constructor.

Instances
Eq Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Features -> c Features #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Features #

toConstr :: Features -> Constr #

dataTypeOf :: Features -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Features) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Features) #

gmapT :: (forall b. Data b => b -> b) -> Features -> Features #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Features -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Features -> r #

gmapQ :: (forall d. Data d => d -> u) -> Features -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Features -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Features -> m Features #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Features -> m Features #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Features -> m Features #

Show Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep Features :: Type -> Type #

Methods

from :: Features -> Rep Features x #

to :: Rep Features x -> Features #

ToJSON Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Features Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Features = D1 (MetaData "Features" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "Features'" PrefixI True) ((S1 (MetaSel (Just "_fExtractSyntax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fExtractDocumentSentiment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_fClassifyText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fExtractEntitySentiment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fExtractEntities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

features :: Features Source #

Creates a value of Features with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fExtractSyntax :: Lens' Features (Maybe Bool) Source #

Extract syntax information.

fExtractDocumentSentiment :: Lens' Features (Maybe Bool) Source #

Extract document-level sentiment.

fClassifyText :: Lens' Features (Maybe Bool) Source #

Classify the full document into categories.

fExtractEntitySentiment :: Lens' Features (Maybe Bool) Source #

Extract entities and their associated sentiment.

Document

data Document Source #

############################################################### Represents the input to API methods.

See: document smart constructor.

Instances
Eq Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Data Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Document -> c Document #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Document #

toConstr :: Document -> Constr #

dataTypeOf :: Document -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Document) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Document) #

gmapT :: (forall b. Data b => b -> b) -> Document -> Document #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Document -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Document -> r #

gmapQ :: (forall d. Data d => d -> u) -> Document -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Document -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Document -> m Document #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Document -> m Document #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Document -> m Document #

Show Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Generic Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

Associated Types

type Rep Document :: Type -> Type #

Methods

from :: Document -> Rep Document x #

to :: Rep Document x -> Document #

ToJSON Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

FromJSON Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Document Source # 
Instance details

Defined in Network.Google.Language.Types.Product

type Rep Document = D1 (MetaData "Document" "Network.Google.Language.Types.Product" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "Document'" PrefixI True) ((S1 (MetaSel (Just "_dContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dGcsContentURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DocumentType)))))

document :: Document Source #

Creates a value of Document with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dContent :: Lens' Document (Maybe Text) Source #

The content of the input in string format. Cloud audit logging exempt since it is based on user data.

dLanguage :: Lens' Document (Maybe Text) Source #

The language of the document (if not specified, the language is automatically detected). Both ISO and BCP-47 language codes are accepted. Language Support lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an `INVALID_ARGUMENT` error is returned.

dGcsContentURI :: Lens' Document (Maybe Text) Source #

The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.

dType :: Lens' Document (Maybe DocumentType) Source #

Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.

PartOfSpeechMood

data PartOfSpeechMood Source #

The grammatical mood.

Constructors

MoodUnknown

MOOD_UNKNOWN Mood is not applicable in the analyzed language or is not predicted.

ConditionalMood

CONDITIONAL_MOOD Conditional

Imperative

IMPERATIVE Imperative

Indicative

INDICATIVE Indicative

Interrogative

INTERROGATIVE Interrogative

Jussive

JUSSIVE Jussive

Subjunctive

SUBJUNCTIVE Subjunctive

Instances
Enum PartOfSpeechMood Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Eq PartOfSpeechMood Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Data PartOfSpeechMood Source # 
Instance details

Defined in Network.Google.Language.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartOfSpeechMood -> c PartOfSpeechMood #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartOfSpeechMood #

toConstr :: PartOfSpeechMood -> Constr #

dataTypeOf :: PartOfSpeechMood -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartOfSpeechMood) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartOfSpeechMood) #

gmapT :: (forall b. Data b => b -> b) -> PartOfSpeechMood -> PartOfSpeechMood #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechMood -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartOfSpeechMood -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartOfSpeechMood -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartOfSpeechMood -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartOfSpeechMood -> m PartOfSpeechMood #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechMood -> m PartOfSpeechMood #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartOfSpeechMood -> m PartOfSpeechMood #

Ord PartOfSpeechMood Source # 
Instance details

Defined in Network.Google.Language.Types.Sum