Parsing inflected forms may not always work as expected. If the following does not give the correct word, try Latin Words or Perseus.
ter-gĕnus, adv., of a threefold kind, threefold (late Lat.): bumana efficiunt habitacula tergenus artes. Aus. Idyll. 11, 43; 11, 49.