Add init functions to transliterators

This commit is contained in:
2021-10-06 09:41:33 -07:00
parent 01bf493c77
commit df743cca96
5 changed files with 14 additions and 6 deletions

View File

@@ -12,6 +12,8 @@ import (
// conversion library.
type ChineseTranslit struct{}
func (ChineseTranslit) Init() {}
func (ct *ChineseTranslit) Transliterate(s string) string {
// Create buffer for final output
outBuf := &bytes.Buffer{}