Major update to text processing examples (to be easier to understand), added introductory scripts