A frigate is a warship . The term has been used for warships of many sizes and roles for a few centuries . A frigate is any of several types of warship , the term having been used for ships of various sizes and roles over the last few centuries .