Skip to main content
Updated in 4.58 Cognigy.AI helps you clean up user input (text or voice) with built-in functions. For example, if a user says alpha tango hotel double seven three nine minus L for London and C for Canada, it can automatically be converted to ath 7739 - lc. These Text Cleaner functions support the English (en) and German (de) locales and are available in: To learn more about the benefits of using Text Cleaner functions and how they work, watch this video:

Functions

Rules for resolvePhoneticCounters

This function is designed to convert phrases like “3 times 2” into their numeric representation, such as “3 times 2” to “222” or “double 4” to “44.” The function handles sentences that include both a multiplier (for example, “3 times” or “double”) and a multiplicand (for example, “2” or “4”). The multiplicand can be either a number or a character. Some examples can be ambiguous. For instance, consider the phrase “double ap 3 4”, which could be interpreted as either “aap34” or “apap34.” To avoid this ambiguity, Cognigy defined the following rules for multiplicand types:
Last modified on April 21, 2026