Skip to main content

Interface: CharacterSetCosts

Defined in: DictionaryInformation.ts:211

Properties

characters

characters: string

Defined in: DictionaryInformation.ts:218

This is a set of characters that can include - or |

  • - - indicates a range of characters: a-c => abc
  • | - is a group separator, indicating that the characters on either side are not related.

cost

cost: number

Defined in: DictionaryInformation.ts:221

the cost to insert / delete / replace / swap the characters in a group


penalty?

optional penalty: number

Defined in: DictionaryInformation.ts:227

The penalty cost to apply if the accent is used. This is used to discourage