A building dedicated to the lodging or feeding or both of nontransient persons or separate families as defined herein for compensation.