Text this: Central Extensions of Nilpotent Lie and Leibniz Algebras