Text this: Deep Learning for Automatic Recognition of Magnetic Type in Sunspot Groups