Soundswallower

Latest version: v0.6.5

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.1.5

This release mainly adds a lot of documentation, which you can see at https://soundswallower.readthedocs.io/en/latest/

Also, some convenient APIs have been added to get configuration parameter descriptions, and to decode an entire file in one shot.

The next release will be 0.2, which will introduce a new JavaScript API, and probably continue to remove unused code on the C side.

0.1.4

Actually, just one embarrassing problem - the byte-swapping code was totally confused and only worked by pure luck. And actually it didn't work in JavaScript, which is how I found the problem. Which brings me to the main purpose of this release: JavaScript!

Yes, compiling to JavaScript and running on both Node.js and "the browser" (or at least a few of them) is now totally functional. The API is very much subject to change, because I didn't write it and I don't really like it. Nonetheless, I am eternally grateful to the author of PocketSphinx.JS who came up with the idea of doing this in the first place, and who wrote the current demo. A future release, maybe the next one, will have a rewritten and "modernized" API and hopefully a more interesting demo as well.

On the Python side, the command-line interface has all its functionality complete. The major improvement under the hood is the ability to iterate over `Config` objects, which also allows us to write the configuration to a JSON file. This is also an API which I don't like, and unfortunately, I *did* write this one. It is now less annoying than it used to be, though. I suggest no longer prefixing `Config` options with dashes, and if possible just passing options to the `Decoder` constructor.

A few other minor bugs were also fixed.

0.1.3

This release switches the Python API to use Cython instead of SWIG, making the code somewhat more readable (but not actually smaller). In addition, the Config class has been improved in various ways, to allow a more Pythonic interface. There is some magic involved. It will likely change again in the future to remove this magic at the C level.

JavaScript builds compile but have not been tested, this will be the next release, probably.

0.1.1

The Python module build now works properly from both source and binary, and this is tested with the force alignment test in ReadAlong-Studio.

0.1

Very preliminary release of SoundSwallower, which may or may not work! The API is subject to change but is basically the same as PocketSphinx/SphinxBase just in the 'soundswallower' namespace (for both C header files and Python modules).

The Windows wheel was built with Visual Studio 2017 and should work with Python 3.7 there... the Linux wheel is built on Ubuntu 19.10, so I am unsure if it will work for, well, anybody. Yay, Linux.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.