add variables to limit the maximum number of characters that can be synthesized in English and Japanese.