Распознавание речи Java

 'http://link1',
       'city 2' => 'http://link2',
       'Head Office' => 'http://link3'
    ];


$str = "

You can visit our stores at City 1 and City 2, or visit our Head office.

"; foreach ($my_links as $link_title => $link) { $str = str_ireplace($link_title,"".ucwords($link_title)."",$str); } echo $str;

Зациклите свой $my_links. Найдите заголовок ссылки в строке и используйте str_ireplace () , чтобы заменить заголовок ссылки тегами привязки.

11
задан guyumu 6 March 2009 в 05:42
поделиться

5 ответов

Главным образом Java: http://cmusphinx.sourceforge.net/html/cmusphinx.php

9
ответ дан 3 December 2019 в 07:39
поделиться

Я искал то же самое в течение нескольких дней теперь. До сих пор я нашел Sphinx4 и FreeTTS. Оба - реализации Java, и Сфинкс кажется, что он обновляется скорее часто в отличие от FreeTTS. Единственная проблема, которую я имею, состоит в том, что у Сфинкса есть проблемы при понимании меня в офисной среде, и мне нужно решение для складской среды.

1
ответ дан 3 December 2019 в 07:39
поделиться

sphinx is by far the best option available if you are on a budget. however it also makes a huge difference what models you use, how you tune them and how you tune your audio source. absolutely everything has to match otherwise it just wont work. given the problem you described id be willing to bet a substantial sum that you've got you got your models mixed up and your mic is not correctly calibrated. also, if you have an accent it probably will not work - this is not an issue with the decoder but with the acoustic models - if no one with a voice/accent similar to yours was included in the training data you'll get poor results.

that said, have you looked at their open source models page?

http://www.speech.cs.cmu.edu/sphinx/models/

depending on what you are trying to do you should be able to obtain about 90% accuracy on free speech with the 16kHz WSJ models and the gigaword LMs NVP. i caution however that ASR is a massive undertaking and hasn't yet reached commodity status.

3
ответ дан 3 December 2019 в 07:39
поделиться

Моя группа закончила мини-программу на Java для распознавания произнесенных цифр с помощью Сфинкса .

.
1
ответ дан 3 December 2019 в 07:39
поделиться

Можно написать небольшую вспомогательную функцию с поддержкой prototype , которая удаляет класс из всех активных элементов и добавляет его к той, которая была нажата:

function active(e) {
    $$('.active').each(function(i) {
        i.removeClassName('active');
    });
    e.addClassName('active');
};

Вы можете вызвать эту функцию из событий onclick :

<a href="#sectiona" onclick="active(this)">a</a>
<a href="#sectionb" onclick="active(this)">b</a>
<a href="#sectionc" onclick="active(this)">c</a>
-121--4746577-

Я нашел эту публикацию форума, где люди пытаются http://nuigroup.com/forums/viewthread/3531/#44302

-121--1608009-

Вы можете загрузить vPass (голосовой пароль) из http://www.basic-signalprocessing.com .

Для (vText) voice to text я могу отправить файл vText.jar на ваш адрес электронной почты. Pls notify enquiry@basic-signalprocessing.com

Компоненты разработаны для языка Java и .Net. Период распознавания составляет 5 секунд. VPass хорошо протестирован vText не является, все еще новым, поэтому еще не упакован.

с учетом, Андреас

2
ответ дан 3 December 2019 в 07:39
поделиться
Другие вопросы по тегам:

Похожие вопросы: