It shall be unlawful for any person knowingly to keep or harbor any dog which barks, howls or yelps, or any cat which cries or howls to the great discomfort of the peace and quiet of the neighborhood or in such manner as to materially disturb or annoy persons in the neighborhood who are of ordinary sensibilities. Such dogs and cats are hereby declared to be a public nuisance.