Parts of Speech for Perhaps
per·haps
P p Gramatical Hierarchy
Grammatically "Perhaps" is a adverb, to be more precise even a substitute. But also it is used as a abbreviation, specifically a substitute. Part of speech depends on meaning of this word.
All about perhaps Download all about perhaps in pdf