So, I stumbled upon this thing called “tanukana” the other day, and I was like, “What the heck is that?” Turns out, it’s a neat little tool for converting Japanese text. I’m always messing around with Japanese stuff, so I figured I’d give it a shot. Here’s how it went down.
Figuring it Out
First, I needed to get my hands on it. I’m on Linux, so I went the way of go get install */Kamva/tanukana
I tested it out, and I found it useful.
Putting It to the Test
I used a few strings to test the functions provided:
ToHiragana:
package main
import (
"fmt"
"*/Kamva/tanukana"
func main() {
*(*("コンニチハ, セカイ!"))
ToKatakana:
package main
import (
"fmt"
"*/Kamva/tanukana"
func main() {
*(*("こんにちは、世界!"))
ToRomaji:
package main
import (
"fmt"
"*/Kamva/tanukana"
func main() {
*(*("コンニチハ, セカイ!"))
The Verdict
All in all, tanukana seems pretty handy. It’s straightforward to install, and it does exactly what it says on the tin. If you’re ever in a situation where you need to quickly switch between hiragana, katakana, or romaji, this could be a real time-saver. I’m definitely keeping this one in my toolbox!