Text this: A text classification model for dynamic fusion of global and local features