Text this: A Parameterized Method for Air-Quality Diagnosis and Its Applications