The word "舰长" is formed by combining the character "舰", which means warship or naval vessel, with the character "长", which in this context means chief or head, resulting in a compound term that directly refers to the captain or commanding officer of a ship.