elm.utilities.parse.replace_common_pdf_conversion_chars

replace_common_pdf_conversion_chars(text)[source]

Re-format text to remove common pdf-converter chars.

Chars affected include \r\n, \r and \x0c.

Parameters:

text (str) – Input text (presumably from pdf parser).

Returns:

str – Cleaned text.