Expand description
The core of the engine, where all the transformation algorithms lives.
The idea is both the telex & vni modules will use the transformation algorithms from this module to perform text transformation according to their method rules.
Enums
- A modification to be apply to a letter
- Vietnamese’s tone mark
- A resulted transformation
Functions
- Add tone mark to input. Return AddToneResult
- Add tone mark to input character. Return a new char with the tone mark.
- change a letter to vietnamese modified letter. Return if the letter has been modified or not and what’s the output.
- Remove the tone for the letter
- Re-position existing letter modification to a valid position
- Re-position existing tone mark to a valid position