If you meant to type "ternary" and not "thernary", here's a possible correction. Ternary refers to something that is composed of or involves three parts or options. It has its roots in the Latin word "ternarius", meaning "by threes". Therefore, "ternary" would be an appropriate word to use instead of "thernary".