Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- documentsAnalyzeSyntax :: AnalyzeSyntaxRequest -> DocumentsAnalyzeSyntax
- data DocumentsAnalyzeSyntax
- dXgafv :: Lens' DocumentsAnalyzeSyntax (Maybe Xgafv)
- dUploadProtocol :: Lens' DocumentsAnalyzeSyntax (Maybe Text)
- dAccessToken :: Lens' DocumentsAnalyzeSyntax (Maybe Text)
- dUploadType :: Lens' DocumentsAnalyzeSyntax (Maybe Text)
- dPayload :: Lens' DocumentsAnalyzeSyntax AnalyzeSyntaxRequest
- dCallback :: Lens' DocumentsAnalyzeSyntax (Maybe Text)
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
Request Lenses
dUploadProtocol :: Lens' DocumentsAnalyzeSyntax (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
dAccessToken :: Lens' DocumentsAnalyzeSyntax (Maybe Text) Source #
OAuth access token.
dUploadType :: Lens' DocumentsAnalyzeSyntax (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
dPayload :: Lens' DocumentsAnalyzeSyntax AnalyzeSyntaxRequest Source #
Multipart request metadata.