Text this: Computing the Hilbert transform and its inverse