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 |
Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.
See: Cloud Natural Language API Reference for language.documents.analyzeEntities
.
Synopsis
- type DocumentsAnalyzeEntitiesResource = "v1" :> ("documents:analyzeEntities" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AnalyzeEntitiesRequest :> Post '[JSON] AnalyzeEntitiesResponse))))))))
- documentsAnalyzeEntities :: AnalyzeEntitiesRequest -> DocumentsAnalyzeEntities
- data DocumentsAnalyzeEntities
- daeXgafv :: Lens' DocumentsAnalyzeEntities (Maybe Xgafv)
- daeUploadProtocol :: Lens' DocumentsAnalyzeEntities (Maybe Text)
- daeAccessToken :: Lens' DocumentsAnalyzeEntities (Maybe Text)
- daeUploadType :: Lens' DocumentsAnalyzeEntities (Maybe Text)
- daePayload :: Lens' DocumentsAnalyzeEntities AnalyzeEntitiesRequest
- daeCallback :: Lens' DocumentsAnalyzeEntities (Maybe Text)
REST Resource
type DocumentsAnalyzeEntitiesResource = "v1" :> ("documents:analyzeEntities" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AnalyzeEntitiesRequest :> Post '[JSON] AnalyzeEntitiesResponse)))))))) Source #
A resource alias for language.documents.analyzeEntities
method which the
DocumentsAnalyzeEntities
request conforms to.
Creating a Request
documentsAnalyzeEntities Source #
Creates a value of DocumentsAnalyzeEntities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DocumentsAnalyzeEntities Source #
Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.
See: documentsAnalyzeEntities
smart constructor.
Instances
Request Lenses
daeUploadProtocol :: Lens' DocumentsAnalyzeEntities (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
daeAccessToken :: Lens' DocumentsAnalyzeEntities (Maybe Text) Source #
OAuth access token.
daeUploadType :: Lens' DocumentsAnalyzeEntities (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
daePayload :: Lens' DocumentsAnalyzeEntities AnalyzeEntitiesRequest Source #
Multipart request metadata.
daeCallback :: Lens' DocumentsAnalyzeEntities (Maybe Text) Source #
JSONP