If a weapon counts as another weapon for feat purposes, it will be specified in the weapon description what weapon that is.
If you want to know what category of what weapon it is, that depends on what the feat or ability uses as categories. That is, there aren't hard and fast rules on what the game calls a "sword."