Live data from Hacker News

Show HN: We've developed a Natural Language API

dev.maluuba.com

1–10 of 18 posts

Re: Show HN: We've developed a Natural Language API

#5
post #4

Wow, this is pretty cool! Could you give a few more examples to get a feel for what kind of results you get (and inputs you can give)?

Take a look at our ruby specs: https://github.com/Maluuba/napi-ruby/blob/master/maluuba_nap... There's nearly a hundred sample sentences and expected outputs -- and they all pass :)

Re: Show HN: We've developed a Natural Language API

#6
post #5
post #4

Wow, this is pretty cool! Could you give a few more examples to get a feel for what kind of results you get (and inputs you can give)?

Take a look at our ruby specs: https://github.com/Maluuba/napi-ruby/blob/master/maluuba_nap... There's nearly a hundred sample sentences and expected outputs -- and they all pass :)

If you prefer other languages, we also got:

Python: https://github.com/Maluuba/napi-python/blob/master/tests/tes...

Java: https://github.com/Maluuba/napi-java/blob/master/src/test/ja...

Here is an example of a sentence and response:

>> client.interpret phrase: 'Set up a meeting with Bob tomorrow night at 7 PM to discuss the TPS reports'

response:

{: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 }

Re: Show HN: We've developed a Natural Language API

#10
post #9

Example URLs complain about OAuth errors. Don't provide an example if it doesn't work properly.

They do work, they just need to be authenticated with the apikey parameter -- given the experimental stage it's in, we didn't really want to publish a publicly-available key =/

Sorry for the inconvenience!

Post reply on HN