PnG_GrammarCompilationCacheSize

This parameter requires VoiceCatalyst 4.3.1 or later.

Description

Update the PnG_GrammarCompilationCacheSize parameter to alter the cache size as needed. The size of the cache results in a trade off: setting this parameter to a larger number reduces the minimum recognition latency, but increases the size of dynamic memory.

This parameter value impacts delays in both template training, and day-to-day use of PnG English. However, the first time a user is template training, the user always noticse a delay (an increased minimum latency) at each point (node) where the Voice Catalyst app pauses to accept voice input. Once the grammar is compiled and cached, this delay is reduced or eliminated during subsequent training.

Review these log messages to monitor the PnG grammar compilation cache size, or to determine the best setting for the PnG_GrammarCompilationCacheSize parameter:

  • The compiled grammar memory:
    Bsx1DecoderModule: Memory allocated for decoder grammar/graph : XXX kbytes
  • The time required to create the grammar:
    Bsx1DecoderModule: Grammar compilation time: xxx ms

Valid Values

  • 0 to 100

The upper limit of the valid value range may be subject to available heap memory.

Default

  • 20

Works on Devices

  • A700x

Task Type

  • TaskBuilder
  • VoiceArtisan