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.Resource.Language.Documents.AnalyzeSyntax

Contents

Description

Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.

See: Cloud Natural Language API Reference for language.documents.analyzeSyntax.

Synopsis

REST Resource

type DocumentsAnalyzeSyntaxResource = "v1" :> ("documents:analyzeSyntax" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AnalyzeSyntaxRequest :> Post '[JSON] AnalyzeSyntaxResponse)))))))) Source #

A resource alias for language.documents.analyzeSyntax method which the DocumentsAnalyzeSyntax request conforms to.

Creating a Request

documentsAnalyzeSyntax Source #

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

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

data DocumentsAnalyzeSyntax Source #

Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.

See: documentsAnalyzeSyntax smart constructor.

Instances
Eq DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

Data DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

Methods

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

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

toConstr :: DocumentsAnalyzeSyntax -> Constr #

dataTypeOf :: DocumentsAnalyzeSyntax -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

Generic DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

Associated Types

type Rep DocumentsAnalyzeSyntax :: Type -> Type #

GoogleRequest DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

type Rep DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

type Rep DocumentsAnalyzeSyntax = D1 (MetaData "DocumentsAnalyzeSyntax" "Network.Google.Resource.Language.Documents.AnalyzeSyntax" "gogol-language-0.4.0-5pnSmGql6DrGvyDSKlfn7G" False) (C1 (MetaCons "DocumentsAnalyzeSyntax'" PrefixI True) ((S1 (MetaSel (Just "_dXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_dUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AnalyzeSyntaxRequest) :*: S1 (MetaSel (Just "_dCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

type Scopes DocumentsAnalyzeSyntax = "https://www.googleapis.com/auth/cloud-language" ': ("https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol]))
type Rs DocumentsAnalyzeSyntax Source # 
Instance details

Defined in Network.Google.Resource.Language.Documents.AnalyzeSyntax

Request Lenses

dUploadProtocol :: Lens' DocumentsAnalyzeSyntax (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

dUploadType :: Lens' DocumentsAnalyzeSyntax (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").