An Introduction to Text Processing