Extract words from txt or pdf, so I can tag the unknown words to make word string