Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maluuba_napi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maluuba_napi

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

MaluubaNapi

Maluuba nAPI is a new API that allows developers to add Natural Language Understanding (NLU) to their software.

Features

This API currently supports 22 different domains and around 70 different intents or actions. We also parse out numerous entities. We believe that this API is the beginning of something great, something that is going to completely change how people interact with their devices. But it is just a beginning. We are starting out with the given domains, but plan on massively expanding it as feature requests come in, and we see how people want to use this technology.

Access

Please sign up at the Maluuba Developer Site and apply for access. We are currently in an alpha stage right now, and giving out API keys to interested third parties. Once you have been approved, you will receive an API key that you can use with this client.

Installation

Ruby 1.9.x is required, the easiest way to get it is to install it by following the instructions for RVM on Ruby Downloads Page.

Add this line to your application's Gemfile:

gem 'maluuba_napi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install maluuba_napi

Yard Docs

Complete Yard Docs for the client library can be found here.

Usage

>> require 'rubygems'
>> require 'maluuba_napi'
>> client = MaluubaNapi::Client.new 'your_apikey_here'
=> #<MaluubaNapi::Client:0x007fd17ca01ba8 @auth={:apikey=>"your_apikey_here"}> 
>> client.interpret phrase: 'Set up a meeting with Bob tomorrow night at 7 PM to discuss the TPS reports'
=> 
{:entities=>
    {:daterange=>[{:start=>"2012-11-15", :end=>"2012-11-16"}],
     :title=>["meeting to discuss the tps reports"],
     :timerange=>[{:start=>"12:00:00AM", :end=>"12:00:00AM"}],
     :contacts=>[{:name=>"bob"}]
    },
  :action=>:CALENDAR_CREATE_EVENT,
  :category=>:CALENDAR
}
>> client.normalize phrase: 'tomorrow', type: 'daterange', timezone: 'EST'
=> {:entities=>{:daterange=>[{:start=>"2012-11-15", :end=>"2012-11-16"}]}, :context=>{:timezone=>"EST"}}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contact

This API is still an early work in progress, so we greatly appreciate all the feedback we receive, whether it's about bugs, features, or use cases. Here are some of the ways you can bring things to our attention:

FAQs

Package last updated on 28 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc