Sentence:  "Has the miller a strong high dam to his pond, and a good stout <WSD>sluice-gate</WSD> at the end?" 
Meaning of the word marked with <WSD> tags:  A portal which may be opened or closed to allow or prevent the passage of water through a man-made channel.