Parts of Speech for Compact
com·pact
C c Gramatical Hierarchy
Grammatically "Compact" is a adjective, to be more precise even a transitive verb. But also it is used as a noun, specifically a transitive verb. Part of speech depends on meaning of this word.
All about compact Download all about compact in pdf