Text this: Using machine learning to study the population life quality: methodological aspects