return matched keywords in map