Use `WholeTextInputFormat`'s doc as a reference and update the doc here.