luis-client: An unofficial client for the LUIS NLP service.

[ bsd3, library, natural-language-processing, web ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2
Dependencies aeson (>=0.9.0.1 && <0.10), base (>=4.7 && <5), http-client (>=0.4.27 && <0.5), lens (>=4.13 && <4.14), text (>=1.2.2.1 && <1.3), vector (>=0.11.0.0 && <0.12), wreq (>=0.4.1.0 && <0.5) [details]
License BSD-3-Clause
Copyright (c) 2016 Micxjo Funkcio
Author Micxjo Funkcio <micxjo@fastmail.com>
Maintainer Micxjo Funkcio <micxjo@fastmail.com>
Category Natural Language Processing, Web
Home page https://github.com/micxjo/hs-luis-client
Source repo head: git clone https://github.com/micxjo/hs-luis-client
Uploaded by MicxjoFunkcio at 2016-04-01T18:54:37Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1271 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-04-01 [all 1 reports]

Readme for luis-client-0.0.2

[back to package description]

hs-luis-client

Hackage

An unofficial Haskell client for Microsoft's LUIS natural language processing API.

Examples

import Control.Lens
import NLP.LUIS

main = do
   let creds = Credentials "Your-App-Id" "Your-Subscription-Key"
   resp <- queryExc creds "show me news about greenland"

   resp ^? responseIntents . ix 0 . intentType   -- Just "FindNews"
   resp ^? responseEntities . ix 0 . entityText  -- Just "greenland"