The generated parser function takes two parameters, first the string to be
parsed, and a second optional parameter options, an object with the following
possible keys:
cardinal and ordinal – Arrays of valid plural categories for the current
locale, used to validate plural and selectordinal keys. If these are missing
or set to false, the full set of valid Unicode CLDR keys is used: 'zero', 'one', 'two', 'few', 'many', 'other'. To disable this check, pass in an empty
array.
strictFunctionParams – By default, function parameters are split on commas
and trimmed, so the parameters in {x,fn, a, b } are parsed as
['a','b']. Setting strictFunctionParams to true will make the parser
follow the ICU MessageFormat spec more closely, and result in a params array
with a single element: [' a, b '].