package main
import "fmt"
import "github.com/varnamproject/libvarnam-golang"
func main() {
varnam, err := libvarnam.Init("hi")
if err != nil {
fmt.Errorf("Failed to initialize varnam. %s", err.Error())
}
words, err := varnam.Transliterate("bharat")
if err != nil {
fmt.Errorf("Failed to transliterate. %s", err.Error())
}
for _, word := range words {
fmt.Printf("%s\n", word)
}
}
-
Notifications
You must be signed in to change notification settings - Fork 3
varnamproject/libvarnam-golang
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Golang bindings for libvarnam
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published