Which words in these sentences are used as puns?

1) [an english teacher] [is like a judge] [in that] [she hands out] [long] [sentences]

2) [a man's home] [is his] [castle],[in a] [manor] [of] [speaking]