News for hackers. Stuff that matters.
Re:Microsoft Concept Graph by MarkMc on Wednesday November 02, 2016 @03:04AM (#12852811)
Somewhat related: I develop accounting software, and I want my users to be able to say, "Show me all the unpaid invoices for Paul Jones" or "Record a Mastercard payment to ABC Supplies for £32.20".

Are there any libraries or platforms that would help me implement this kind of natural language UI?

Re:Microsoft Concept Graph by Maarten88 on Wednesday November 02, 2016 @10:18AM (#12854947)
Microsofts' LUIS service will easily do that for you. You train it to recognize a user intent (show_invoices, record_payment) and classify additional entities (payment_status, creditor_name, or payment_type). It works remarkably well.

You use the portal to register your application and enter some example sentences and specify your expected interpretation. Then you can start recognizing input strings using the API. You can then improve the recognizer by manually correcting input from actual use.

https://www.luis.ai/

Re:Microsoft Concept Graph by nreece on Wednesday November 02, 2016 @06:25AM (#12853424)
Have a look at 'Named Entity Recognition' (NER), particularly a 7-class model to recognize: location, person, organization, money, percent, date and time.

The Stanford NLP Group has a NER project: http://www-nlp.stanford.edu/software/CRF-NER.shtml, and there are many others.

Re:Microsoft Concept Graph by monfrere on Wednesday November 02, 2016 @03:21AM (#12852855)
You might look into api.ai.