Easily type Indic languages on computer and mobile. GoVarnam is a cross-platform transliteration library. Manglish -> Malayalam, Thanglish -> Tamil, Hinglish -> Hindi plus another 10 languages. GoVarnam is a near-Go port of libvarnam
var searchCriteria Symbol
searchCriteria.Pattern = "a"
searchCriteria.AcceptCondition = 0
Varnam omitted a search criteria by seeing if the value is a default struct value of Go. Go's default struct value is 0 which means one can't apply a search criteria of value 0. The solution applied in this PR to this is to set default value -1 by calling func NewSymbol(): Symbol. So now:
searchCriteria := NewSymbol()
searchCriteria.Pattern = "a"
searchCriteria.AcceptCondition = 0
Added all varnam configuration vars to varnam_config(). Previously used functions like varnam_set_dictionary_suggestions_limit has been DEPRECATED.
varnam_new_search_symbol
:Symbol table search had a fatal flaw :
Varnam omitted a search criteria by seeing if the value is a default struct value of Go. Go's default struct value is 0 which means one can't apply a search criteria of value 0. The solution applied in this PR to this is to set default value -1 by calling
func NewSymbol(): Symbol
. So now:varnam_config()
. Previously used functions likevarnam_set_dictionary_suggestions_limit
has been DEPRECATED.