Skip to content

Version 7 changes

TrulyNatural version 7 introduced support for STT and is fully backwards compatible with version 6 models and code.

This library uses semantic versioning.

7.6.1 (2025-11-25)

7.6.0 (2025-09-15)

7.5.0 (2025-06-12)

7.4.1 (2025-03-13)

  • Fixed
    • stt Using custom-vocab to map multi-word sequences could result in missed NLU entities.

7.4.0 (2025-01-22)

7.3.0 (2024-07-29)

  • Added
    • New FAQ section: How do I take action on an NLU result?
    • Support for adding this SDK to projects that use CMake. See C examples.
    • Real-time clock implementation for Windows, enables profile:real-time.
    • Support for multi-phrase spotter models with lower false accept rates.
    • arm-none-eabi library with NEON built with gcc 13.3.1.
    • tnl VAD template models with settings backoff and max-recording optimized for STT. The defaults are now 300 ms for audio backoff, and 60 seconds for the maximum recording duration.
      • tpl-opt-spot-vad-lvcsr-1.12.0.snsr
      • tpl-spot-vad-lvcsr-3.11.0.snsr
      • tpl-vad-lvcsr-3.10.0.snsr
    • stt Improved STT recognition speed and accuracy, and reduced ^result and ^nlu-intent latency when used with a VAD.
    • stt STT support for arm-linux-gnueabihf, aarch64-linux-gnu, and x86_64-windows-msvc.
    • stt stt-enUS-automotive-small_medium-2.2.13-BBB-ff.snsr
      • 100 MiB total size compared to 299 MiB in previous version.
      • Improved NLU inference speed.
      • Improved accuracy.
  • Changed
    • arm-linux-gnueabihf and aarch64-linux-gnu libraries built with gcc 10.3.1.
    • tnl Optimized machine-learned NLU models. On average these now run about ten times faster.
  • Removed
    • Windows ports: x86-windows-2008, x86-windows-2015, x86_64-windows-2008, x86_64-windows-2015, x86_64-windows-mingw.
    • arm-buildroot-linux-uclibcgnueabihf library.
    • arm-ca7-linux-gnueabihf library.
    • tnl VAD template models:
      • tpl-opt-spot-vad-lvcsr-1.11.0.snsr
      • tpl-spot-vad-lvcsr-3.10.0.snsr
      • tpl-vad-lvcsr-3.9.0.snsr
    • stt stt-enUS-automotive-small_medium-2.0.8-BBB-ff.snsr
  • Fixed
    • Certain low false-accept spotter models reported an internal validation error when used with tpl-spot-sequential-1.4.0.snsr
    • spot-convert -c produced incorrect code output for recent low false-accept models.
    • The iOS sample app mistakenly embedded snsr.xcframework, leading to TestFlight rejection due to asset validation errors.
    • The TrulyNatural SDK linked against -landroid, making it incompatible with the Vendor Native Development Kit.
    • stt Duplicate entities and typographic errors in the documentation for stt-enUS-automotive-small_medium-2.2.13-BBB-ff.snsr
  • Security
    • stt NLU models could cause out-of-bounds memory access on very long (hundreds of words) recognition results.

7.2.0 (2024-04-11)

7.1.1 (2024-02-13)

  • Fixed
    • Linking against the Android static libraries could suppress the output of calls to __android_log_print(), __android_log_vprint(), and __android_log_write() in the entire application.
    • The AAR file for Android once again links against -llog.
    • tnl tpl-spot-vad-lvcsr-3.8.0.snsr would keep listening for LVCSR audio if enough silence after the wake word lead to ^silence.
      • This happened only for LVCSR recognizers (including those made with VoiceHub) and did not affect STT ones.
      • Regression from 7.0.0.

7.1.0 (2024-01-11)

  • Added
    • tnl Simplified NLU API
    • tnl Models updated to support simplified NLU API:
      • lvcsr-background-enUS-1.2.1.snsr
      • lvcsr-build-enUS-2.7.0.snsr
      • tpl-opt-spot-vad-lvcsr-1.9.0.snsr
      • tpl-spot-lvcsr-1.5.0.snsr
      • tpl-spot-vad-lvcsr-3.8.0.snsr
    • stt Support for machine-learned NLU intent and entity classifiers.
    • stt custom-vocab
    • stt stt-v2-enUS-automotive-0.2.11-BT-400ms.snsr
  • Changed
    • AAR file for Android is no longer linked against -landroid and -llog. This allows it to be used in an AOSP system image.
  • Removed
    • Energy-only VAD models superseded by machine-learned versions:
      • tpl-spot-vad-2.4.0.snsr
      • tpl-spot-vad-2.0.1.snsr
      • tnl tpl-spot-vad-lvcsr-2.4.0.snsr
      • tnl tpl-vad-lvcsr-2.5.0.snsr
    • tnl Models updated to support simplified NLU API:
      • lvcsr-background-enUS-1.1.0.snsr
      • lvcsr-build-enUS-2.6.0.snsr
      • tpl-opt-spot-vad-lvcsr-1.8.0.snsr
      • tpl-spot-lvcsr-1.4.0.snsr
      • tpl-spot-vad-lvcsr-3.7.0.snsr
      • tpl-vad-lvcsr-3.7.0.snsr
    • stt stt-v1-en-1.0.1-400ms.snsr
  • Fixed

7.0.0 (2023-11-20)

  • Added
    • CONFIG_PRUNED and SOURCE_PRUNED reduce the size of serialized models by removing configuration options such as unused operating-point values.
    • snsr-edit -p option reduces phrasespot model sizes by removing operating points other than the currently selected operating-point.
    • stt STT support with improved accuracy suitable for command-and-control and dictation tasks.
      • This initial release includes STT support on Android, macOS, and x86_64-linux only.
      • Includes Open Source modules, see open source licenses.
      • Requires linking against a C++ runtime, see Integrate with your build.
      • Using STT models do not require any API changes. These are drop-in replacements for older LVCSR models on supported platforms.
      • STT recognition models
        • stt-v1-en-1.0.1-400ms.snsr
        • Contact your Sensory Sales representative for additional languages.
      • New settings: oss-components, STT_SUPPORT.
  • Changed
    • The deprecated delay setting is read-only.
    • DSP library (for creating embedded spotter models) version 7.4.0.
    • tnl The effects of : terminal rewrites @b are now visible in ^result text values.
    • tnl The lightweight NLU processor scoring algorithm no longer considers :inserted and removed: words when ranking result parses. This potentially changes the primary NLU result, or the order in which NLU results are presented when nlu-match-max > 1, for grammars that use the : rewrite feature to better match expectations.
    • tnl If the time required to compute a partial LVCSR result exceeds the push-duration-limit, the ^result-partial callback does not happen.
    • tnl The grammar-based recognition grammars support the literal use of special tokens by escaping them with a backslash.
  • Deprecated
  • Removed
    • tnl References to the <- slot assignment operator in grammar-based recognition. This had been a symbol reserved for internal use only.
    • tnl lvcsr-broad-enUS-3.1.0-t5.snsr
  • Fixed
  • Security
    • This sequence of operations could lead to getString returning an unterminated string:
      • Use setStream to set a configuration value to a sequence of bytes that does not include \0.
      • Save the model to persistent storage.
      • Load the modified model from persistent storage.
      • Access the configuration value with getString.
    • In the Java language binding fromMemory and fromString could potentially access the underlying byte[] memory after it was garbage-collected.