Parsing inflected forms may not always work as expected. If the following does not give the correct word, try Latin Words or Perseus.
ternārĭus, a, um, adj. [terni], containing or consisting of three, ternary.