The pedant couldn't resist correcting the professor's lecture.
その学者ぶる人は教授の講義を訂正せずにはいられなかった。
The pedant insisted on following the rules to the letter.
その杓子定規な人は規則を厳密に守ることを主張した。
掲載内容にお気づきの点があれば下記からお知らせください