plexus.processors.ExpandContractionsProcessor module
- class plexus.processors.ExpandContractionsProcessor.ExpandContractionsProcessor(**parameters)
Bases:
ProcessorProcessor that expands contractions in text (e.g., “don’t” -> “do not”).
Initialize the processor with configuration parameters.
- Args:
**parameters: Processor-specific configuration parameters
- process(score_input: Score.Input) Score.Input
Process the Score.Input by expanding contractions.
- Args:
score_input: Score.Input with text
- Returns:
Score.Input with contractions expanded