Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-16 Thread Nickolay V. Shmyrev
В Чтв, 16/09/2010 в 10:35 +0530, DHAVAL INDRODIYA пишет:
 
 Hi Nickolay,
 
 here i attached my file. please have a look into it.

Hello DHAVAL

As I wrote your file has wrong format.

  $ file ask-propertyid.WAV 
   ask-propertyid.WAV: RIFF (little-endian) data, WAVE audio, 
   GSM 6.10, mono 8000 Hz

See GSM 6.10 there. You need to convert it to PCM

 sox ask-propertyid.WAV -e signed-integer ask-propertyid-converted.WAV

Then decode.



signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-16 Thread DHAVAL INDRODIYA
Thanks for update if a file is converted to text then where can i find a
text file like after running
pocketsphinx_continuous command where text saved.

regards
dhaval

On Thu, Sep 16, 2010 at 12:29 PM, Nickolay V. Shmyrev nshmy...@nexiwave.com
 wrote:

 В Чтв, 16/09/2010 в 10:35 +0530, DHAVAL INDRODIYA пишет:
 
  Hi Nickolay,
 
  here i attached my file. please have a look into it.

 Hello DHAVAL

 As I wrote your file has wrong format.

  $ file ask-propertyid.WAV
   ask-propertyid.WAV: RIFF (little-endian) data, WAVE audio,
   GSM 6.10, mono 8000 Hz

 See GSM 6.10 there. You need to convert it to PCM

  sox ask-propertyid.WAV -e signed-integer ask-propertyid-converted.WAV

 Then decode.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-16 Thread Nickolay V. Shmyrev
В Чтв, 16/09/2010 в 12:44 +0530, DHAVAL INDRODIYA пишет:
 Thanks for update if a file is converted to text then where can i find
 a text file like after running 
 pocketsphinx_continuous command where text saved.

Text is in the last line:

0: we've entered the property the identification number of a
conflict



signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-15 Thread Nickolay V. Shmyrev
2010/9/15, DHAVAL INDRODIYA dhaval.it01...@gmail.com:
 Hello i have tried to convert through sphinx as suggested by Nickolay

 i am not getting convert my simple audio file.

 i am having following error while i fire following command

 pocketsphinx_continuous -infile /usr/etc/ask-propertyid.WAV -samprate 8000 \
 -hmm /usr/etcSpeechToText/Communicator_semi_40.cd_semi_6000 -lm
 lm_giga_20k_nvp_3gram.lm.DMP

 *FATAL_ERROR: continuous.c, line 149: Failed to calibrate voice activity
 detection*

Hi

That's a progress already. I suspect this file has wrong format. It
must be little-endian 16-bit PCM with sample rate 8kHz. uLaw will not
work. It's also nice to have a little period of silence in the
beginning of the file.

Can you provide the file itself/share it somehow so I could take a look.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Nickolay V. Shmyrev
В Втр, 14/09/2010 в 01:55 -0400, Zeeshan Zakaria пишет:
 It is simply not possible, though it might be in the distant future.

Let me respectively disagree with you. It's perfectly possible even with
open source tools. You can download pocketsphinx from

http://cmusphinx.sourceforge.net

To convert speech to text you need to download Communicator acoustic
telephone model and LM giga large vocabulary language model.

http://www.speech.cs.cmu.edu/sphinx/models/communicator_mar2008/communicator_semi_6000_20080321.tar.gz
http://www.keithv.com/software/giga/

-- 
Nexiwave - Speech Mining Solution For Call Centers
http://nexiwave.com




signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread DHAVAL INDRODIYA
Thanks for update.

is there any command for using sphinix to convert speech to text

On Tue, Sep 14, 2010 at 1:18 PM, Nickolay V. Shmyrev
nshmy...@nexiwave.comwrote:

 В Втр, 14/09/2010 в 01:55 -0400, Zeeshan Zakaria пишет:
  It is simply not possible, though it might be in the distant future.

 Let me respectively disagree with you. It's perfectly possible even with
 open source tools. You can download pocketsphinx from

 http://cmusphinx.sourceforge.net

 To convert speech to text you need to download Communicator acoustic
 telephone model and LM giga large vocabulary language model.


 http://www.speech.cs.cmu.edu/sphinx/models/communicator_mar2008/communicator_semi_6000_20080321.tar.gz
 http://www.keithv.com/software/giga/

 --
 Nexiwave - Speech Mining Solution For Call Centers
 http://nexiwave.com



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Nickolay V. Shmyrev
В Втр, 14/09/2010 в 14:00 +0530, DHAVAL INDRODIYA пишет:
 Thanks for update.
 
 is there any command for using sphinix to convert speech to text

Yes, first of all make sure you compiled latest snapshot. Then run

# sphinx_lm_sort   lm_giga_20k_nvp_3gram.arpa 
lm_giga_20k_nvp_3gram.arpa.sorted

# sphinx_lm_convert -i lm_giga_20k_nvp_3gram.arpa.sorted -o
lm_giga_20k_nvp_3gram.lm.DMP

This will create a language model lm_giga_20k_nvp_3gram.lm.DMP

And finally convert audio

pocketsphinx_continuous -infile your_audio_file.wav -samprate 8000 \
-hmm Communicator_semi_40.cd_semi_6000 -lm lm_giga_20k_nvp_3gram.lm.DMP

--
Nexiwave - Speech Mining Solution For Call Centers
http://nexiwave.com


signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Zeeshan Zakaria
In theory it should work but in real life it doesn't. Converting reliably
half an hour of speech into text is simply a dream.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-09-14 4:52 AM, Nickolay V. Shmyrev nshmy...@nexiwave.com wrote:

В Втр, 14/09/2010 в 14:00 +0530, DHAVAL INDRODIYA пишет:

 Thanks for update.

 is there any command for using sphinix to convert speech to text
Yes, first of all make sure you compiled latest snapshot. Then run

# sphinx_lm_sort   lm_giga_20k_nvp_3gram.arpa 
lm_giga_20k_nvp_3gram.arpa.sorted

# sphinx_lm_convert -i lm_giga_20k_nvp_3gram.arpa.sorted -o
lm_giga_20k_nvp_3gram.lm.DMP

This will create a language model lm_giga_20k_nvp_3gram.lm.DMP

And finally convert audio

pocketsphinx_continuous -infile your_audio_file.wav -samprate 8000 \
-hmm Communicator_semi_40.cd_semi_6000 -lm lm_giga_20k_nvp_3gram.lm.DMP


--
Nexiwave - Speech Mining Solution For Call Centers
http://nexiwave.com

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread DHAVAL INDRODIYA
is it possible with lumenvox i will purchase liceance

regards
Dhaval

On Tue, Sep 14, 2010 at 4:20 PM, Zeeshan Zakaria zisha...@gmail.com wrote:

 In theory it should work but in real life it doesn't. Converting reliably
 half an hour of speech into text is simply a dream.

 Zeeshan A Zakaria

 --
 www.ilovetovoip.com

 On 2010-09-14 4:52 AM, Nickolay V. Shmyrev nshmy...@nexiwave.com
 wrote:

 В Втр, 14/09/2010 в 14:00 +0530, DHAVAL INDRODIYA пишет:

  Thanks for update.
 
  is there any command for using sphinix to convert speech to text
 Yes, first of all make sure you compiled latest snapshot. Then run

 # sphinx_lm_sort   lm_giga_20k_nvp_3gram.arpa 
 lm_giga_20k_nvp_3gram.arpa.sorted

 # sphinx_lm_convert -i lm_giga_20k_nvp_3gram.arpa.sorted -o
 lm_giga_20k_nvp_3gram.lm.DMP

 This will create a language model lm_giga_20k_nvp_3gram.lm.DMP

 And finally convert audio

 pocketsphinx_continuous -infile your_audio_file.wav -samprate 8000 \
 -hmm Communicator_semi_40.cd_semi_6000 -lm lm_giga_20k_nvp_3gram.lm.DMP


 --
 Nexiwave - Speech Mining Solution For Call Centers
 http://nexiwave.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Danny Nicholas
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of DHAVAL
INDRODIYA
Sent: Tuesday, September 14, 2010 12:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Speech To Text on linux with asterisk

 

Hi,

 

Is  it  possible to record say 30 seconds of audio and then have LumenVox
convert to text ?

or any available tool open source for speech to text .

 

Regards

 

Dhaval

 

I know there are at least a dozen other responses to this query, but here is
my input:

1.  Possible is a big term here; In the best-case scenario (that I am
aware of), Lumenvox fully licensed engine will produce an 80-95% accurate
rendering of your speech as text.  This assumes that your speaker uses
English or another Language that L. has specifically tuned for and that you
have a very good quality line (in-house SIP, not a cell phone).

2. Products like Naturally Speaking and Dragonspeak (not sure I've got
that one 100% correct) have been on the market for years and only promise a
90+% conversion rate on specifically trained speakers.

3. As Zeeshan said in a later post, this capability may arrive soon, but (my
term) you wouldn't want to hold your breath waiting for it.

