Text this: Data-driven methods for the extraction, grouping and application of terroir units