Essays on Applications of Textual Analysis in Macro Finance