Class ContractionRule

java.lang.Object
ca.phon.ipadictionary.ContractionRule
All Implemented Interfaces:
Serializable

public final class ContractionRule extends Object implements Serializable
Rule for handling contractions. Rules are in format A -> B Where A is a set of conditions for matching this rule and B is a list of instructions for building the transcription. A conditions can be matched for the left-hand contraction, transcript of left-hand contraction and same on right side. Conditions can be specified as plain text, regular expressions or phonex expressions. B instructions an include any of the input values or literal values.
See Also: