Are they maybe hounds? I know of outfitters that use hounds to tree big cats in trees out West. We use to have hog dogs when we had pigs on the farm. They were herding dogs that would help round up the hogs if they got out into the fields or helped us load the butcher hogs. The barking & herding them into the trailer was a must. Boar pigs have terrible husks & can slice you open in no time. We had a boar pig that would come after us he was real territorial with his ladies & we ended up selling him. I hope the dog will be all right & doesn't get infection. Hopefully you neighbor took him to the veterinary.