From H5782 a city (a place guarded by waking or a watch) in the widest sense (even of a mere encampment or post): - Ai [from margin], city, court [from margin], town.
H5892 does not occur in the Hebrew Old Testament.
Part of speech from Brown-Driver-Briggs (Open Scriptures Hebrew Lexicon, CC BY 4.0) and STEPBible.org.