This subject comes along pretty much weekly, the answer is; an air pistol is something thats designed to be shot as a pistol, and air rifle is designed to be shot as a rifle.
Size and weight are immaterial, I know a bloke who can hold an HW80 in one hand and fire it like a pistol, but it wasn't
designed to be used like that.