Does the swordsmen bonus against spear units apply to units that are not "proper" swordsmen, but fight with swords? So for example, do handgunners or archers who are engaged in melee with a spear unit get the same +1 bonus as feudal men at arms?

Thanks in advance.