<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3582277</guid>
        <pubDate>Fri, 13 Mar 2015 16:04:44 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3582277</link>
        <description><![CDATA[nsh: Поздравляю]]></description>
        <author>nsh</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581887</guid>
        <pubDate>Thu, 12 Mar 2015 15:13:11 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581887</link>
        <description><![CDATA[AndKy: Нашел в обсуждении похожей проблемы следующее решение (<a class='tag-url' href='http://sourceforge.net/p/cmusphinx/discussion/help/thread/f70e61f4/' target='_blank'>http://sourceforge.net/p/cmusphinx/discuss...hread/f70e61f4/</a>)<br>
<br>
-fillprob 0.1<br>
<br>
Теперь филлер модели ожили&#33;<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">word &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; start end &nbsp; pprob ascr &nbsp; &nbsp; &nbsp; lscr &nbsp; &nbsp; &nbsp; lback</div><div class="code_line">+INH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; 123 &nbsp; 1.000 -2187 &nbsp; &nbsp; &nbsp;-147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+INH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;124 &nbsp; 216 &nbsp; 1.000 -836 &nbsp; &nbsp; &nbsp; -147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+EXH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;217 &nbsp; 393 &nbsp; 1.000 -1606 &nbsp; &nbsp; &nbsp;-147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+EXH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;394 &nbsp; 422 &nbsp; 1.000 -1248 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp;</div><div class="code_line">+INH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;423 &nbsp; 554 &nbsp; 1.000 -2715 &nbsp; &nbsp; &nbsp;-147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+INH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;555 &nbsp; 621 &nbsp; 1.000 -531 &nbsp; &nbsp; &nbsp; -147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+INH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;622 &nbsp; 644 &nbsp; 1.000 -450 &nbsp; &nbsp; &nbsp; -147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+EXH+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;645 &nbsp; 702 &nbsp; 1.000 -365 &nbsp; &nbsp; &nbsp; -147 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">+BUB+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;703 &nbsp; 823 &nbsp; 1.000 -482 &nbsp; &nbsp; &nbsp; -147 &nbsp; &nbsp; &nbsp; 1</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581771</guid>
        <pubDate>Thu, 12 Mar 2015 13:25:08 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581771</link>
        <description><![CDATA[AndKy: Я провел тут один эксперимент..<br>
<br>
С помощью pocketsphinx_batch, используя новую акустическую модель с обученными филлерами я попытался распознать записи с дыханием. На выходе, вместо распознанного дыхания получались фразы из грамматики с промежуточными моментами тишины, например:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">word &nbsp; &nbsp; &nbsp; &nbsp;start end &nbsp; pprob ascr &nbsp; &nbsp; &nbsp; lscr &nbsp; &nbsp; &nbsp; lback</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; 50 &nbsp; &nbsp;1.000 -1161 &nbsp; &nbsp; &nbsp;-337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 51 &nbsp; &nbsp;122 &nbsp; 1.000 -1832 &nbsp; &nbsp; &nbsp;-337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 123 &nbsp; 167 &nbsp; 1.000 -381 &nbsp; &nbsp; &nbsp; -337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">громкость &nbsp; 168 &nbsp; 436 &nbsp; 1.000 -4274 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp;</div><div class="code_line">ноль &nbsp; &nbsp; &nbsp; &nbsp;437 &nbsp; 661 &nbsp; 1.000 -4816 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp;</div><div class="code_line">(NULL) &nbsp; &nbsp; &nbsp;661 &nbsp; 661 &nbsp; 1.000 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-7 &nbsp; &nbsp; &nbsp; &nbsp; 1</div></ol></div></div></div></div><br>
<br>
Т.е. вместо моделей +вдох+ и +выдох+ распознается модель &lt;sil&gt; и обрывки команд. Однако в словаре шумов есть и филлеры для вдоха и выдоха (+INH+ +EXH+):<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">+INH+ ++INH++</div><div class="code_line">+EXH+ ++EXH++</div><div class="code_line">+BUB+ ++BUB++</div><div class="code_line">&#60;s&#62; &nbsp; SIL</div><div class="code_line">&#60;/s&#62; &nbsp;SIL</div><div class="code_line">&#60;sil&#62; SIL</div><div class="code_line">- &nbsp; &nbsp; SIL</div></ol></div></div></div></div><br>
<br>
Тогда я решил &quot;обхитрить&quot; декодер, поменяв местами описание SIL и +INH+(вдох) в mdef файле:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line"># Columns definitions</div><div class="code_line">#base lft &nbsp;rt p attrib tmat &nbsp; &nbsp; &nbsp;... state id&#39;s ...</div><div class="code_line">++BUB++ - &nbsp; - - filler &nbsp; 51 &nbsp; &nbsp;153 &nbsp; &nbsp;154 &nbsp; &nbsp;155 N</div><div class="code_line">++EXH++ - &nbsp; - - filler &nbsp; 52 &nbsp; &nbsp;156 &nbsp; &nbsp;157 &nbsp; &nbsp;158 N</div><div class="code_line">++INH++ - &nbsp; - - filler &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp;2 N &nbsp; &#60;- теперь ++INH++ отображен на сеноны SIL</div><div class="code_line">&nbsp;&nbsp;SIL &nbsp; - &nbsp; - - filler &nbsp; 53 &nbsp; &nbsp;159 &nbsp; &nbsp;160 &nbsp; &nbsp;161 N &nbsp; &nbsp; &nbsp;а SIL отображен на сеноны модели ++INH++</div><div class="code_line">&nbsp;&nbsp; &nbsp;a &nbsp; - &nbsp; - - &nbsp; &nbsp;n/a &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp;4 &nbsp; &nbsp; &nbsp;5 N</div><div class="code_line">&nbsp;&nbsp; aa &nbsp; - &nbsp; - - &nbsp; &nbsp;n/a &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp; &nbsp;7 &nbsp; &nbsp; &nbsp;8 N</div><div class="code_line">&nbsp;&nbsp; ae &nbsp; - &nbsp; - - &nbsp; &nbsp;n/a &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp;9 &nbsp; &nbsp; 10 &nbsp; &nbsp; 11 N</div></ol></div></div></div></div><br>
<br>
Теперь, при распознавании тех же записей, декодер должен выдавать +INH+ вместо &lt;SIL&gt;, однако на практике он снова выдает гипотизы, включающие модель &lt;sil&gt;, хотя она уже описывается другими сенонами:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">word &nbsp; &nbsp; &nbsp; &nbsp;start end &nbsp; pprob ascr &nbsp; &nbsp; &nbsp; lscr &nbsp; &nbsp; &nbsp; lback</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; 148 &nbsp; 1.000 -2209 &nbsp; &nbsp; &nbsp;-337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 149 &nbsp; 225 &nbsp; 1.000 -447 &nbsp; &nbsp; &nbsp; -337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">громкость &nbsp; 226 &nbsp; 339 &nbsp; 1.000 -3299 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 340 &nbsp; 570 &nbsp; 1.000 -1919 &nbsp; &nbsp; &nbsp;-337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 571 &nbsp; 595 &nbsp; 1.000 -459 &nbsp; &nbsp; &nbsp; -337 &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">пять &nbsp; &nbsp; &nbsp; &nbsp;596 &nbsp; 662 &nbsp; 1.000 -2647 &nbsp; &nbsp; &nbsp;-7 &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp;</div><div class="code_line">&#60;sil&#62; &nbsp; &nbsp; &nbsp; 663 &nbsp; 746 &nbsp; 1.000 -1485 &nbsp; &nbsp; &nbsp;-337 &nbsp; &nbsp; &nbsp; 1</div></ol></div></div></div></div>  <br>
<br>
Складывается такое впечатление, что декодер вообще не использует новые филлер-модели при распознавании. Есть какие-нибудь идеи почему так происходит?]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581401</guid>
        <pubDate>Wed, 11 Mar 2015 15:23:40 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3581401</link>
        <description><![CDATA[AndKy: Спасибо за совет&#33; <br>
Добавив флаги -backtrace и -time я обнаружил, что при декодировании записей дыхания ни одна филлер-модель, кроме &lt;sil&gt;, не появляется на выходе. Я воспользовался функцией printp чтобы сравнить значения параметров моих обученных сенонов и сенонов старой модели и в целом они выглядят похоже..<br>
<br>
В процессе обучения выводилась информация о правдоподобии обучаемой модели<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">Baum welch starting for 8 Gaussian(s), iteration: 1 (1 of 1)</div><div class="code_line">Normalization for iteration: 1</div><div class="code_line">Current Overall Likelihood Per Frame = 6.27045468698569</div><div class="code_line">&nbsp;</div><div class="code_line">Baum welch starting for 8 Gaussian(s), iteration: 2 (1 of 1)</div><div class="code_line">Normalization for iteration: 2</div><div class="code_line">Current Overall Likelihood Per Frame = 6.75358592732956</div><div class="code_line">&nbsp;</div><div class="code_line">Baum welch starting for 8 Gaussian(s), iteration: 3 (1 of 1)</div><div class="code_line">Normalization for iteration: 3</div><div class="code_line">Current Overall Likelihood Per Frame = 6.84499185993755</div></ol></div></div></div></div><br>
На сколько я понимаю, декодер, зная транскрипции фраз, рассчитывает данную оценку правдоподобия.<br>
<br>
А можно ли тоже самое сделать с помощью pockeshinx_batch? Чтобы понять, почему модель &lt;sil&gt; выигрывает у моделей ++вдох++ и ++выдох++ при распознавании дыхания<br>
<br>
Или есть какой-нибудь другой способ проверить работу нужной филлер-модели?]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3579186</guid>
        <pubDate>Tue, 03 Mar 2015 21:35:53 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3579186</link>
        <description><![CDATA[nsh: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>должен ли pocketsphinx выводить в распознанных гипотезах филлер-модели (например: &quot;++вдох++ громкость три&quot;)<br>
</div></div><br>
<br>
Нет, в строке результата шумы пропускаются. Только если слова с временами печатать, они будут.<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>а если нет, то можно ли его заставить это сделать, ведь нужно каким-то образом контролировать процесс распознавания?</div></div><br>
<br>
-backtrace yes или -time yes можно добавить для более подробной выдачи. Можно исходный код изменить, чтобы выдавались в строке результата шумы тоже были.]]></description>
        <author>nsh</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3579006</guid>
        <pubDate>Tue, 03 Mar 2015 11:21:15 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3579006</link>
        <description><![CDATA[AndKy: Продолжаю разбираться с построением филлер-моделей. <br>На небольшой базе, содержащей дыхание, натренировал модель ++вдох++ и ++выдох++.<br>Затем как и говорил выше, перенес данные филлеры в главную акустическую модель.<br><br>Единственное предупреждение в ходе обучения состояло в том, что из-за отсутствия звуков SIL в транскрипциях, модель SIL не была обучена (но данной цели я и не преследовал)<br><br>Сейчас я начал тестировать полученную акустическую модель и столкнулся с тем, что при распознавании записей, содержащих фрагменты дыхания, либо совсем нет гипотез, либо ошибочно распознается фраза из грамматики.<br><br>Вопрос такой - должен ли pocketsphinx выводить в распознанных гипотезах филлер-модели (например: &quot;++вдох++ громкость три&quot;), а если нет, то можно ли его заставить это сделать, ведь нужно каким-то образом контролировать процесс распознавания?]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3576050</guid>
        <pubDate>Sat, 21 Feb 2015 15:49:29 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3576050</link>
        <description><![CDATA[AndKy: Спасибо за ответы&#33;<br><br>Раз отличий нет, то можно и попрактиковаться в обучении.<br><br>А объединение моделей в моем случае можно сделать и вручную: <br>  - склеить файлы распределений, весов и матр.переходов (естественно, не нарушая их внутренний формат)<br>  - добавить описание филлеров в mdef с правильными номерами состояний и матр. переходов<br><br>Должно работать&#33;]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3575989</guid>
        <pubDate>Sat, 21 Feb 2015 12:25:58 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3575989</link>
        <description><![CDATA[nsh: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Есть ли какие-нибудь отличия между обучением моделей обычных звуков и моделей заполняющих шумов (filler models)?</div></div> <br>
<br>
Нет<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>И возможно ли создать акустическую модель, содержащую только модели филлеров, чтобы затем переместить их в акустическую модель, которая содержит только модели различных фонем?<br>
</div></div><br>
<br>
В теории можно, на практике объединение моделей не реализовано.<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Не будет ли в таком случае проблемы с моделью SIL, которая обычно вставляется между словами и в начале и конце каждого предложения?<br>
</div></div><br>
<br>
Если всё правильно сделать, то не будет.]]></description>
        <author>nsh</author>
        <category>Речевые Технологии</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3575987</guid>
        <pubDate>Sat, 21 Feb 2015 12:06:16 +0000</pubDate>
        <title>PocketSphinx: обучение filler моделей</title>
        <link>https://forum.sources.ru/index.php?showtopic=399723&amp;view=findpost&amp;p=3575987</link>
        <description><![CDATA[AndKy: Добрый день&#33;<br><br>Есть ли какие-нибудь отличия между обучением моделей обычных звуков и моделей заполняющих шумов (filler models)? И возможно ли создать акустическую модель, содержащую только модели филлеров, чтобы затем переместить их в акустическую модель, которая содержит только модели различных фонем?<br><br>Т.е, правильно ли я понимаю, что для обучения, например, модели дыхания (т.е. +вдох+ +выдох+), нужно записать множество примеров дыхания и построить файл транскрипций (prompts) содержащий последовательность филлеров, т.е. по аналогии с обучением обычной акустической модели. <br><br>Не будет ли в таком случае проблемы с моделью SIL, которая обычно вставляется между словами и в начале и конце каждого предложения?]]></description>
        <author>AndKy</author>
        <category>Речевые Технологии</category>
      </item>
	
      </channel>
      </rss>
	