Memoize calls to `inflect`