<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CMUSphinx Open Source Speech Recognition</title>
    <description>CMUSphinx is an open source speech recognition system for mobile and server applications. Supported languages: C, C++, C#, Python, Ruby, Java, Javascript. Supported platforms: Unix, Windows, IOS, Android, hardware.</description>
    <link>http://cmusphinx.github.io/</link>
    <atom:link href="http://cmusphinx.github.io/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>PocketSphinx 5.1.0 is released!</title>
        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.1.0&quot;&gt;PocketSphinx
5.1.0&lt;/a&gt;
is now released.  This is a minor release which adds a number of new
features, support for Python 3.14 and pre-built wheels for
Linux/arm64, many optimizations to the endpointer, and quite a few
fixes for annoying memory errors.&lt;/p&gt;

&lt;p&gt;For the full list of changes, see &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.1.0&quot;&gt;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.1.0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Download source from
&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.1.0.tar.gz&quot;&gt;GitHub&lt;/a&gt;
or
&lt;a href=&quot;https://files.pythonhosted.org/packages/67/dd/d58951dce63d91c373b83fa41bbbbb885817623d8264fba85255cb7bc656/pocketsphinx-5.1.0.tar.gz&quot;&gt;PyPI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yes, those are not exactly the same file!&lt;/p&gt;

&lt;p&gt;Install binaries for Python:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 install pocketsphinx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Read the API documentation &lt;a href=&quot;https://cmusphinx.github.io/doc/pocketsphinx/&quot;&gt;for C&lt;/a&gt;
and &lt;a href=&quot;https://pocketsphinx.readthedocs.io/en/latest/&quot;&gt;for Python3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2026/05/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2026/05/release/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.4 is released!</title>
        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.4&quot;&gt;PocketSphinx
5.0.4&lt;/a&gt;
is now released.  This is a patch release which primarily adds support
for Python 3.13.&lt;/p&gt;

&lt;p&gt;Download source from
&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.0.4.tar.gz&quot;&gt;GitHub&lt;/a&gt;
or
&lt;a href=&quot;https://files.pythonhosted.org/packages/ce/89/23e37c19bf30f0570088b7c4b548a666ca94331a6aa5a59b34402becc2d5/pocketsphinx-5.0.4.tar.gz&quot;&gt;PyPI&lt;/a&gt;
Yes, these are not exactly the same file.&lt;/p&gt;

&lt;p&gt;Install binaries for Python:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 install pocketsphinx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Read the API documentation &lt;a href=&quot;https://cmusphinx.github.io/doc/pocketsphinx/&quot;&gt;for C&lt;/a&gt;
and &lt;a href=&quot;https://pocketsphinx.readthedocs.io/en/latest/&quot;&gt;for Python3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 10 Jan 2025 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2025/01/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2025/01/release/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.3 is released!</title>
        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.3&quot;&gt;PocketSphinx
5.0.3&lt;/a&gt;
is now released.  This is a patch release which adds support for
Python 3.12 and fixes a bug in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;NGramModel&lt;/code&gt; wrapper class.&lt;/p&gt;

&lt;p&gt;Download source from
&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.0.2.tar.gz&quot;&gt;GitHub&lt;/a&gt;
or
&lt;a href=&quot;https://files.pythonhosted.org/packages/db/d8/8147df2687a14eb87bfc0e8c2eb921bc4c29d2c6568e1bb08fdd2e2d1471/pocketsphinx-5.0.3.tar.gz&quot;&gt;PyPI&lt;/a&gt;
Yes, these are not exactly the same file.&lt;/p&gt;

&lt;p&gt;Install binaries for Python:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 install pocketsphinx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Read the API documentation &lt;a href=&quot;https://cmusphinx.github.io/doc/pocketsphinx/&quot;&gt;for C&lt;/a&gt;
and &lt;a href=&quot;https://pocketsphinx.readthedocs.io/en/latest/&quot;&gt;for Python3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 28 Dec 2023 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2023/12/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2023/12/release/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.1 is released!</title>
        <description>&lt;p&gt;&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.1&quot;&gt;PocketSphinx
5.0.1&lt;/a&gt;
is now released.  This is a patch release which fixes a number of bugs
and documentation errors in PocketSphinx 5.0.0.  See the link above
for more detail.&lt;/p&gt;

