gogol-language-0.2.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: Google 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 "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 # 
Data DocumentsAnalyzeSyntax Source # 

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 # 
Generic DocumentsAnalyzeSyntax Source # 
GoogleRequest DocumentsAnalyzeSyntax Source # 
type Rep DocumentsAnalyzeSyntax Source # 
type Scopes DocumentsAnalyzeSyntax Source # 
type Scopes DocumentsAnalyzeSyntax = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs DocumentsAnalyzeSyntax Source # 

Request Lenses

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

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

dPp :: Lens' DocumentsAnalyzeSyntax Bool Source #

Pretty-print response.

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

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