I think what we have here is typical burlesque of the period, parodying the older folk song. I can't really see a nautical flavour, more emigration. The sheet music title is 'My Mary Ann, The Yankee Girl's Song', which is a little odd as it's obviously narrated by the girl's departing lover.