pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::SequenceNormalizer Class Reference

Runs normalizers in order. More...

#include <byte_level_bpe.hpp>

Inheritance diagram for pulsatrix::SequenceNormalizer:
Collaboration diagram for pulsatrix::SequenceNormalizer:

Public Member Functions

 SequenceNormalizer (std::vector< std::shared_ptr< const Normalizer > > normalizers)
 
void normalize (NormalizedString &text) const override
 
- Public Member Functions inherited from pulsatrix::Normalizer
virtual ~Normalizer ()=default
 

Detailed Description

Runs normalizers in order.

Constructor & Destructor Documentation

◆ SequenceNormalizer()

pulsatrix::SequenceNormalizer::SequenceNormalizer ( std::vector< std::shared_ptr< const Normalizer > >  normalizers)
explicit

Member Function Documentation

◆ normalize()

void pulsatrix::SequenceNormalizer::normalize ( NormalizedString &  text) const
overridevirtual

Implements pulsatrix::Normalizer.


The documentation for this class was generated from the following file: