generate ogham-style encoding