&lt;p&gt;Download source from
&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.0.1.tar.gz&quot;&gt;GitHub&lt;/a&gt;
or
&lt;a href=&quot;https://files.pythonhosted.org/packages/94/b2/34e55d48ce1cbf8bdf831d9edbf7f61ccf8852edc54da4f05fe7d1fd9034/pocketsphinx-5.0.1.tar.gz&quot;&gt;PyPI&lt;/a&gt;.
Yes, these are not exactly the same file.&lt;/p&gt;

&lt;p&gt;Install binaries for Python:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 install pocketsphinx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Read the API documentation &lt;a href=&quot;https://cmusphinx.github.io/doc/pocketsphinx/&quot;&gt;for C&lt;/a&gt;
and &lt;a href=&quot;https://pocketsphinx.readthedocs.io/en/latest/&quot;&gt;for Python3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2023/05/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2023/05/release/</guid>
      </item>
    
      <item>
        <title>Live audio examples for Windows</title>
        <description>&lt;p&gt;Well, it turns out that people &lt;em&gt;were&lt;/em&gt; using
&lt;a href=&quot;./2022-08-16-pocketsphinx-continuous.md&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pocketsphinx_continuous&lt;/code&gt;&lt;/a&gt;,
at least sort of.  As I expected, they weren’t really using the actual
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pocketsphinx_continuous&lt;/code&gt; binary for anything useful other than
recognizing from files.  But, well, the code &lt;em&gt;did&lt;/em&gt; claim to be example
code, and so obviously people were using it … as example code.&lt;/p&gt;

&lt;p&gt;…which is a perfectly sensible thing to do, and unfortunately in
removing the audio support from PocketSphinx, it became considerably
less useful as an example of how to do recognition from a microphone,
particularly if the solution of running
&lt;a href=&quot;https://sox.sourceforge.net/&quot;&gt;SoX&lt;/a&gt; in a subprocess isn’t an appealing
one (as on Windows, for instance).&lt;/p&gt;

&lt;p&gt;The sensible solution to this is to bring back something like
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pocketsphinx_continuous&lt;/code&gt; but explicitly in the form of example code.
Adding cross-platform audio support to the library is absolutely
something I will not do, but there are some other options,
&lt;a href=&quot;https://portaudio.com&quot;&gt;PortAudio&lt;/a&gt; foremost among them.  So, &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/blob/master/examples/live_portaudio.c&quot;&gt;here is
an example of using PortAudio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That said, wrangling external dependencies on Windows is very
annoying.  To use the above example may require a certain amount of
path and environment wrangling to get CMake/VSCode/Visual Studio to
find PortAudio.  For this reason &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/blob/master/examples/live_win32.c&quot;&gt;there is also now an example of
using the Win32 Waveform Audio API
directly&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that in both cases you may have quite bad results when running a
“Debug” build, because Windows is very slow, and Visual C++ outputs
extremely slow code when debugging is enabled.&lt;/p&gt;

&lt;p&gt;These examples are included in the upcoming 5.0.1 release in the
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;examples&lt;/code&gt; directory.&lt;/p&gt;
</description>
        <pubDate>Wed, 19 Oct 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/10/windows-live/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/10/windows-live/</guid>
      </item>
    
      <item>
        <title>SphinxTrain 5.0.0 is released!</title>
        <description>&lt;p&gt;There is also an updated release of SphinxTrain, and the &lt;a href=&quot;/wiki/tutorialam&quot;&gt;acoustic
modeling tutorial&lt;/a&gt; has been updated to reflect the
new and simplified usage.  Still working on the other tutorials, sorry.&lt;/p&gt;

