Gomyo refers to five academic fields - Shomyo (phonology and grammar), Kugyomyo (technics and technology), Ihomyo (medical science), Inmyo (ethics) and Naimyo (study of a scholar's religion, as in Buddhism for a Buddhist).
五明とは、声明（音韻学・文法学）・工巧明（工芸・技術論）・医方明（医学）・因明（倫理学）・内明（自己の宗旨の学問、仏教者の場合は仏教学）の5種類の学問分野を指す。