Actually, what you describe is a barrow, often shortened to "bar."
A shoat is a young weaned hog of either sex, up to maybe 50-75 pounds.
A gilt is a female hog that hasn't yet had a litter.
A sow is a female that has had a litter(s)
A boar, of course, is an intact mature male.
I am with the group that says it depends on what they have been eating. In South Georgia, feral hogs often feed largely on agricultural fields and products, particularly peanuts and corn. Those taste pretty good, even the intact males if you get them at 100 pounds or less. Some of the deep swamp hogs are so full of parasites that I just wouldn't eat them without catching, penning, worming, and feeding on corn for a month. I don't care what you say about proper care and preparation of the meat, a 300 pound sow, raised in a 105 degree summer in a deep swamp in South Georgia is practically inedible. Probably dangerous to eat without some serious heat for a long time. I had a student who helped her parents in a deer/hog processing facility. She and her uncle both got a serious infection from cleaning one of those old rank swamp hogs. Had to stay in the hospital for a week or so.