&lt;p&gt;To quote the release notes, this release fixes a few long-standing
bugs in SphinxTrain and makes the package (hopefully) easier to use.
Among other things:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The dependency on SphinxBase is gone, because SphinxBase is gone&lt;/li&gt;
  &lt;li&gt;The dependency on Sphinx3 for VTLN and force-alignment is gone (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sphinx3_align&lt;/code&gt; is included)&lt;/li&gt;
  &lt;li&gt;Multi-CPU training actually works, tested on up to 64 CPUs with LibriSpeech, much easier than setting up PBS on the Clown&lt;/li&gt;
  &lt;li&gt;The dependency on Visual Studio for buliding on Windows is gone (but &lt;em&gt;please&lt;/em&gt; just use WSL, &lt;em&gt;please&lt;/em&gt;)&lt;/li&gt;
  &lt;li&gt;The dependency on Autotools is gone (CMake ain’t great but it’s much less bad)&lt;/li&gt;
  &lt;li&gt;There is a Dockerfile now&lt;/li&gt;
  &lt;li&gt;There is “continuous integration” now (sort of)&lt;/li&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-remove_silence&lt;/code&gt; option has been disabled by default (unlike in PocketSphinx you can still turn it on if you really want to, it might save you a bit of time in training)&lt;/li&gt;
  &lt;li&gt;It is not necessary to install SphinxTrain system-wide to run training&lt;/li&gt;
  &lt;li&gt;G2P support has been updated for the most commonly installed version of OpenFST (do not try to use any other version, because C++, that’s why)&lt;/li&gt;
  &lt;li&gt;Pick Decoding Model Based on Context Dependence by @Mazyod&lt;/li&gt;
  &lt;li&gt;Output an error message when we cannot execute a tool by @cshung&lt;/li&gt;
  &lt;li&gt;Make an option in config for not folding case in phonemes by @lenzo-ka&lt;/li&gt;
  &lt;li&gt;Use consistent shebang for python by @acgrobman&lt;/li&gt;
  &lt;li&gt;Add -sox flag to sphinx_fe to convert files with SoX by @dhdaines&lt;/li&gt;
  &lt;li&gt;Update and enable G2P code by @dhdaines&lt;/li&gt;
  &lt;li&gt;Librispeech training template by @dhdaines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can download it from &lt;a href=&quot;https://github.com/cmusphinx/sphinxtrain/releases/tag/v5.0.0&quot;&gt;the release page&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Or clone it (shallowly) with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git clone --depth 1 --branch v5.0.0 https://github.com/cmusphinx/sphinxtrain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/sphinxbase&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 13 Oct 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/10/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/10/release/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.0 is released!</title>
        <description>&lt;p&gt;It is finally here, &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.0&quot;&gt;PocketSphinx
5.0.0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Download source from
&lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.0.0.tar.gz&quot;&gt;GitHub&lt;/a&gt;
or
&lt;a href=&quot;https://files.pythonhosted.org/packages/96/b8/90c83b446e20b6d1449676a833c4b1be96a0839e25ee561417baaaa55755/pocketsphinx-5.0.0.tar.gz&quot;&gt;PyPI&lt;/a&gt;.
Yes, these are not exactly the same file.&lt;/p&gt;

&lt;p&gt;Install binaries for Python:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 install pocketsphinx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Read the API documentation &lt;a href=&quot;https://cmusphinx.github.io/doc/pocketsphinx/&quot;&gt;for C&lt;/a&gt;
and &lt;a href=&quot;https://pocketsphinx.readthedocs.io/en/latest/&quot;&gt;for Python3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 05 Oct 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/10/release/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/10/release/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.0 release candidate 5</title>
        <description>&lt;p&gt;&lt;strong&gt;Executive Summary: Please try this one, there won’t be another.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, it’s that time of week again, time for another &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.0rc5&quot;&gt;release
candidate&lt;/a&gt;
You can also download it &lt;a href=&quot;https://pypi.org/project/pocketsphinx/&quot;&gt;from
PyPI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are a lot of changes so I suggest you look at the release notes
at the link above.  Python code should continue to work as before,
though you may get some deprecated warnings when you try to use the
inappropriately named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;set_{fsg,lm,kws}&lt;/code&gt; methods.  Don’t use them,
they have the wrong names, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;add_*&lt;/code&gt; instead.  The names were
changed because &lt;strong&gt;they don’t set anything&lt;/strong&gt; and you have to actually
activate the search module afterwards.  Now you use
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ps_activate_search()&lt;/code&gt; to do that, and not &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ps_set_search()&lt;/code&gt;, because
this, too, is a much better name.&lt;/p&gt;

&lt;p&gt;That’s actually the least of it.  The big news is that force-alignment
and subword alignment are now quite doable, from the command-line,
from the C API, and from Python.  There are some tests and examples
for you to look at.&lt;/p&gt;

&lt;p&gt;The last known portability issue (which was actually, like, a bug) is
fixed and you won’t get unpredictable and bad results on MIPS systems.
There are surely others, though.  Ideally our CI testing would run
things on various emulators, but it’s slow and unwieldy to do that.&lt;/p&gt;

