Text Data Mining: Theory and Methods