refactoring from getCorrelations to getKeywords