&lt;p&gt;The JSGF compiler is back to producing unreasonable numbers of epsilon
transitions (“null” transitions for the less FST-aware), but it
produces correct output now.&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 28 Sep 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/09/release-candidate-5/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/09/release-candidate-5/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.0 release candidate 4</title>
        <description>&lt;p&gt;&lt;strong&gt;Executive Summary: Alas, poor SphinxBase!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, it’s that time of week again, time for another &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.0rc4&quot;&gt;release
candidate&lt;/a&gt;.
You can also download it &lt;a href=&quot;https://pypi.org/project/pocketsphinx/&quot;&gt;from
PyPI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In the spirit of total elimination, the major change here is the
disappearance of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;sphinxbase/*.h&amp;gt;&lt;/code&gt; headers.  Some of them have
been relocated, so if you include &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;pocketsphinx.h&amp;gt;&lt;/code&gt; you can still do
useful things like load and save language models and parse JSGF.  Oh,
and also do speech recognition, maybe.&lt;/p&gt;

&lt;p&gt;There are a number of other things you can’t do, because the “utility”
headers were mostly unsuitable for public consumption.  Really they
were a bit embarrassing, at least in 2022.  A major rationale for
removing SphinxBase from circulation is that it just isn’t a good
foundation for you to build “applications” or anything else really.
Like, there are at least a dozen better implementations of pretty much
everything in there, and you should really use them.  Command-line
parsing, for instance, should &lt;em&gt;not&lt;/em&gt; be done with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;cmd_ln.h&amp;gt;&lt;/code&gt;, so it
has been hidden from you to discourage you from trying that.&lt;/p&gt;

&lt;p&gt;Which brings us to the other major breaking change here.
Configuration is not done by parsing (possibly imaginary) command
lines anymore.  You can simply create a configuration and set values
in it, e.g.:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ps_config_t *config = ps_config_init(NULL);
ps_config_set_str(config, &quot;hmm&quot;, &quot;/path/to/model&quot;);
ps_config_set_int(config, &quot;samprate&quot;, 11025);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You can also parse JSON, or even a sort of degenerate “JSON”:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ps_config_t *config = ps_config_parse_json(
    NULL, &quot;{\&quot;hmm\&quot;: \&quot;/path/to/model\&quot;}&quot;);
ps_config_t *config = ps_config_parse_json(
    NULL, &quot;hmm: /path/to/model, samprate: 11025&quot;);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The configuration can be serialized to (actual) JSON as well:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;const char *jconf = ps_config_serialize_json(config);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Creating a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ps_config_t&lt;/code&gt; sets all of the default values, but does not
set the default model, so you still need to use
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ps_default_search_args()&lt;/code&gt; for that.  Also note that
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ps_expand_model_config()&lt;/code&gt; no longer creates magical underscore
versions of the config parameters (e.g. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;_hmm&quot;&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;_dict&quot;&lt;/code&gt;, etc) but
simply overwrites the existing values.&lt;/p&gt;

&lt;p&gt;Python code is entirely unaffected by these changes (though it has
also acquired the JSON functions mentioned above), so you should maybe
use Python instead of hurting yourself with the C API.&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/09/release-candidate-4/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/09/release-candidate-4/</guid>
      </item>
    
      <item>
        <title>PocketSphinx 5.0.0 release candidate 3</title>
        <description>&lt;p&gt;&lt;strong&gt;Executive Summary: Try the new Python module (please).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hot on the heels of the last one, there is another &lt;a href=&quot;https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.0rc3&quot;&gt;release
candidate&lt;/a&gt;.
You can also download it &lt;a href=&quot;https://pypi.org/project/pocketsphinx/&quot;&gt;from
PyPI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There isn’t much to announce except that the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pocketsphinx5&lt;/code&gt; Python
package doesn’t exist anymore.  That’s right, the Python interface is
now called just plain &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pocketsphinx&lt;/code&gt;.  It should install properly on
Windows and Mac OS X now, as well.&lt;/p&gt;

&lt;p&gt;Pull requests and bug reports and such are welcome via
&lt;a href=&quot;GitHub&quot;&gt;https://github.com/cmusphinx/pocketsphinx&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 07 Sep 2022 00:00:00 +0000</pubDate>
        <link>http://cmusphinx.github.io/2022/09/release-candidate-3/</link>
        <guid isPermaLink="true">http://cmusphinx.github.io/2022/09/release-candidate-3/</guid>
      </item>
    
  </channel>
</rss>