4. At this point in time, outsourced transposition is still the most
accurate and economical route for Text to Speech in a Business Environment.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Zeeshan Zakaria
If it works even half decent, kindly post your result on the list. I need
something similar for a client, that is voicemail to text. After my research
my proposal was to hire someone to listen to voicemails, type them and email
them, as I couldn't see any way to do it, though in theory any good voice
recognition engine should do it.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-09-14 7:09 AM, DHAVAL INDRODIYA dhaval.it01...@gmail.com wrote:

is it possible with lumenvox i will purchase liceance

regards
Dhaval



On Tue, Sep 14, 2010 at 4:20 PM, Zeeshan Zakaria zisha...@gmail.com wrote:

 In theory it shou...

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread Paul Belanger
On Tue, Sep 14, 2010 at 1:41 AM, DHAVAL INDRODIYA
dhaval.it01...@gmail.com wrote:
 - Call comes in
 - start recording
 - call remains for 30 minutes
 - stop recording
 - convert wav file audio to text.

 is this possible with lumenvox or any other engine.

Not realistically, because you need to define grammars into your
speech engine, it would take a large amount of work to set this up.
In the past when this has been a customer requirement, I have had to
hire a transcribing service for my audio file.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-14 Thread DHAVAL INDRODIYA
Hello i have tried to convert through sphinx as suggested by Nickolay

i am not getting convert my simple audio file.

i am having following error while i fire following command


pocketsphinx_continuous -infile /usr/etc/ask-propertyid.WAV -samprate 8000 \
-hmm /usr/etcSpeechToText/Communicator_semi_40.cd_semi_6000 -lm
lm_giga_20k_nvp_3gram.lm.DMP

*FATAL_ERROR: continuous.c, line 149: Failed to calibrate voice activity
detection*

regards
Dhaval


On Tue, Sep 14, 2010 at 8:40 PM, Paul Belanger paul.belan...@polybeacon.com
 wrote:

 On Tue, Sep 14, 2010 at 1:41 AM, DHAVAL INDRODIYA
 dhaval.it01...@gmail.com wrote:
  - Call comes in
  - start recording
  - call remains for 30 minutes
  - stop recording
  - convert wav file audio to text.
 
  is this possible with lumenvox or any other engine.
 
 Not realistically, because you need to define grammars into your
 speech engine, it would take a large amount of work to set this up.
 In the past when this has been a customer requirement, I have had to
 hire a transcribing service for my audio file.

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Speech To Text on linux with asterisk

2010-09-13 Thread DHAVAL INDRODIYA
Hi,

Is  it  possible to record say 30 seconds of audio and then have LumenVox
convert to text ?

or any available tool open source for speech to text .

Regards

Dhaval
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-13 Thread Paul Belanger
On Tue, Sep 14, 2010 at 1:01 AM, DHAVAL INDRODIYA
dhaval.it01...@gmail.com wrote:
 Is  it  possible to record say 30 seconds of audio and then have LumenVox
 convert to text ?

ASR, yes.

http://www.digium.com/en/products/software/lumenvox.php

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-13 Thread DHAVAL INDRODIYA
Thanks Paul,

i think still i have some problem to understand , i mean to say that i have
30 minutes audio file in
WAV format and i wnat its text here are the scenario .

- Call comes in
- start recording
- call remains for 30 minutes
- stop recording
- convert wav file audio to text.

is this possible with lumenvox or any other engine.

regards
Dhaval

On Tue, Sep 14, 2010 at 10:57 AM, Paul Belanger 
paul.belan...@polybeacon.com wrote:

 On Tue, Sep 14, 2010 at 1:01 AM, DHAVAL INDRODIYA
 dhaval.it01...@gmail.com wrote:
  Is  it  possible to record say 30 seconds of audio and then have LumenVox
  convert to text ?
 
 ASR, yes.

 http://www.digium.com/en/products/software/lumenvox.php

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Speech To Text on linux with asterisk

2010-09-13 Thread Zeeshan Zakaria
It is simply not possible, though it might be in the distant future.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-09-14 1:50 AM, DHAVAL INDRODIYA dhaval.it01...@gmail.com wrote:

Thanks Paul,

i think still i have some problem to understand , i mean to say that i have
30 minutes audio file in
WAV format and i wnat its text here are the scenario .

- Call comes in
- start recording
- call remains for 30 minutes
- stop recording
- convert wav file audio to text.

is this possible with lumenvox or any other engine.

regards
Dhaval



On Tue, Sep 14, 2010 at 10:57 AM, Paul Belanger 
paul.belan...@polybeacon.com wrote:

 On Tue, ...

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users