extract text from pdf
then remove unnecessary characters
change '\n' into '||'
change \f' into ' '