first cut at text preprocessing