|
pulsatrix 1.1.0
|
Puts a string in front of non-empty text (Hugging Face's Prepend normalizer). More...
#include <sentencepiece_bpe.hpp>


Public Member Functions | |
| PrependNormalizer (std::string prepend) | |
| void | normalize (NormalizedString &text) const override |
Public Member Functions inherited from pulsatrix::Normalizer | |
| virtual | ~Normalizer ()=default |
Puts a string in front of non-empty text (Hugging Face's Prepend normalizer).
|
explicit |
|
overridevirtual |
Implements pulsatrix::Normalizer.