Neko and inu served the a feudal lord in wano. They learned how to be samurai. Even Kin and the others were regular thugs before they joined Oden. Plus Neko was seen training as a swordsman too so no reason to think he's any different from the rest of the retainers.