Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phone number and Date of Birth from human speech

Is there an effective Natural Language Processor that can fetch the phone number and date of birth from human speech. Each user has a different way of specifying the phone number and date of birth. Hence, converting speech to text and then parsing the text for phone number is not helpful.

like image 385
Ashok Vairavan Avatar asked Apr 07 '17 20:04

Ashok Vairavan


2 Answers

Easiest way is to extract text from speech, there is plenty of tools, proprietary (nuance), and tinker friendly open source like sphinx, and plenty of tools to extract dates and phones expressed differently. IBM Watson offers one, Smart Formatting beta, to uniform dates and phones in own transcripts. To guess which dates are birthdays you try detect related keywords (birth, born so on) nearby.

For few free alternatives, check

For phone #

https://www.npmjs.com/package/phone-number-extractor

https://github.com/googlei18n/libphonenumber

For date extractions check prev questions

Extracting dates from text in Java

Best way to identify and extract dates from text Python?

There is a patent for the process your are asking, but you might have to pay royalties or smth. http://www.freepatentsonline.com/8416928.html

like image 31
Serge Avatar answered Oct 07 '22 14:10

Serge


You can use Google speech to text api. I had used same for entering account number for blind people. I was working for bank so I there were lots of numbers involved as input eg account number, card number etc.

With Google STT engine you can define custom voice inputs.

Also I had created feedback mechanism using Text to Speech Api so that app can tell if users feedback is invalid and request him to speak again.

You can see code snippet at github. https://github.com/hiteshsahu/Android-TTS-STT

like image 86
Hitesh Sahu Avatar answered Oct 07 '22 14:10

Hitesh Sahu